Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve") translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.243/2.243, allocations: 284.9 MB / 292.2 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001706/0.001706, allocations: 173.3 kB / 360.4 MB, free: 7.562 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.1 MB / 0.6188 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001268, allocations: 88.64 kB / 0.7318 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.153e-06/7.243e-06, allocations: 0 / 0.8502 GB, free: 4.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6454/0.6454, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/0.8812, allocations: 150.8 MB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.8816, allocations: 80.61 kB / 1.11 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.1557/1.037, allocations: 34.16 MB / 1.143 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001273/1.038, allocations: 27.98 kB / 1.144 GB, free: 3.961 MB / 0.7448 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.004224/1.042, allocations: 1.45 MB / 1.145 GB, free: 2.422 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.042, allocations: 12.47 kB / 1.145 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006881/1.043, allocations: 146.3 kB / 1.145 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/1.046, allocations: 0.8679 MB / 1.146 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.857e-05/1.046, allocations: 31.98 kB / 1.146 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/1.047, allocations: 56 kB / 1.146 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001554/1.048, allocations: 431.9 kB / 1.146 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/1.05, allocations: 0.6439 MB / 1.147 GB, free: 164 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.05, allocations: 0.8438 kB / 1.147 GB, free: 164 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/1.05, allocations: 12 kB / 1.147 GB, free: 152 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/1.05, allocations: 16 kB / 1.147 GB, free: 136 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006623/1.057, allocations: 2.116 MB / 1.149 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/1.059, allocations: 0.649 MB / 1.15 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/1.06, allocations: 246.8 kB / 1.15 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.634e-05/1.06, allocations: 8.656 kB / 1.15 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/1.061, allocations: 409.3 kB / 1.15 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=83): time 3.156e-06/1.061, allocations: 0 / 1.15 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of matching and sorting (n=83): time 0.00214/1.063, allocations: 0.6232 MB / 1.151 GB, free: 12 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001785/1.063, allocations: 311.5 kB / 1.151 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/1.065, allocations: 0.7377 MB / 1.152 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0003182/1.065, allocations: 37.7 kB / 1.152 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/1.066, allocations: 304.7 kB / 1.152 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/1.066, allocations: 225 kB / 1.153 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.313e-05/1.066, allocations: 4 kB / 1.153 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.066, allocations: 337.9 kB / 1.153 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007937/1.067, allocations: 234 kB / 1.153 GB, free: 9.727 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/1.068, allocations: 0.5088 MB / 1.154 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009379/1.069, allocations: 285.7 kB / 1.154 GB, free: 8.824 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/1.069, allocations: 0 / 1.154 GB, free: 8.824 MB / 0.7605 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002611/1.072, allocations: 0.7997 MB / 1.155 GB, free: 8.016 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007852/1.072, allocations: 2.096 MB / 1.157 GB, free: 5.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.073, allocations: 4 kB / 1.157 GB, free: 5.758 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/1.073, allocations: 13.12 kB / 1.157 GB, free: 5.746 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/1.074, allocations: 156.5 kB / 1.157 GB, free: 5.594 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.152e-05/1.074, allocations: 11.94 kB / 1.157 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001447/1.075, allocations: 111.2 kB / 1.157 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.075, allocations: 47.97 kB / 1.157 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.076, allocations: 4.625 kB / 1.157 GB, free: 5.422 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002151/1.078, allocations: 0.648 MB / 1.158 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.078, allocations: 4 kB / 1.158 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.078, allocations: 12 kB / 1.158 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.079, allocations: 151.7 kB / 1.158 GB, free: 4.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/1.079, allocations: 15.92 kB / 1.158 GB, free: 4.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.08, allocations: 91.73 kB / 1.158 GB, free: 4.512 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.08, allocations: 49.19 kB / 1.158 GB, free: 4.465 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.0004674/1.081, allocations: 194.4 kB / 1.158 GB, free: 4.262 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/1.081, allocations: 118.5 kB / 1.158 GB, free: 4.145 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/1.084, allocations: 0.6867 MB / 1.159 GB, free: 3.453 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.084, allocations: 11.98 kB / 1.159 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.084, allocations: 3.984 kB / 1.159 GB, free: 3.438 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.471e-05/1.084, allocations: 7.984 kB / 1.159 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004646/1.088, allocations: 1.655 MB / 1.161 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/1.088, allocations: 0 / 1.161 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007921/1.089, allocations: 92.89 kB / 1.161 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/1.089, allocations: 4 kB / 1.161 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/1.089, allocations: 15.98 kB / 1.161 GB, free: 1.621 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/1.089, allocations: 3.984 kB / 1.161 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.089, allocations: 1.125 kB / 1.161 GB, free: 1.617 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003136/1.092, allocations: 1.095 MB / 1.162 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009177/1.093, allocations: 283.4 kB / 1.162 GB, free: 216 kB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/1.094, allocations: 19.98 kB / 1.162 GB, free: 196 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008942/1.095, allocations: 48.58 kB / 1.162 GB, free: 148 kB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002526/1.095, allocations: 76.66 kB / 1.162 GB, free: 72 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.095, allocations: 39.97 kB / 1.162 GB, free: 32 kB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001242/1.096, allocations: 0.5565 MB / 1.163 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002065/1.098, allocations: 382.9 kB / 1.163 GB, free: 15.09 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.001318/1.1, allocations: 454.8 kB / 1.164 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003517/1.103, allocations: 1.262 MB / 1.165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/1.103, allocations: 7.938 kB / 1.165 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009652/1.104, allocations: 356.6 kB / 1.165 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/1.107, allocations: 250.5 kB / 1.165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/1.112, allocations: 1.29 MB / 1.167 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002012/1.114, allocations: 1.209 MB / 1.168 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of SimCode: time 1.443e-06/1.114, allocations: 0 / 1.168 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of Templates: time 0.08014/1.195, allocations: 19.65 MB / 1.187 GB, free: 6.887 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.makefile (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 & ./Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1)