Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.404/1.404, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009884/0.0009884, allocations: 185.2 kB / 361.1 MB, free: 7.094 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.178/1.178, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.000789/0.0007889, allocations: 90.19 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2252/0.2261, allocations: 121.4 MB / 0.8511 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5644/0.7905, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.9759, allocations: 151 MB / 1.111 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.9762, allocations: 79.95 kB / 1.111 GB, free: 4.945 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.09363/1.07, allocations: 35.64 MB / 1.146 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/1.07, allocations: 13.72 kB / 1.146 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004869/1.07, allocations: 146.3 kB / 1.146 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00206/1.073, allocations: 0.8679 MB / 1.147 GB, free: 364 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/1.073, allocations: 27.98 kB / 1.147 GB, free: 336 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/1.073, allocations: 56 kB / 1.147 GB, free: 280 kB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009102/1.074, allocations: 435.9 kB / 1.148 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.075, allocations: 0.6452 MB / 1.148 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/1.075, allocations: 0 / 1.148 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/1.075, allocations: 0 / 1.148 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/1.075, allocations: 20 kB / 1.148 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003942/1.079, allocations: 2.104 MB / 1.15 GB, free: 13 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/1.08, allocations: 0.6515 MB / 1.151 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/1.08, allocations: 262.7 kB / 1.151 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/1.081, allocations: 9.406 kB / 1.151 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006369/1.081, allocations: 401.3 kB / 1.152 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=83): time 3.166e-06/1.081, allocations: 0 / 1.152 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=83): time 0.001249/1.082, allocations: 0.6257 MB / 1.152 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/1.083, allocations: 315.5 kB / 1.152 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.084, allocations: 0.7377 MB / 1.153 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001187/1.084, allocations: 37.7 kB / 1.153 GB, free: 9.836 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002625/1.084, allocations: 304.7 kB / 1.153 GB, free: 9.531 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/1.084, allocations: 221.8 kB / 1.154 GB, free: 9.312 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/1.085, allocations: 4 kB / 1.154 GB, free: 9.309 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.085, allocations: 337.9 kB / 1.154 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/1.085, allocations: 234 kB / 1.154 GB, free: 8.746 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006339/1.086, allocations: 0.5088 MB / 1.155 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/1.086, allocations: 285.8 kB / 1.155 GB, free: 7.848 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/1.086, allocations: 4 kB / 1.155 GB, free: 7.844 MB / 0.7605 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00153/1.088, allocations: 0.7923 MB / 1.156 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009125/1.089, allocations: 2.102 MB / 1.158 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.089, allocations: 5.406 kB / 1.158 GB, free: 4.777 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/1.089, allocations: 12 kB / 1.158 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/1.089, allocations: 159.7 kB / 1.158 GB, free: 4.609 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.141e-05/1.089, allocations: 16.69 kB / 1.158 GB, free: 4.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/1.09, allocations: 99.23 kB / 1.158 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.09, allocations: 51.95 kB / 1.158 GB, free: 4.445 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/1.09, allocations: 4 kB / 1.158 GB, free: 4.441 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001239/1.092, allocations: 0.6499 MB / 1.159 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/1.092, allocations: 4 kB / 1.159 GB, free: 3.789 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.092, allocations: 12.66 kB / 1.159 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/1.092, allocations: 147.8 kB / 1.159 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/1.092, allocations: 19.92 kB / 1.159 GB, free: 3.613 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006926/1.093, allocations: 91.33 kB / 1.159 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/1.093, allocations: 40.48 kB / 1.159 GB, free: 3.484 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.0003096/1.093, allocations: 199.5 kB / 1.159 GB, free: 3.277 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/1.094, allocations: 119.2 kB / 1.159 GB, free: 3.16 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/1.095, allocations: 0.6939 MB / 1.16 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/1.095, allocations: 8 kB / 1.16 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.095, allocations: 0 / 1.16 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.095, allocations: 7.969 kB / 1.16 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002766/1.098, allocations: 1.655 MB / 1.162 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.098, allocations: 0.5 kB / 1.162 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003823/1.098, allocations: 92.58 kB / 1.162 GB, free: 0.6562 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/1.098, allocations: 8 kB / 1.162 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/1.098, allocations: 16.98 kB / 1.162 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.098, allocations: 4 kB / 1.162 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.098, allocations: 0 / 1.162 GB, free: 0.6289 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00166/1.1, allocations: 1.095 MB / 1.163 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002212/1.102, allocations: 1.817 MB / 1.165 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004815/1.103, allocations: 287.4 kB / 1.165 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/1.103, allocations: 17.11 kB / 1.165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/1.104, allocations: 49.02 kB / 1.165 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/1.104, allocations: 76.66 kB / 1.165 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/1.104, allocations: 39.97 kB / 1.165 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0009249/1.105, allocations: 0.5487 MB / 1.166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002671/1.107, allocations: 406.8 kB / 1.166 GB, free: 12.25 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.000898/1.108, allocations: 459.9 kB / 1.167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001969/1.11, allocations: 1.267 MB / 1.168 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.11, allocations: 0 / 1.168 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005116/1.111, allocations: 358.7 kB / 1.168 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/1.112, allocations: 253.4 kB / 1.168 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/1.116, allocations: 1.283 MB / 1.17 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/1.117, allocations: 1.22 MB / 1.171 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of SimCode: time 8.12e-07/1.117, allocations: 0 / 1.171 GB, free: 7.461 MB / 0.7761 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve_fmu --startTime=0 --stopTime=315710 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1)