Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.189/2.189, allocations: 253.1 MB / 260.4 MB, free: 8.59 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001713/0.001712, allocations: 181.3 kB / 319.6 MB, free: 8.086 MB / 254.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.4 MB / 0.5704 GB, free: 4.27 MB / 414.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001866/0.001866, allocations: 106.7 kB / 0.6746 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.015e-05, allocations: 0 / 0.7843 GB, free: 106.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.1999, allocations: 106.2 MB / 0.888 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6637/0.8637, allocations: 146.5 MB / 1.031 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/0.8641, allocations: 82.27 kB / 1.031 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.1642/1.028, allocations: 35.09 MB / 1.065 GB, free: 2.465 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001884/1.029, allocations: 35.92 kB / 1.065 GB, free: 2.43 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.004679/1.033, allocations: 1.455 MB / 1.067 GB, free: 0.9648 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.033, allocations: 16.02 kB / 1.067 GB, free: 0.9492 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00076/1.034, allocations: 142.3 kB / 1.067 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/1.038, allocations: 0.8798 MB / 1.068 GB, free: 16 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.038, allocations: 37.36 kB / 1.068 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/1.038, allocations: 52 kB / 1.068 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001644/1.04, allocations: 447.3 kB / 1.068 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/1.042, allocations: 0.652 MB / 1.069 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/1.042, allocations: 3.938 kB / 1.069 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/1.042, allocations: 7.984 kB / 1.069 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/1.042, allocations: 16 kB / 1.069 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006939/1.049, allocations: 2.121 MB / 1.071 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/1.051, allocations: 0.5795 MB / 1.072 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008013/1.052, allocations: 254.7 kB / 1.072 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-05/1.052, allocations: 8.656 kB / 1.072 GB, free: 12.92 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/1.053, allocations: 399.6 kB / 1.072 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 3.446e-06/1.053, allocations: 4 kB / 1.072 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.002167/1.055, allocations: 0.6199 MB / 1.073 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/1.056, allocations: 301.9 kB / 1.073 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/1.057, allocations: 0.7486 MB / 1.074 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003176/1.058, allocations: 39.7 kB / 1.074 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/1.058, allocations: 314.9 kB / 1.074 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/1.059, allocations: 216.6 kB / 1.075 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/1.059, allocations: 0 / 1.075 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001821/1.059, allocations: 344.6 kB / 1.075 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008668/1.06, allocations: 231.5 kB / 1.075 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.061, allocations: 0.5163 MB / 1.076 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009412/1.062, allocations: 275.6 kB / 1.076 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.062, allocations: 8 kB / 1.076 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002859/1.065, allocations: 0.8 MB / 1.077 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001077/1.066, allocations: 2.096 MB / 1.079 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/1.066, allocations: 8 kB / 1.079 GB, free: 6.633 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.085e-05/1.066, allocations: 12 kB / 1.079 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.067, allocations: 154.7 kB / 1.079 GB, free: 6.477 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/1.067, allocations: 11.94 kB / 1.079 GB, free: 6.465 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/1.069, allocations: 103.3 kB / 1.079 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/1.069, allocations: 46.73 kB / 1.079 GB, free: 6.328 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/1.069, allocations: 10.66 kB / 1.079 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002178/1.071, allocations: 0.6427 MB / 1.08 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/1.071, allocations: 8.125 kB / 1.08 GB, free: 5.824 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/1.071, allocations: 12 kB / 1.08 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/1.073, allocations: 150.3 kB / 1.08 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.288e-05/1.073, allocations: 15.84 kB / 1.08 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.074, allocations: 87.42 kB / 1.08 GB, free: 5.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/1.074, allocations: 43.48 kB / 1.08 GB, free: 5.535 MB / 0.6856 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,plotConfiguration.activate_internal,$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) * 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.000555/1.075, allocations: 197.4 kB / 1.08 GB, free: 5.336 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/1.075, allocations: 118.5 kB / 1.08 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/1.078, allocations: 0.693 MB / 1.081 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/1.078, allocations: 8 kB / 1.081 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.078, allocations: 128 / 1.081 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.736e-05/1.078, allocations: 7.969 kB / 1.081 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/1.082, allocations: 1.655 MB / 1.083 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.844e-06/1.083, allocations: 4 kB / 1.083 GB, free: 3.395 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/1.083, allocations: 87.52 kB / 1.083 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.083, allocations: 4 kB / 1.083 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-05/1.083, allocations: 22.94 kB / 1.083 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.689e-06/1.083, allocations: 4 kB / 1.083 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.083, allocations: 0 / 1.083 GB, free: 3.285 MB / 0.6856 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002948/1.086, allocations: 1.081 MB / 1.084 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/1.087, allocations: 288.7 kB / 1.084 GB, free: 2.215 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/1.088, allocations: 10.98 kB / 1.084 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009032/1.088, allocations: 55.02 kB / 1.084 GB, free: 2.156 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.089, allocations: 73.22 kB / 1.084 GB, free: 2.098 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.089, allocations: 37.91 kB / 1.084 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of sort global known variables: time 0.001243/1.09, allocations: 0.5541 MB / 1.085 GB, free: 1.66 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002132/1.092, allocations: 385.4 kB / 1.085 GB, free: 1.289 MB / 0.6856 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 (88): * Single equations (assignments): 69 * 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.001389/1.094, allocations: 463.8 kB / 1.086 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003619/1.097, allocations: 1.256 MB / 1.087 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.097, allocations: 0 / 1.087 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/1.098, allocations: 357.1 kB / 1.087 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/1.101, allocations: 267 kB / 1.087 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/1.106, allocations: 1.3 MB / 1.089 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/1.107, allocations: 1.207 MB / 1.09 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of SimCode: time 1.523e-06/1.107, allocations: 0 / 1.09 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of Templates: time 0.06397/1.171, allocations: 19.79 MB / 1.109 GB, free: 9.43 MB / 0.7169 GB