Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.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: translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") [: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.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 289.8 MB / 297.1 MB, free: 8.957 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.001106/0.001105, allocations: 184.6 kB / 366.3 MB, free: 11.22 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.239/1.239, allocations: 205.1 MB / 0.6256 GB, free: 11.25 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.0008864/0.0008864, allocations: 85.44 kB / 0.7396 GB, free: 6.453 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.012e-06/6.152e-06, allocations: 0 / 0.859 GB, free: 147.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.187, allocations: 116.3 MB / 0.9726 GB, free: 31.54 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6142/0.8012, allocations: 151.9 MB / 1.121 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.8015, allocations: 84.27 kB / 1.121 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.08422/0.8857, allocations: 34.16 MB / 1.154 GB, free: 0.8555 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.138e-05/0.8858, allocations: 32 kB / 1.154 GB, free: 0.8242 MB / 0.6823 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.002422/0.8883, allocations: 1.448 MB / 1.156 GB, free: 15.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.8883, allocations: 12.03 kB / 1.156 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.8886, allocations: 146.3 kB / 1.156 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.8906, allocations: 0.8685 MB / 1.157 GB, free: 14.47 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-05/0.8907, allocations: 31.36 kB / 1.157 GB, free: 14.44 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.8908, allocations: 52 kB / 1.157 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000833/0.8916, allocations: 436.7 kB / 1.157 GB, free: 14.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.8927, allocations: 0.6463 MB / 1.158 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.8928, allocations: 0 / 1.158 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.8928, allocations: 3.984 kB / 1.158 GB, free: 13.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.8928, allocations: 16 kB / 1.158 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.8966, allocations: 2.111 MB / 1.16 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.8977, allocations: 0.6523 MB / 1.161 GB, free: 11.52 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.8981, allocations: 256.6 kB / 1.161 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.205e-05/0.8981, allocations: 15.78 kB / 1.161 GB, free: 11.34 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006074/0.8987, allocations: 405.2 kB / 1.161 GB, free: 11.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 2.624e-06/0.8988, allocations: 0 / 1.161 GB, free: 11.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.001203/0.9, allocations: 0.6247 MB / 1.162 GB, free: 10.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.9002, allocations: 305.9 kB / 1.162 GB, free: 10.17 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000968/0.9011, allocations: 0.7392 MB / 1.163 GB, free: 9.598 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.32e-05/0.9012, allocations: 41.27 kB / 1.163 GB, free: 9.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002546/0.9015, allocations: 310 kB / 1.163 GB, free: 9.297 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/0.9017, allocations: 215.8 kB / 1.163 GB, free: 9.117 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.9017, allocations: 3.5 kB / 1.163 GB, free: 9.117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9019, allocations: 343.6 kB / 1.164 GB, free: 8.789 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003978/0.9023, allocations: 238.4 kB / 1.164 GB, free: 8.645 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006633/0.903, allocations: 0.5044 MB / 1.165 GB, free: 8.133 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.9035, allocations: 282.2 kB / 1.165 GB, free: 7.949 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.9035, allocations: 4 kB / 1.165 GB, free: 7.945 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001357/0.9049, allocations: 0.8047 MB / 1.166 GB, free: 7.297 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009973/0.9059, allocations: 2.096 MB / 1.168 GB, free: 5.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.9059, allocations: 4 kB / 1.168 GB, free: 5.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.9059, allocations: 12 kB / 1.168 GB, free: 5.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.9065, allocations: 159 kB / 1.168 GB, free: 4.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.9066, allocations: 12 kB / 1.168 GB, free: 4.898 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/0.9073, allocations: 103.2 kB / 1.168 GB, free: 4.797 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.9074, allocations: 43.05 kB / 1.168 GB, free: 4.762 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.9074, allocations: 4 kB / 1.168 GB, free: 4.758 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/0.9086, allocations: 0.6508 MB / 1.169 GB, free: 4.262 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9086, allocations: 4 kB / 1.169 GB, free: 4.258 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.9086, allocations: 12 kB / 1.169 GB, free: 4.246 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.9091, allocations: 146 kB / 1.169 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.9092, allocations: 20.55 kB / 1.169 GB, free: 4.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006555/0.9098, allocations: 91.39 kB / 1.169 GB, free: 4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/0.9099, allocations: 42.12 kB / 1.169 GB, free: 3.969 MB / 0.698 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.0002922/0.9102, allocations: 205.4 kB / 1.169 GB, free: 3.766 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.9104, allocations: 114.6 kB / 1.169 GB, free: 3.652 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.9117, allocations: 0.6918 MB / 1.17 GB, free: 3.133 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.9117, allocations: 12 kB / 1.17 GB, free: 3.121 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9117, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.9118, allocations: 3.984 kB / 1.17 GB, free: 3.117 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002696/0.9145, allocations: 1.649 MB / 1.171 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.9145, allocations: 128 / 1.171 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.9149, allocations: 95.45 kB / 1.172 GB, free: 1.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.9149, allocations: 4 kB / 1.172 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.954e-05/0.9149, allocations: 19.17 kB / 1.172 GB, free: 1.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.915, allocations: 8 kB / 1.172 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.915, allocations: 3.938 kB / 1.172 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001626/0.9166, allocations: 1.092 MB / 1.173 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004453/0.9171, allocations: 288.9 kB / 1.173 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.9172, allocations: 15.3 kB / 1.173 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004981/0.9178, allocations: 55.02 kB / 1.173 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.918, allocations: 78.16 kB / 1.173 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.9181, allocations: 41.84 kB / 1.173 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0007956/0.9189, allocations: 0.5491 MB / 1.174 GB, free: 104 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001548/0.9205, allocations: 381.5 kB / 1.174 GB, free: 15.73 MB / 0.7136 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.001101/0.9216, allocations: 458 kB / 1.174 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002052/0.9236, allocations: 1.258 MB / 1.176 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.9236, allocations: 0 / 1.176 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005723/0.9242, allocations: 365 kB / 1.176 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.9256, allocations: 254.1 kB / 1.176 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.9291, allocations: 1.283 MB / 1.178 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/0.9303, allocations: 1.204 MB / 1.179 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/0.9303, allocations: 0 / 1.179 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.03894/0.9693, allocations: 19.67 MB / 1.198 GB, free: 8.055 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & ./Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1)