Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.921/1.921, allocations: 387.2 MB / 394.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 180.6 kB / 487 MB, free: 5.43 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.3 MB / 0.7819 GB, free: 1.465 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009517/0.0009517, allocations: 101.6 kB / 0.9213 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5053/0.5063, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.7388, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6122/1.351, allocations: 162.9 MB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/1.351, allocations: 83.69 kB / 1.365 GB, free: 12.12 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.08681/1.438, allocations: 36.52 MB / 1.4 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.438, allocations: 11.94 kB / 1.4 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/1.438, allocations: 154.2 kB / 1.4 GB, free: 14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/1.44, allocations: 0.8575 MB / 1.401 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/1.44, allocations: 39.09 kB / 1.401 GB, free: 13.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/1.441, allocations: 55.94 kB / 1.401 GB, free: 13.14 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007961/1.441, allocations: 467.8 kB / 1.402 GB, free: 12.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/1.442, allocations: 0.6613 MB / 1.402 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/1.442, allocations: 0 / 1.402 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.469e-05/1.442, allocations: 11.89 kB / 1.402 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/1.442, allocations: 24 kB / 1.402 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/1.446, allocations: 2.171 MB / 1.404 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.447, allocations: 0.6858 MB / 1.405 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/1.447, allocations: 293.6 kB / 1.405 GB, free: 9.934 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/1.448, allocations: 8.656 kB / 1.405 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000569/1.448, allocations: 420 kB / 1.406 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 2.454e-06/1.448, allocations: 0 / 1.406 GB, free: 9.605 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89): time 0.001092/1.449, allocations: 0.6436 MB / 1.406 GB, free: 9.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/1.449, allocations: 302 kB / 1.407 GB, free: 8.734 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008608/1.45, allocations: 0.7341 MB / 1.407 GB, free: 8.164 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.992e-05/1.45, allocations: 40.64 kB / 1.408 GB, free: 8.125 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/1.451, allocations: 314.8 kB / 1.408 GB, free: 7.855 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.451, allocations: 239.7 kB / 1.408 GB, free: 7.652 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/1.451, allocations: 7.438 kB / 1.408 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001318/1.451, allocations: 340.5 kB / 1.408 GB, free: 7.324 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/1.451, allocations: 242.4 kB / 1.409 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/1.452, allocations: 0.5182 MB / 1.409 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/1.453, allocations: 282.9 kB / 1.409 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.453, allocations: 4 kB / 1.409 GB, free: 6.457 MB / 0.8386 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001338/1.454, allocations: 0.8201 MB / 1.41 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007184/1.455, allocations: 2.094 MB / 1.412 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.455, allocations: 15.92 kB / 1.412 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/1.455, allocations: 8 kB / 1.412 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/1.455, allocations: 170.3 kB / 1.412 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/1.455, allocations: 15.98 kB / 1.412 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006704/1.456, allocations: 107.2 kB / 1.413 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/1.456, allocations: 42.98 kB / 1.413 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.711e-06/1.456, allocations: 4 kB / 1.413 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001122/1.457, allocations: 0.6691 MB / 1.413 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/1.457, allocations: 8 kB / 1.413 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.457, allocations: 8 kB / 1.413 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/1.458, allocations: 163.2 kB / 1.413 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.458, allocations: 8 kB / 1.413 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006333/1.458, allocations: 95.86 kB / 1.414 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/1.459, allocations: 51.7 kB / 1.414 GB, free: 2.414 MB / 0.8386 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 (123): * Single equations (assignments): 119 * 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.0002369/1.459, allocations: 201.1 kB / 1.414 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/1.459, allocations: 114.6 kB / 1.414 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/1.46, allocations: 0.7137 MB / 1.415 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.46, allocations: 12 kB / 1.415 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.46, allocations: 0 / 1.415 GB, free: 1.555 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.46, allocations: 3.984 kB / 1.415 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/1.463, allocations: 1.695 MB / 1.416 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.463, allocations: 0 / 1.416 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/1.463, allocations: 98.83 kB / 1.416 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/1.463, allocations: 3.938 kB / 1.416 GB, free: 148 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.572e-05/1.463, allocations: 18.91 kB / 1.416 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/1.463, allocations: 4 kB / 1.416 GB, free: 128 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.463, allocations: 4 kB / 1.416 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001613/1.465, allocations: 1.124 MB / 1.417 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002116/1.467, allocations: 1.853 MB / 1.419 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/1.467, allocations: 292.4 kB / 1.42 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/1.468, allocations: 18.23 kB / 1.42 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/1.468, allocations: 59.88 kB / 1.42 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/1.468, allocations: 74.72 kB / 1.42 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.861e-05/1.468, allocations: 46.12 kB / 1.42 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000631/1.469, allocations: 0.5421 MB / 1.42 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002314/1.471, allocations: 417.2 kB / 1.421 GB, free: 12.65 MB / 0.8542 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 (95): * Single equations (assignments): 76 * 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.0008873/1.472, allocations: 446 kB / 1.421 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001798/1.474, allocations: 1.296 MB / 1.422 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/1.474, allocations: 4 kB / 1.422 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004841/1.474, allocations: 378.6 kB / 1.423 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/1.476, allocations: 253.1 kB / 1.423 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/1.478, allocations: 1.313 MB / 1.424 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009081/1.479, allocations: 1.227 MB / 1.425 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/1.479, allocations: 0 / 1.425 GB, free: 8.363 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve_fmu --startTime=0 --stopTime=315710 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat does not exist to compare? outputFormat=mat