Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.225/1.225, allocations: 249.4 MB / 256.7 MB, free: 7.055 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.001005/0.001005, allocations: 184.5 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.2 MB / 0.5667 GB, free: 15.61 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.0008808/0.0008808, allocations: 82.94 kB / 0.671 GB, free: 4.734 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3525/0.3534, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.5199, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.589/4.109, allocations: 2.192 GB / 3.076 GB, free: 211.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/4.109, allocations: 93.52 kB / 3.077 GB, free: 211.6 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.1303/4.24, allocations: 65.77 MB / 3.141 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/4.24, allocations: 8 kB / 3.141 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008086/4.24, allocations: 202.5 kB / 3.141 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/4.241, allocations: 0.6394 MB / 3.142 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/4.241, allocations: 35.91 kB / 3.142 GB, free: 144.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/4.241, allocations: 44 kB / 3.142 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/4.243, allocations: 0.9836 MB / 3.143 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009206/4.243, allocations: 0.7194 MB / 3.143 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/4.244, allocations: 7.938 kB / 3.143 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.892e-05/4.244, allocations: 3.938 kB / 3.143 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/4.244, allocations: 20 kB / 3.143 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/4.247, allocations: 2.326 MB / 3.146 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007805/4.247, allocations: 0.657 MB / 3.146 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/4.248, allocations: 250.8 kB / 3.146 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/4.248, allocations: 117.7 kB / 3.147 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004276/4.248, allocations: 390.1 kB / 3.147 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 2.975e-06/4.248, allocations: 0 / 3.147 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73): time 0.001435/4.25, allocations: 0.6716 MB / 3.148 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/4.25, allocations: 244 kB / 3.148 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/4.25, allocations: 0.5463 MB / 3.148 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/4.25, allocations: 29.7 kB / 3.148 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/4.25, allocations: 296.2 kB / 3.149 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/4.251, allocations: 232.5 kB / 3.149 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/4.251, allocations: 0 / 3.149 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.602e-05/4.251, allocations: 386.8 kB / 3.149 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/4.251, allocations: 197.3 kB / 3.149 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/4.251, allocations: 294.4 kB / 3.15 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003986/4.252, allocations: 263 kB / 3.15 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/4.252, allocations: 0 / 3.15 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001331/4.253, allocations: 0.6794 MB / 3.151 GB, free: 135 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/4.253, allocations: 4 kB / 3.151 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/4.253, allocations: 0 / 3.151 GB, free: 135 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006/4.254, allocations: 84.84 kB / 3.151 GB, free: 134.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/4.254, allocations: 139.8 kB / 3.151 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/4.256, allocations: 1.464 MB / 3.152 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005442/4.256, allocations: 67.59 kB / 3.152 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/4.257, allocations: 27.98 kB / 3.152 GB, free: 133.1 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 (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.0001505/4.257, allocations: 116.9 kB / 3.153 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/4.257, allocations: 79.25 kB / 3.153 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/4.259, allocations: 0.9331 MB / 3.154 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/4.259, allocations: 12 kB / 3.154 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/4.259, allocations: 0 / 3.154 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/4.259, allocations: 19.88 kB / 3.154 GB, free: 131.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/4.259, allocations: 0.7746 MB / 3.154 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/4.259, allocations: 0 / 3.154 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/4.26, allocations: 155.8 kB / 3.154 GB, free: 130.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/4.261, allocations: 92.56 kB / 3.155 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/4.261, allocations: 15.98 kB / 3.155 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/4.262, allocations: 1.488 MB / 3.156 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/4.262, allocations: 0 / 3.156 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001317/4.263, allocations: 0.7839 MB / 3.157 GB, free: 128.4 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001462/4.265, allocations: 1.187 MB / 3.158 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/4.265, allocations: 283.8 kB / 3.158 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/4.265, allocations: 0 / 3.158 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/4.266, allocations: 63.94 kB / 3.158 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.72e-05/4.266, allocations: 56.69 kB / 3.158 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/4.266, allocations: 27.98 kB / 3.158 GB, free: 126.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004085/4.266, allocations: 443 kB / 3.159 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001508/4.268, allocations: 395 kB / 3.159 GB, free: 125.9 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.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.001227/4.269, allocations: 1.039 MB / 3.16 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009909/4.27, allocations: 0.6547 MB / 3.161 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/4.27, allocations: 8.125 kB / 3.161 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005583/4.271, allocations: 448.5 kB / 3.161 GB, free: 123.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009012/4.272, allocations: 220.3 kB / 3.161 GB, free: 123.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/4.275, allocations: 1.393 MB / 3.163 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/4.275, allocations: 1.135 MB / 3.164 GB, free: 121 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/4.275, allocations: 0 / 3.164 GB, free: 121 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)