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 2.958/2.958, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001707/0.001707, allocations: 175.2 kB / 370.8 MB, free: 10.86 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.283/2.283, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001217/0.001216, allocations: 98.08 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006908/0.000691, allocations: 12.03 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2342, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006059/0.2403, allocations: 3.745 MB / 0.982 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9259/1.166, allocations: 127.5 MB / 1.107 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/1.167, allocations: 13.94 kB / 1.107 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007841/1.168, allocations: 109.5 kB / 1.107 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00288/1.171, allocations: 487 kB / 1.107 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/1.174, allocations: 0.6013 MB / 1.108 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002534/1.177, allocations: 0.7687 MB / 1.108 GB, free: 1.492 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/1.178, allocations: 479.5 kB / 1.109 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/1.179, allocations: 308.3 kB / 1.109 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009515/1.18, allocations: 303.2 kB / 1.109 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002475/1.181, allocations: 24.53 kB / 1.109 GB, free: 1.238 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/1.182, allocations: 265 kB / 1.11 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003535/1.182, allocations: 168.8 kB / 1.11 GB, free: 1.195 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004587/1.183, allocations: 188.2 kB / 1.11 GB, free: 17.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003052/1.186, allocations: 1.084 MB / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.186, allocations: 0 / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.928e-06/1.186, allocations: 0 / 1.111 GB, free: 17.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.522e-05/1.186, allocations: 0 / 1.111 GB, free: 17.04 MB / 0.698 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.004471/1.191, allocations: 1.171 MB / 1.112 GB, free: 16.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/1.191, allocations: 12.38 kB / 1.112 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006018/1.191, allocations: 135.8 kB / 1.112 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/1.193, allocations: 195.7 kB / 1.113 GB, free: 16.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002435/1.196, allocations: 0.7034 MB / 1.113 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.196, allocations: 61.72 kB / 1.113 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003293/1.196, allocations: 77.03 kB / 1.113 GB, free: 15.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/1.2, allocations: 0.858 MB / 1.114 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.237e-05/1.2, allocations: 0 / 1.114 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/1.2, allocations: 34.05 kB / 1.114 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-05/1.2, allocations: 23.33 kB / 1.114 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003984/1.204, allocations: 1.082 MB / 1.115 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007984/1.212, allocations: 2.448 MB / 1.118 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/1.214, allocations: 0.7532 MB / 1.119 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003205/1.215, allocations: 114.7 kB / 1.119 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/1.216, allocations: 442.4 kB / 1.119 GB, free: 14.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.439e-06/1.216, allocations: 0 / 1.119 GB, free: 14.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.005558/1.222, allocations: 1.138 MB / 1.12 GB, free: 14.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/1.222, allocations: 197.5 kB / 1.12 GB, free: 14.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.223, allocations: 0.6129 MB / 1.121 GB, free: 14.13 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/1.224, allocations: 39.73 kB / 1.121 GB, free: 14.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004821/1.224, allocations: 398.5 kB / 1.121 GB, free: 13.92 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004508/1.225, allocations: 234.3 kB / 1.122 GB, free: 13.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/1.225, allocations: 14.84 kB / 1.122 GB, free: 13.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002577/1.225, allocations: 385.2 kB / 1.122 GB, free: 13.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009352/1.226, allocations: 236.6 kB / 1.122 GB, free: 13.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/1.227, allocations: 332.7 kB / 1.123 GB, free: 13.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009651/1.228, allocations: 276.1 kB / 1.123 GB, free: 13.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.228, allocations: 0 / 1.123 GB, free: 13.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003365/1.231, allocations: 0.7607 MB / 1.124 GB, free: 13.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/1.232, allocations: 8.938 kB / 1.124 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.232, allocations: 1.859 kB / 1.124 GB, free: 13.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009815/1.233, allocations: 84.81 kB / 1.124 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/1.234, allocations: 143.2 kB / 1.124 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/1.237, allocations: 1.543 MB / 1.125 GB, free: 11.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.239, allocations: 84.52 kB / 1.125 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/1.239, allocations: 27.31 kB / 1.125 GB, free: 11.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (76): * Single equations (assignments): 75 * 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.0008951/1.24, allocations: 261.5 kB / 1.126 GB, free: 11.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/1.24, allocations: 83.39 kB / 1.126 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/1.244, allocations: 1.024 MB / 1.127 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/1.244, allocations: 10.09 kB / 1.127 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.244, allocations: 0 / 1.127 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/1.244, allocations: 4.312 kB / 1.127 GB, free: 11.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/1.247, allocations: 0.8804 MB / 1.128 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/1.247, allocations: 2.906 kB / 1.128 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/1.248, allocations: 146 kB / 1.128 GB, free: 11.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009399/1.249, allocations: 85.67 kB / 1.128 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/1.249, allocations: 21.5 kB / 1.128 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/1.252, allocations: 1.573 MB / 1.129 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.252, allocations: 1.312 kB / 1.129 GB, free: 10.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003691/1.256, allocations: 0.8759 MB / 1.13 GB, free: 9.859 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000958/1.257, allocations: 274.6 kB / 1.13 GB, free: 9.711 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/1.257, allocations: 20.02 kB / 1.13 GB, free: 9.707 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.259, allocations: 74.61 kB / 1.131 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/1.259, allocations: 63.47 kB / 1.131 GB, free: 9.699 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.259, allocations: 29.44 kB / 1.131 GB, free: 9.699 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001081/1.26, allocations: 450.8 kB / 1.131 GB, free: 9.609 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.11e-07/1.26, allocations: 0 / 1.131 GB, free: 9.609 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001636/1.262, allocations: 268.8 kB / 1.131 GB, free: 9.562 MB / 0.698 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.005908/1.268, allocations: 1.887 MB / 1.133 GB, free: 8.691 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003098/1.271, allocations: 0.7547 MB / 1.134 GB, free: 8.461 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/1.271, allocations: 1 kB / 1.134 GB, free: 8.461 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001818/1.273, allocations: 0.491 MB / 1.134 GB, free: 8.277 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/1.275, allocations: 259.2 kB / 1.135 GB, free: 8.191 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.295, allocations: 5.374 MB / 1.14 GB, free: 5.574 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.296, allocations: 1.04 MB / 1.141 GB, free: 4.723 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001808/1.298, allocations: 252.6 kB / 1.141 GB, free: 4.602 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/1.299, allocations: 366.8 kB / 1.141 GB, free: 4.555 MB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/1.299, allocations: 0 / 1.141 GB, free: 4.555 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08435/1.384, allocations: 20.36 MB / 1.161 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004429/1.384, allocations: 269.1 kB / 1.162 GB, free: 10.48 MB / 0.7136 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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