Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.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.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve",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.58/2.58, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001668/0.001668, allocations: 189.2 kB / 360.3 MB, free: 7.555 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.245/2.245, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.001283/0.001282, allocations: 95.69 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3282/0.3295, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.9929, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2836/1.276, allocations: 150.8 MB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.277, allocations: 80.89 kB / 1.11 GB, free: 5.977 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.1736/1.45, allocations: 35.66 MB / 1.145 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.451, allocations: 8 kB / 1.145 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006523/1.451, allocations: 146.3 kB / 1.145 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003619/1.455, allocations: 0.8718 MB / 1.146 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/1.455, allocations: 24 kB / 1.146 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/1.455, allocations: 59.98 kB / 1.146 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002629/1.458, allocations: 431.9 kB / 1.146 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003171/1.461, allocations: 0.642 MB / 1.147 GB, free: 200 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/1.461, allocations: 5.766 kB / 1.147 GB, free: 196 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/1.462, allocations: 7.984 kB / 1.147 GB, free: 188 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/1.462, allocations: 16 kB / 1.147 GB, free: 172 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009289/1.471, allocations: 2.108 MB / 1.149 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/1.473, allocations: 0.6474 MB / 1.15 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007298/1.474, allocations: 257.8 kB / 1.15 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-05/1.474, allocations: 12.64 kB / 1.15 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/1.475, allocations: 402 kB / 1.15 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=83): time 3.466e-06/1.475, allocations: 0 / 1.15 GB, free: 12.66 MB / 0.7605 GB Notification: Performance of matching and sorting (n=83): time 0.00214/1.477, allocations: 0.6218 MB / 1.151 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000201/1.477, allocations: 307.5 kB / 1.151 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/1.479, allocations: 0.7455 MB / 1.152 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002855/1.479, allocations: 41.69 kB / 1.152 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/1.48, allocations: 304.7 kB / 1.152 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003579/1.48, allocations: 221 kB / 1.153 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/1.48, allocations: 4 kB / 1.153 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.48, allocations: 338 kB / 1.153 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007995/1.481, allocations: 237.9 kB / 1.153 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/1.482, allocations: 0.5049 MB / 1.154 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/1.483, allocations: 284.1 kB / 1.154 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.483, allocations: 0 / 1.154 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002605/1.486, allocations: 0.7997 MB / 1.155 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009448/1.487, allocations: 2.099 MB / 1.157 GB, free: 5.797 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/1.487, allocations: 4 kB / 1.157 GB, free: 5.793 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.833e-05/1.487, allocations: 12 kB / 1.157 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/1.488, allocations: 161.2 kB / 1.157 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/1.488, allocations: 15.92 kB / 1.157 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/1.49, allocations: 103.2 kB / 1.157 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.49, allocations: 43.98 kB / 1.157 GB, free: 5.465 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/1.49, allocations: 4 kB / 1.157 GB, free: 5.461 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002189/1.492, allocations: 0.6456 MB / 1.158 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/1.492, allocations: 9.969 kB / 1.158 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/1.492, allocations: 8.656 kB / 1.158 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.493, allocations: 147.7 kB / 1.158 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.118e-05/1.494, allocations: 16.81 kB / 1.158 GB, free: 4.645 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/1.495, allocations: 95.33 kB / 1.158 GB, free: 4.551 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/1.495, allocations: 43.98 kB / 1.158 GB, free: 4.508 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 67 ($PRE.timSerRes.timeConverted,timSerRes.timeConverted,$PRE.timSerInp.timeConverted,timSerInp.timeConverted,$PRE.csvWriter.str,csvWriter.str,$whenCondition10,$PRE.TOut_F.nextTimeEvent,$whenCondition9,$PRE.TSupSetpoint_F.nextTimeEvent,$whenCondition8,$PRE.coolingValveSignal.nextTimeEvent,$whenCondition7,$PRE.fanFeedback.nextTimeEvent,$whenCondition6,$PRE.fanStatus.nextTimeEvent,$whenCondition5,$PRE.TSupply_F.nextTimeEvent,$whenCondition12,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,correlation.active,$PRE.correlation.tActivateLast,correlation.tActivateLast,correlation.sampleTrigger,timSerRes.active,$PRE.timSerRes.tActivateLast,timSerRes.tActivateLast,timSerRes.sampleTrigger,timSerInp.active,timSerInp.activate_internal,$PRE.timSerInp.tActivateLast,timSerInp.tActivateLast,timSerInp.sampleTrigger,$whenCondition1,csvWriter.sampleTrigger,coolingValveSignal.nextTimeEvent,$PRE.coolingValveSignal.nextTimeEventScaled,coolingValveSignal.nextTimeEventScaled,$whenCondition11,TOut_F.nextTimeEvent,$PRE.TOut_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,$PRE.TSupSetpoint_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,fanFeedback.nextTimeEvent,$PRE.fanFeedback.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,$PRE.fanStatus.nextTimeEventScaled,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,$PRE.TSupply_F.nextTimeEventScaled,TSupply_F.nextTimeEventScaled,cooValSta.uFanSta,cooValSta.limPI.trigger,$PRE.cooValSta.TOutThr.y,cooValSta.TOutThr.y,$PRE.cooValSta.uFanFeeThr.y,cooValSta.uFanFeeThr.y,$PRE.cooValSta.cha.u,cooValSta.cha.u,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004409/1.496, allocations: 198.8 kB / 1.158 GB, free: 4.301 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003112/1.496, allocations: 122.5 kB / 1.158 GB, free: 4.18 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/1.498, allocations: 0.6943 MB / 1.159 GB, free: 3.48 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/1.498, allocations: 8.688 kB / 1.159 GB, free: 3.473 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.498, allocations: 4 kB / 1.159 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/1.498, allocations: 3.984 kB / 1.159 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/1.503, allocations: 1.655 MB / 1.161 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/1.503, allocations: 0 / 1.161 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007539/1.504, allocations: 89.03 kB / 1.161 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/1.504, allocations: 8 kB / 1.161 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.253e-05/1.504, allocations: 19.97 kB / 1.161 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/1.504, allocations: 4 kB / 1.161 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.504, allocations: 0 / 1.161 GB, free: 1.648 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003029/1.507, allocations: 1.087 MB / 1.162 GB, free: 0.5469 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004077/1.511, allocations: 1.819 MB / 1.164 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007932/1.512, allocations: 288.2 kB / 1.164 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002936/1.512, allocations: 12.75 kB / 1.164 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000983/1.513, allocations: 56 kB / 1.164 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/1.513, allocations: 72.66 kB / 1.164 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/1.514, allocations: 39.98 kB / 1.164 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001272/1.515, allocations: 0.5526 MB / 1.165 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003904/1.519, allocations: 406.8 kB / 1.165 GB, free: 13.27 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooValSta.limPI.I.y) * Number of discrete variables: 44 (cooValSta.limPI.trigger,correlation.sampleTrigger,timSerRes.sampleTrigger,timSerInp.sampleTrigger,timSerInp.activate_internal,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TOut_F.nextTimeEvent,TOut_F.nextTimeEventScaled,TSupSetpoint_F.nextTimeEvent,TSupSetpoint_F.nextTimeEventScaled,coolingValveSignal.nextTimeEvent,coolingValveSignal.nextTimeEventScaled,fanFeedback.nextTimeEvent,fanFeedback.nextTimeEventScaled,fanStatus.nextTimeEvent,fanStatus.nextTimeEventScaled,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,cooValSta.uFanSta,cooValSta.TOutThr.y,cooValSta.uFanFeeThr.y,cooValSta.cha.u,csvWriter.str,csvWriter.sampleTrigger,plotConfiguration.tActivateLast,correlation.active,correlation.tActivateLast,timSerRes.active,timSerRes.tActivateLast,timSerRes.timeConverted,timSerInp.active,timSerInp.tActivateLast,timSerInp.timeConverted) * Number of discrete states: 17 (TOut_F.nextTimeEvent,TSupSetpoint_F.nextTimeEvent,coolingValveSignal.nextTimeEvent,fanFeedback.nextTimeEvent,fanStatus.nextTimeEvent,TSupply_F.nextTimeEvent,TSupply_F.nextTimeEventScaled,fanStatus.nextTimeEventScaled,fanFeedback.nextTimeEventScaled,cooValSta.uFanFeeThr.y,coolingValveSignal.nextTimeEventScaled,TSupSetpoint_F.nextTimeEventScaled,TOut_F.nextTimeEventScaled,cooValSta.TOutThr.y,cooValSta.cha.u,csvWriter.str,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 18 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/1.52, allocations: 462.5 kB / 1.165 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003372/1.524, allocations: 1.26 MB / 1.167 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.524, allocations: 0 / 1.167 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009635/1.525, allocations: 360.5 kB / 1.167 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/1.527, allocations: 252.5 kB / 1.167 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004592/1.532, allocations: 1.278 MB / 1.168 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/1.533, allocations: 1.213 MB / 1.17 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of SimCode: time 1.693e-06/1.533, allocations: 1.5 kB / 1.17 GB, free: 8.527 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve_fmu --startTime=0 --stopTime=315710 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.fmu > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1)