Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.032/2.032, allocations: 248.6 MB / 255.9 MB, free: 7.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001702/0.001701, allocations: 185.2 kB / 315.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.1 MB / 0.5658 GB, free: 304 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001246, allocations: 99.31 kB / 0.67 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4487/0.45, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.6637, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6951/1.359, allocations: 146.6 MB / 1.027 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.359, allocations: 84.14 kB / 1.027 GB, free: 9.809 MB / 0.6511 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.1773/1.537, allocations: 36.59 MB / 1.062 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.537, allocations: 8 kB / 1.062 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/1.537, allocations: 142.3 kB / 1.063 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/1.541, allocations: 0.8887 MB / 1.063 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/1.542, allocations: 27.75 kB / 1.063 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/1.542, allocations: 55.98 kB / 1.064 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001593/1.544, allocations: 443.3 kB / 1.064 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/1.545, allocations: 0.6547 MB / 1.065 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/1.546, allocations: 0 / 1.065 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/1.546, allocations: 4 kB / 1.065 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.566e-05/1.546, allocations: 16 kB / 1.065 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007069/1.553, allocations: 2.132 MB / 1.067 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/1.555, allocations: 0.5776 MB / 1.067 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/1.556, allocations: 254.7 kB / 1.067 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/1.556, allocations: 12.59 kB / 1.067 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/1.557, allocations: 402.2 kB / 1.068 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 4.107e-06/1.557, allocations: 0 / 1.068 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.002362/1.559, allocations: 0.6156 MB / 1.068 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/1.56, allocations: 309.9 kB / 1.069 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/1.561, allocations: 0.7439 MB / 1.07 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003558/1.562, allocations: 47.69 kB / 1.07 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004628/1.562, allocations: 315.9 kB / 1.07 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003531/1.563, allocations: 215.1 kB / 1.07 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-05/1.563, allocations: 8 kB / 1.07 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.563, allocations: 342.4 kB / 1.07 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/1.564, allocations: 225.5 kB / 1.071 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/1.565, allocations: 0.5126 MB / 1.071 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/1.566, allocations: 278.9 kB / 1.071 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/1.566, allocations: 4 kB / 1.071 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002732/1.569, allocations: 0.8004 MB / 1.072 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001004/1.57, allocations: 2.103 MB / 1.074 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-05/1.57, allocations: 7.984 kB / 1.074 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.507e-05/1.57, allocations: 12 kB / 1.074 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.571, allocations: 154.5 kB / 1.074 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.346e-05/1.571, allocations: 15.94 kB / 1.074 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/1.573, allocations: 95.33 kB / 1.074 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/1.573, allocations: 54.16 kB / 1.075 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.573, allocations: 4 kB / 1.075 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002487/1.576, allocations: 0.6453 MB / 1.075 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/1.576, allocations: 8 kB / 1.075 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/1.576, allocations: 8 kB / 1.075 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.577, allocations: 146.6 kB / 1.075 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/1.577, allocations: 19.83 kB / 1.075 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/1.578, allocations: 83.66 kB / 1.075 GB, free: 420 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.579, allocations: 41.98 kB / 1.075 GB, free: 388 kB / 0.6823 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.0004867/1.579, allocations: 209 kB / 1.076 GB, free: 172 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003483/1.58, allocations: 114.6 kB / 1.076 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002282/1.582, allocations: 0.683 MB / 1.076 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/1.582, allocations: 11.94 kB / 1.076 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.582, allocations: 4 kB / 1.076 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.7e-05/1.582, allocations: 7.922 kB / 1.076 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/1.587, allocations: 1.648 MB / 1.078 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/1.587, allocations: 0 / 1.078 GB, free: 14.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007527/1.587, allocations: 90.14 kB / 1.078 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-05/1.587, allocations: 4.062 kB / 1.078 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.923e-05/1.588, allocations: 26.81 kB / 1.078 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/1.588, allocations: 0 / 1.078 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.588, allocations: 3.938 kB / 1.078 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003076/1.591, allocations: 1.087 MB / 1.079 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004074/1.595, allocations: 1.787 MB / 1.081 GB, free: 11.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008524/1.596, allocations: 296.2 kB / 1.081 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/1.596, allocations: 7.875 kB / 1.081 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009038/1.597, allocations: 56 kB / 1.081 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/1.597, allocations: 80.16 kB / 1.081 GB, free: 11.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001318/1.597, allocations: 35.55 kB / 1.081 GB, free: 11.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.001461/1.599, allocations: 0.5614 MB / 1.082 GB, free: 11.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005009/1.604, allocations: 409.4 kB / 1.082 GB, free: 10.73 MB / 0.698 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.001453/1.605, allocations: 462.6 kB / 1.083 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003346/1.609, allocations: 1.259 MB / 1.084 GB, free: 9.371 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/1.609, allocations: 1 kB / 1.084 GB, free: 9.371 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009859/1.61, allocations: 352.1 kB / 1.084 GB, free: 9.113 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.612, allocations: 265.7 kB / 1.085 GB, free: 8.906 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/1.618, allocations: 1.297 MB / 1.086 GB, free: 7.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001629/1.62, allocations: 1.214 MB / 1.087 GB, free: 6.504 MB / 0.698 GB Notification: Performance of SimCode: time 1.433e-06/1.62, allocations: 4 kB / 1.087 GB, free: 6.5 MB / 0.698 GB