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 1.831/1.831, allocations: 289.7 MB / 302.3 MB, free: 2.184 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.001316/0.001316, allocations: 177.8 kB / 371.6 MB, free: 3.352 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.917/1.917, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.001006/0.001006, allocations: 90.84 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.479e-05/4.482e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3173, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.308/6.625, allocations: 2.074 GB / 3.054 GB, free: 167.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/6.626, allocations: 88.61 kB / 3.054 GB, free: 167.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1378/6.764, allocations: 64.31 MB / 3.117 GB, free: 102.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.963e-06/6.764, allocations: 0 / 3.117 GB, free: 102.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001175/6.764, allocations: 27.94 kB / 3.117 GB, free: 102.6 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.002097/6.766, allocations: 1.077 MB / 3.118 GB, free: 101.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/6.766, allocations: 12.03 kB / 3.118 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/6.766, allocations: 122.9 kB / 3.118 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/6.767, allocations: 202.4 kB / 3.118 GB, free: 101.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/6.768, allocations: 0.6315 MB / 3.119 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.823e-05/6.768, allocations: 58 kB / 3.119 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.545e-05/6.768, allocations: 83.98 kB / 3.119 GB, free: 100.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/6.769, allocations: 0.8249 MB / 3.12 GB, free: 99.48 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/6.769, allocations: 0 / 3.12 GB, free: 99.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-05/6.769, allocations: 36 kB / 3.12 GB, free: 99.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/6.769, allocations: 20 kB / 3.12 GB, free: 99.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/6.771, allocations: 1.03 MB / 3.121 GB, free: 98.39 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/6.774, allocations: 2.462 MB / 3.124 GB, free: 95.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000923/6.775, allocations: 0.7115 MB / 3.124 GB, free: 95.14 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/6.775, allocations: 268.2 kB / 3.124 GB, free: 94.88 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/6.775, allocations: 113.9 kB / 3.125 GB, free: 94.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005508/6.776, allocations: 415.7 kB / 3.125 GB, free: 94.33 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 2.254e-06/6.776, allocations: 3.938 kB / 3.125 GB, free: 94.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.001447/6.777, allocations: 0.7148 MB / 3.126 GB, free: 93.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/6.777, allocations: 240.1 kB / 3.126 GB, free: 93.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006461/6.778, allocations: 0.6092 MB / 3.126 GB, free: 92.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.898e-05/6.778, allocations: 41.64 kB / 3.127 GB, free: 92.65 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/6.778, allocations: 400.3 kB / 3.127 GB, free: 92.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/6.778, allocations: 240.5 kB / 3.127 GB, free: 92.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/6.778, allocations: 15.94 kB / 3.127 GB, free: 92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/6.779, allocations: 386.8 kB / 3.128 GB, free: 91.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002937/6.779, allocations: 209.5 kB / 3.128 GB, free: 91.41 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/6.779, allocations: 317.1 kB / 3.128 GB, free: 91.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/6.78, allocations: 254 kB / 3.128 GB, free: 90.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/6.78, allocations: 0 / 3.128 GB, free: 90.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001301/6.781, allocations: 0.707 MB / 3.129 GB, free: 90.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/6.781, allocations: 8 kB / 3.129 GB, free: 90.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/6.781, allocations: 0 / 3.129 GB, free: 90.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/6.782, allocations: 84.83 kB / 3.129 GB, free: 90.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/6.782, allocations: 139.8 kB / 3.129 GB, free: 89.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/6.784, allocations: 1.529 MB / 3.131 GB, free: 88.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/6.784, allocations: 91.42 kB / 3.131 GB, free: 88.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/6.784, allocations: 27.98 kB / 3.131 GB, free: 88.08 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 () * 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.000151/6.785, allocations: 142.5 kB / 3.131 GB, free: 87.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/6.785, allocations: 79.02 kB / 3.131 GB, free: 87.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/6.786, allocations: 0.9815 MB / 3.132 GB, free: 86.86 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/6.787, allocations: 8 kB / 3.132 GB, free: 86.86 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/6.787, allocations: 0 / 3.132 GB, free: 86.86 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/6.787, allocations: 3.984 kB / 3.132 GB, free: 86.85 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/6.788, allocations: 0.9029 MB / 3.133 GB, free: 85.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/6.788, allocations: 0 / 3.133 GB, free: 85.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005443/6.788, allocations: 143.8 kB / 3.133 GB, free: 85.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/6.789, allocations: 84.77 kB / 3.133 GB, free: 85.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/6.789, allocations: 23.98 kB / 3.133 GB, free: 85.65 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/6.79, allocations: 1.567 MB / 3.135 GB, free: 83.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/6.79, allocations: 0 / 3.135 GB, free: 83.94 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/6.791, allocations: 0.8129 MB / 3.135 GB, free: 83.11 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/6.792, allocations: 291.7 kB / 3.136 GB, free: 82.81 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.712e-05/6.792, allocations: 19.94 kB / 3.136 GB, free: 82.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/6.792, allocations: 79.83 kB / 3.136 GB, free: 82.71 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/6.793, allocations: 52.7 kB / 3.136 GB, free: 82.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/6.793, allocations: 35.97 kB / 3.136 GB, free: 82.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005237/6.793, allocations: 0.4913 MB / 3.136 GB, free: 82.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/6.793, allocations: 4 kB / 3.136 GB, free: 82.13 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009622/6.794, allocations: 343.2 kB / 3.137 GB, free: 81.8 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) * 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.003255/6.797, allocations: 2.28 MB / 3.139 GB, free: 79.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001156/6.799, allocations: 0.714 MB / 3.14 GB, free: 78.86 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/6.799, allocations: 0 / 3.14 GB, free: 78.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006479/6.799, allocations: 474.9 kB / 3.14 GB, free: 78.39 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/6.8, allocations: 252.8 kB / 3.14 GB, free: 78.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/6.804, allocations: 1.583 MB / 3.142 GB, free: 76.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/6.804, allocations: 1.035 MB / 3.143 GB, free: 75.45 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007848/6.805, allocations: 254 kB / 3.143 GB, free: 75.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004473/6.806, allocations: 383.2 kB / 3.143 GB, free: 74.83 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/6.806, allocations: 0 / 3.143 GB, free: 74.83 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05089/6.857, allocations: 32.08 MB / 3.175 GB, free: 42.96 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/6.857, allocations: 256.2 kB / 3.175 GB, free: 42.63 MB / 0.948 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -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 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: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 -falign-functions -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 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: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_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