Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.176/2.176, allocations: 248.5 MB / 261 MB, free: 5.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002246/0.002245, allocations: 182.6 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.2 MB / 0.571 GB, free: 11.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 86.48 kB / 0.6754 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.113e-05/4.133e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2122, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.301/7.514, allocations: 2.196 GB / 3.087 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/7.514, allocations: 92.06 kB / 3.087 GB, free: 137.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3164/7.83, allocations: 83.15 MB / 3.168 GB, free: 58.99 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.076e-06/7.831, allocations: 0 / 3.168 GB, free: 58.99 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001171/7.831, allocations: 31.94 kB / 3.168 GB, free: 58.96 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.004291/7.835, allocations: 1.332 MB / 3.169 GB, free: 57.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.05e-05/7.835, allocations: 16.02 kB / 3.169 GB, free: 57.56 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005211/7.836, allocations: 173.2 kB / 3.169 GB, free: 57.38 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1484/7.984, allocations: 14.25 MB / 3.183 GB, free: 43.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005287/7.989, allocations: 1.035 MB / 3.184 GB, free: 42.03 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009209/7.99, allocations: 179.4 kB / 3.185 GB, free: 41.83 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00143/7.992, allocations: 116 kB / 3.185 GB, free: 41.72 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/8.008, allocations: 2.827 MB / 3.187 GB, free: 38.82 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-05/8.008, allocations: 15.89 kB / 3.187 GB, free: 38.81 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009891/8.009, allocations: 44 kB / 3.187 GB, free: 38.77 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/8.009, allocations: 28 kB / 3.187 GB, free: 38.74 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/8.032, allocations: 4.115 MB / 3.192 GB, free: 34.61 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08881/8.121, allocations: 10.1 MB / 3.201 GB, free: 24.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/8.131, allocations: 2.39 MB / 3.204 GB, free: 22.03 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00456/8.136, allocations: 1.511 MB / 3.205 GB, free: 20.51 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006395/8.137, allocations: 0.5944 MB / 3.206 GB, free: 19.79 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005508/8.142, allocations: 1.983 MB / 3.208 GB, free: 17.79 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=101): time 5.12e-06/8.142, allocations: 0 / 3.208 GB, free: 17.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101): time 0.01039/8.153, allocations: 2.789 MB / 3.21 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.719e-05/8.153, allocations: 244.3 kB / 3.211 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/8.154, allocations: 0.6718 MB / 3.211 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007037/8.155, allocations: 45.7 kB / 3.211 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/8.155, allocations: 464.4 kB / 3.212 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000642/8.156, allocations: 347 kB / 3.212 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004633/8.157, allocations: 16 kB / 3.212 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001578/8.157, allocations: 398.7 kB / 3.213 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004452/8.161, allocations: 1.58 MB / 3.214 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/8.166, allocations: 1.719 MB / 3.216 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/8.17, allocations: 1.059 MB / 3.217 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/8.17, allocations: 0 / 3.217 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.01076/8.18, allocations: 3.058 MB / 3.22 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/8.18, allocations: 4 kB / 3.22 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/8.18, allocations: 0 / 3.22 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009837/8.181, allocations: 88.83 kB / 3.22 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0346/8.216, allocations: 3.324 MB / 3.223 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002621/8.219, allocations: 1.529 MB / 3.225 GB, free: 188 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.6682/8.887, allocations: 3.114 MB / 3.228 GB, free: 269.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008958/8.888, allocations: 95.28 kB / 3.228 GB, free: 269.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009135/8.889, allocations: 156.2 kB / 3.228 GB, free: 269.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006952/8.89, allocations: 95.06 kB / 3.228 GB, free: 269.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/8.905, allocations: 3.561 MB / 3.231 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/8.906, allocations: 12.25 kB / 3.231 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/8.906, allocations: 4.5 kB / 3.231 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-05/8.906, allocations: 6.375 kB / 3.231 GB, free: 269.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0202/8.926, allocations: 5.491 MB / 3.237 GB, free: 269.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/8.926, allocations: 3.625 kB / 3.237 GB, free: 269.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03618/8.962, allocations: 3.329 MB / 3.24 GB, free: 269.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009198/8.963, allocations: 83.12 kB / 3.24 GB, free: 269.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000825/8.964, allocations: 83.88 kB / 3.24 GB, free: 269.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002567/8.966, allocations: 1.553 MB / 3.242 GB, free: 267.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/8.967, allocations: 0 / 3.242 GB, free: 267.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/8.979, allocations: 3.006 MB / 3.245 GB, free: 267.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002753/8.982, allocations: 0.6402 MB / 3.245 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/8.983, allocations: 24.31 kB / 3.245 GB, free: 267.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03444/9.017, allocations: 3.095 MB / 3.248 GB, free: 267.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004516/9.018, allocations: 80.27 kB / 3.248 GB, free: 267.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007524/9.018, allocations: 97.25 kB / 3.249 GB, free: 267.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001313/9.02, allocations: 0.5388 MB / 3.249 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.783e-06/9.02, allocations: 1.422 kB / 3.249 GB, free: 267.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004222/9.024, allocations: 0.6836 MB / 3.25 GB, free: 267.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01495/9.039, allocations: 4.488 MB / 3.254 GB, free: 266.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0116/9.051, allocations: 3.425 MB / 3.257 GB, free: 266.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/9.051, allocations: 1.031 kB / 3.257 GB, free: 266.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006419/9.057, allocations: 1.799 MB / 3.259 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/9.06, allocations: 249.3 kB / 3.259 GB, free: 266.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02091/9.081, allocations: 3.127 MB / 3.262 GB, free: 265.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007739/9.082, allocations: 1.14 MB / 3.264 GB, free: 264.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006533/9.088, allocations: 0.6822 MB / 3.264 GB, free: 264.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003416/9.092, allocations: 0.5763 MB / 3.265 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.412e-06/9.092, allocations: 0 / 3.265 GB, free: 264.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/9.221, allocations: 51.82 MB / 3.315 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000247/9.221, allocations: 238.7 kB / 3.316 GB, free: 249 MB / 0.8698 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources" -c -o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:2: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.c:7: In file included from ./Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Resources/C-Sources/getTimeSpan.c:6:10: fatal error: 'ModelicaUtilities.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o' failed make: *** [Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang_functions.o] Error 1