Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.484/3.484, allocations: 287.3 MB / 302.3 MB, free: 8.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002107/0.002106, allocations: 186.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.241/2.241, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 94.84 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.00049, allocations: 13.19 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2368, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.175/7.412, allocations: 2.073 GB / 3.052 GB, free: 211.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/7.413, allocations: 102.9 kB / 3.052 GB, free: 211.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2447/7.657, allocations: 64.61 MB / 3.115 GB, free: 156.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.386e-06/7.657, allocations: 0 / 3.115 GB, free: 156.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.773e-05/7.658, allocations: 23.98 kB / 3.115 GB, free: 156.3 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.003302/7.661, allocations: 1.222 MB / 3.116 GB, free: 155 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/7.661, allocations: 8.031 kB / 3.116 GB, free: 155 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004309/7.661, allocations: 130.9 kB / 3.116 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001536/7.663, allocations: 198.4 kB / 3.116 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/7.665, allocations: 0.6277 MB / 3.117 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/7.665, allocations: 58 kB / 3.117 GB, free: 153.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/7.665, allocations: 80 kB / 3.117 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/7.667, allocations: 0.8598 MB / 3.118 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/7.667, allocations: 3.938 kB / 3.118 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/7.668, allocations: 43.94 kB / 3.118 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/7.668, allocations: 20 kB / 3.118 GB, free: 152.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/7.67, allocations: 1.085 MB / 3.119 GB, free: 151.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006028/7.676, allocations: 2.461 MB / 3.121 GB, free: 149.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/7.679, allocations: 0.7533 MB / 3.122 GB, free: 148.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002573/7.679, allocations: 113.8 kB / 3.122 GB, free: 148.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/7.68, allocations: 452.4 kB / 3.123 GB, free: 147.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 1.899e-05/7.68, allocations: 0 / 3.123 GB, free: 147.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.00491/7.685, allocations: 1.151 MB / 3.124 GB, free: 146.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/7.685, allocations: 240 kB / 3.124 GB, free: 146.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/7.686, allocations: 0.6207 MB / 3.125 GB, free: 145.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001981/7.687, allocations: 41.7 kB / 3.125 GB, free: 145.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/7.687, allocations: 396.3 kB / 3.125 GB, free: 145.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002504/7.687, allocations: 244.5 kB / 3.125 GB, free: 145.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.017e-05/7.687, allocations: 12 kB / 3.125 GB, free: 145.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001342/7.687, allocations: 390.8 kB / 3.126 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008154/7.688, allocations: 229.2 kB / 3.126 GB, free: 144.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008671/7.689, allocations: 339.6 kB / 3.126 GB, free: 144.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008543/7.69, allocations: 287 kB / 3.127 GB, free: 143.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/7.69, allocations: 0 / 3.127 GB, free: 143.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002902/7.693, allocations: 0.7548 MB / 3.127 GB, free: 143.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/7.693, allocations: 9.875 kB / 3.127 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/7.693, allocations: 0 / 3.127 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/7.694, allocations: 84.83 kB / 3.127 GB, free: 143 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/7.695, allocations: 143.8 kB / 3.127 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002961/7.698, allocations: 1.547 MB / 3.129 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/7.699, allocations: 79.58 kB / 3.129 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/7.7, allocations: 27.98 kB / 3.129 GB, free: 141.1 MB / 0.948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0007218/7.7, allocations: 257.6 kB / 3.129 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002748/7.701, allocations: 82.97 kB / 3.129 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/7.704, allocations: 1.034 MB / 3.13 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/7.704, allocations: 8 kB / 3.13 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/7.705, allocations: 7.938 kB / 3.13 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/7.705, allocations: 3.984 kB / 3.13 GB, free: 139.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/7.706, allocations: 0.8995 MB / 3.131 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/7.706, allocations: 0 / 3.131 GB, free: 138.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/7.707, allocations: 147.8 kB / 3.131 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009181/7.708, allocations: 84.77 kB / 3.132 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/7.709, allocations: 23.98 kB / 3.132 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/7.711, allocations: 1.567 MB / 3.133 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/7.711, allocations: 0 / 3.133 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003142/7.714, allocations: 0.8849 MB / 3.134 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006217/7.715, allocations: 291.7 kB / 3.134 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/7.715, allocations: 19.95 kB / 3.134 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/7.716, allocations: 71.94 kB / 3.134 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/7.716, allocations: 64.91 kB / 3.134 GB, free: 135.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.904e-05/7.716, allocations: 32.05 kB / 3.134 GB, free: 135.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000925/7.717, allocations: 0.4912 MB / 3.135 GB, free: 134.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/7.717, allocations: 0 / 3.135 GB, free: 134.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001424/7.719, allocations: 347.2 kB / 3.135 GB, free: 134.5 MB / 0.948 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.005671/7.724, allocations: 2.384 MB / 3.138 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002588/7.727, allocations: 0.7633 MB / 3.138 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/7.727, allocations: 8.109 kB / 3.138 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/7.729, allocations: 0.4963 MB / 3.139 GB, free: 131 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/7.731, allocations: 242.6 kB / 3.139 GB, free: 130.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/7.746, allocations: 5.308 MB / 3.144 GB, free: 125.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/7.747, allocations: 1.039 MB / 3.145 GB, free: 124.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001527/7.748, allocations: 254 kB / 3.145 GB, free: 124.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009017/7.749, allocations: 379.3 kB / 3.146 GB, free: 123.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.81e-07/7.749, allocations: 0 / 3.146 GB, free: 123.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08711/7.836, allocations: 30.25 MB / 3.175 GB, free: 93.79 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/7.837, allocations: 278.5 kB / 3.176 GB, free: 93.42 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.c In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Resources/C-Sources" -c -o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.o Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c:2: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c:7: In file included from ./Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.o' failed make: *** [Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.o] Error 1