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"}) [: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 8.0.0/package.mo): time 2.325/2.325, allocations: 284.8 MB / 292.1 MB, free: 10.94 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.001674/0.001674, allocations: 183.5 kB / 360.3 MB, free: 7.738 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.81/1.81, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001305/0.001304, allocations: 90.02 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2852/0.2865, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.9747, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.886/5.861, allocations: 2.073 GB / 3.035 GB, free: 48.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003523/5.861, allocations: 88.69 kB / 3.035 GB, free: 48.07 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.7216/6.583, allocations: 66.15 MB / 3.1 GB, free: 312.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/6.583, allocations: 9.438 kB / 3.1 GB, free: 312.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/6.585, allocations: 208.7 kB / 3.1 GB, free: 312.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/6.586, allocations: 0.6299 MB / 3.101 GB, free: 312 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/6.586, allocations: 29.11 kB / 3.101 GB, free: 312 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/6.587, allocations: 45.41 kB / 3.101 GB, free: 312 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002314/6.589, allocations: 0.9812 MB / 3.102 GB, free: 312 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/6.591, allocations: 0.7202 MB / 3.103 GB, free: 311.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/6.591, allocations: 3.875 kB / 3.103 GB, free: 311.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/6.591, allocations: 7.562 kB / 3.103 GB, free: 311.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/6.591, allocations: 19.12 kB / 3.103 GB, free: 311.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006252/6.597, allocations: 2.338 MB / 3.105 GB, free: 311.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/6.599, allocations: 0.6585 MB / 3.105 GB, free: 311.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006504/6.6, allocations: 246.6 kB / 3.106 GB, free: 311.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/6.6, allocations: 115.3 kB / 3.106 GB, free: 311 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000855/6.601, allocations: 381.4 kB / 3.106 GB, free: 311 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.367e-06/6.601, allocations: 0 / 3.106 GB, free: 311 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002843/6.604, allocations: 0.6743 MB / 3.107 GB, free: 310.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.89e-05/6.604, allocations: 243.6 kB / 3.107 GB, free: 310.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/6.605, allocations: 0.5418 MB / 3.108 GB, free: 310.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001546/6.605, allocations: 29.52 kB / 3.108 GB, free: 310.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/6.605, allocations: 301.4 kB / 3.108 GB, free: 310.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000228/6.606, allocations: 230 kB / 3.108 GB, free: 310.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/6.606, allocations: 0 / 3.108 GB, free: 310.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/6.606, allocations: 385.1 kB / 3.109 GB, free: 309.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/6.606, allocations: 195.8 kB / 3.109 GB, free: 309.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/6.607, allocations: 296.2 kB / 3.109 GB, free: 309.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008417/6.608, allocations: 260.9 kB / 3.109 GB, free: 309.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/6.608, allocations: 0 / 3.109 GB, free: 309.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00298/6.611, allocations: 0.6761 MB / 3.11 GB, free: 309.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/6.611, allocations: 3.469 kB / 3.11 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/6.611, allocations: 3.938 kB / 3.11 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001121/6.612, allocations: 90.06 kB / 3.11 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/6.614, allocations: 136.4 kB / 3.11 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/6.617, allocations: 1.47 MB / 3.112 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/6.618, allocations: 64.78 kB / 3.112 GB, free: 308.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/6.618, allocations: 31.64 kB / 3.112 GB, free: 308.3 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.0002567/6.618, allocations: 126.5 kB / 3.112 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/6.619, allocations: 78 kB / 3.112 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004876/6.624, allocations: 0.9373 MB / 3.113 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/6.624, allocations: 9.906 kB / 3.113 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/6.624, allocations: 2.375 kB / 3.113 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/6.624, allocations: 7.734 kB / 3.113 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/6.626, allocations: 0.7784 MB / 3.114 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/6.626, allocations: 0 / 3.114 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002154/6.629, allocations: 156.7 kB / 3.114 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/6.63, allocations: 80.7 kB / 3.114 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002581/6.631, allocations: 18.02 kB / 3.114 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/6.635, allocations: 1.492 MB / 3.115 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/6.635, allocations: 0 / 3.115 GB, free: 306.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0044/6.639, allocations: 0.7735 MB / 3.116 GB, free: 306.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005001/6.644, allocations: 1.195 MB / 3.117 GB, free: 306 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/6.646, allocations: 283.6 kB / 3.117 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/6.646, allocations: 3.906 kB / 3.117 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/6.648, allocations: 61.31 kB / 3.117 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/6.648, allocations: 55.34 kB / 3.118 GB, free: 305.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001674/6.648, allocations: 27.83 kB / 3.118 GB, free: 305.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001392/6.65, allocations: 450.2 kB / 3.118 GB, free: 305.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004161/6.654, allocations: 380.7 kB / 3.118 GB, free: 305.7 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.003713/6.658, allocations: 1.054 MB / 3.119 GB, free: 305.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003069/6.661, allocations: 0.6618 MB / 3.12 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/6.661, allocations: 2.625 kB / 3.12 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/6.663, allocations: 451.8 kB / 3.12 GB, free: 305.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003144/6.666, allocations: 228.8 kB / 3.121 GB, free: 305.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009288/6.675, allocations: 1.379 MB / 3.122 GB, free: 305 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00156/6.677, allocations: 1.14 MB / 3.123 GB, free: 304.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.874e-06/6.677, allocations: 0 / 3.123 GB, free: 304.3 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)