Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.057/2.057, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001202/0.001203, allocations: 189 kB / 377.1 MB, free: 1.516 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.845/1.845, allocations: 205.4 MB / 0.6366 GB, free: 8.602 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 89.73 kB / 0.7509 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004258, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3232, allocations: 116.3 MB / 0.9884 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.516/6.839, allocations: 2.074 GB / 3.063 GB, free: 144.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/6.84, allocations: 100.6 kB / 3.063 GB, free: 144.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1348/6.975, allocations: 64.62 MB / 3.126 GB, free: 79.69 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.106e-06/6.975, allocations: 0 / 3.126 GB, free: 79.69 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001005/6.975, allocations: 24 kB / 3.126 GB, free: 79.66 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.002154/6.977, allocations: 1.218 MB / 3.127 GB, free: 78.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/6.977, allocations: 12.02 kB / 3.127 GB, free: 78.38 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/6.977, allocations: 130.9 kB / 3.127 GB, free: 78.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008118/6.978, allocations: 194.5 kB / 3.128 GB, free: 78.05 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009472/6.979, allocations: 0.6394 MB / 3.128 GB, free: 77.37 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.458e-05/6.979, allocations: 58 kB / 3.128 GB, free: 77.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/6.979, allocations: 72 kB / 3.128 GB, free: 77.24 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/6.98, allocations: 0.8637 MB / 3.129 GB, free: 76.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/6.98, allocations: 0 / 3.129 GB, free: 76.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.43e-05/6.98, allocations: 36 kB / 3.129 GB, free: 76.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/6.98, allocations: 24 kB / 3.129 GB, free: 76.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/6.982, allocations: 1.096 MB / 3.13 GB, free: 75.18 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/6.985, allocations: 2.461 MB / 3.133 GB, free: 72.65 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/6.986, allocations: 0.7533 MB / 3.133 GB, free: 71.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/6.986, allocations: 113.8 kB / 3.134 GB, free: 71.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006977/6.987, allocations: 451.1 kB / 3.134 GB, free: 71.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/6.987, allocations: 0 / 3.134 GB, free: 71.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002763/6.99, allocations: 1.153 MB / 3.135 GB, free: 70.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/6.99, allocations: 243.9 kB / 3.135 GB, free: 69.83 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006613/6.991, allocations: 0.6207 MB / 3.136 GB, free: 69.21 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.654e-05/6.991, allocations: 37.7 kB / 3.136 GB, free: 69.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/6.991, allocations: 396.3 kB / 3.136 GB, free: 68.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/6.991, allocations: 240.5 kB / 3.137 GB, free: 68.53 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/6.991, allocations: 12 kB / 3.137 GB, free: 68.52 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000119/6.991, allocations: 386.8 kB / 3.137 GB, free: 68.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/6.992, allocations: 237.2 kB / 3.137 GB, free: 67.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004539/6.992, allocations: 343.6 kB / 3.137 GB, free: 67.54 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/6.993, allocations: 279.1 kB / 3.138 GB, free: 67.26 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/6.993, allocations: 0 / 3.138 GB, free: 67.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001532/6.994, allocations: 0.7587 MB / 3.138 GB, free: 66.49 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/6.994, allocations: 10.19 kB / 3.138 GB, free: 66.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/6.994, allocations: 0 / 3.138 GB, free: 66.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006537/6.995, allocations: 80.83 kB / 3.139 GB, free: 66.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/6.995, allocations: 139.8 kB / 3.139 GB, free: 66.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/6.997, allocations: 1.547 MB / 3.14 GB, free: 64.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/6.998, allocations: 79.56 kB / 3.14 GB, free: 64.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/6.998, allocations: 23.98 kB / 3.14 GB, free: 64.47 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.0004339/6.998, allocations: 254.7 kB / 3.141 GB, free: 64.21 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/6.998, allocations: 90.86 kB / 3.141 GB, free: 64.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/7.001, allocations: 1.034 MB / 3.142 GB, free: 63.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/7.001, allocations: 8 kB / 3.142 GB, free: 63.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/7.001, allocations: 0 / 3.142 GB, free: 63.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/7.001, allocations: 7.984 kB / 3.142 GB, free: 63.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008965/7.001, allocations: 0.8995 MB / 3.143 GB, free: 62.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/7.001, allocations: 7.922 kB / 3.143 GB, free: 62.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/7.002, allocations: 147.9 kB / 3.143 GB, free: 61.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004862/7.003, allocations: 88.66 kB / 3.143 GB, free: 61.86 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/7.003, allocations: 27.92 kB / 3.143 GB, free: 61.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/7.004, allocations: 1.563 MB / 3.144 GB, free: 60.14 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/7.004, allocations: 0 / 3.144 GB, free: 60.14 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/7.006, allocations: 0.8889 MB / 3.145 GB, free: 59.22 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/7.006, allocations: 287.7 kB / 3.145 GB, free: 58.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-05/7.006, allocations: 12.28 kB / 3.145 GB, free: 58.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/7.007, allocations: 71.94 kB / 3.146 GB, free: 58.84 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/7.007, allocations: 64.88 kB / 3.146 GB, free: 58.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/7.007, allocations: 31.97 kB / 3.146 GB, free: 58.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005694/7.008, allocations: 0.4951 MB / 3.146 GB, free: 58.26 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/7.008, allocations: 0 / 3.146 GB, free: 58.26 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001072/7.009, allocations: 343.1 kB / 3.146 GB, free: 57.92 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.003622/7.012, allocations: 2.389 MB / 3.149 GB, free: 55.63 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001403/7.014, allocations: 0.7555 MB / 3.15 GB, free: 54.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/7.014, allocations: 0 / 3.15 GB, free: 54.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000734/7.014, allocations: 0.5003 MB / 3.15 GB, free: 54.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/7.016, allocations: 247 kB / 3.15 GB, free: 54.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00826/7.024, allocations: 5.323 MB / 3.155 GB, free: 48.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/7.024, allocations: 1.035 MB / 3.156 GB, free: 47.65 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008719/7.025, allocations: 261.9 kB / 3.157 GB, free: 47.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004529/7.026, allocations: 375.3 kB / 3.157 GB, free: 47.02 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/7.026, allocations: 0 / 3.157 GB, free: 47.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07115/7.097, allocations: 30.23 MB / 3.187 GB, free: 17.03 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003256/7.097, allocations: 287.1 kB / 3.187 GB, free: 16.66 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.o Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.c:7: In file included from ./Buildings_8_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 -falign-functions -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.1.4-maint.8.1.x/Resources/C-Sources" -c -o Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.o Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c In file included from Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c:2: In file included from ./Buildings_8_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_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.c:7: In file included from ./Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Resources/C-Sources/getTimeSpan.c:9:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. make: *** [: Buildings_8_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_functions.o] Error 1