Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.886/1.886, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001066/0.001066, allocations: 177.3 kB / 490.8 MB, free: 1.98 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.21/1.21, allocations: 221.3 MB / 0.7863 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 88.67 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4812/0.4823, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.6939, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5812/1.275, allocations: 163.7 MB / 1.372 GB, free: 17.11 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.275, allocations: 82.14 kB / 1.372 GB, free: 17.11 MB / 0.823 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.09044/1.366, allocations: 36.52 MB / 1.407 GB, free: 19.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/1.366, allocations: 12 kB / 1.407 GB, free: 19.13 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/1.366, allocations: 154.2 kB / 1.407 GB, free: 18.98 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/1.368, allocations: 0.8787 MB / 1.408 GB, free: 18.21 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/1.368, allocations: 24 kB / 1.408 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/1.369, allocations: 63.36 kB / 1.408 GB, free: 18.12 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008282/1.369, allocations: 453 kB / 1.409 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.37, allocations: 0.6693 MB / 1.409 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/1.371, allocations: 0 / 1.409 GB, free: 17.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-05/1.371, allocations: 7.875 kB / 1.409 GB, free: 17.31 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/1.371, allocations: 16 kB / 1.41 GB, free: 17.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00329/1.374, allocations: 2.181 MB / 1.412 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/1.375, allocations: 0.6923 MB / 1.412 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/1.375, allocations: 279.3 kB / 1.413 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/1.375, allocations: 12.48 kB / 1.413 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005936/1.376, allocations: 412.3 kB / 1.413 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 2.294e-06/1.376, allocations: 0 / 1.413 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89): time 0.001132/1.377, allocations: 0.6439 MB / 1.414 GB, free: 14.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/1.377, allocations: 307.4 kB / 1.414 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009427/1.378, allocations: 0.7266 MB / 1.415 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.756e-05/1.378, allocations: 44.31 kB / 1.415 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/1.379, allocations: 321.1 kB / 1.415 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/1.379, allocations: 234.4 kB / 1.415 GB, free: 12.69 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/1.379, allocations: 8 kB / 1.415 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.379, allocations: 348.4 kB / 1.416 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/1.38, allocations: 237.5 kB / 1.416 GB, free: 12.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/1.38, allocations: 0.5159 MB / 1.416 GB, free: 11.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/1.381, allocations: 287.7 kB / 1.417 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1.381, allocations: 0 / 1.417 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001377/1.382, allocations: 0.8188 MB / 1.417 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000705/1.383, allocations: 2.103 MB / 1.419 GB, free: 8.609 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/1.383, allocations: 4 kB / 1.419 GB, free: 8.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/1.383, allocations: 12 kB / 1.419 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/1.383, allocations: 162.4 kB / 1.42 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.941e-05/1.383, allocations: 15.92 kB / 1.42 GB, free: 8.426 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/1.384, allocations: 111.2 kB / 1.42 GB, free: 8.316 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-05/1.384, allocations: 50.33 kB / 1.42 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/1.384, allocations: 6.812 kB / 1.42 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/1.385, allocations: 0.6758 MB / 1.42 GB, free: 7.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/1.385, allocations: 4 kB / 1.42 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.385, allocations: 12 kB / 1.42 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/1.386, allocations: 150.9 kB / 1.421 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/1.386, allocations: 23.86 kB / 1.421 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006315/1.387, allocations: 87.67 kB / 1.421 GB, free: 7.496 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/1.387, allocations: 43.31 kB / 1.421 GB, free: 7.461 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.0002549/1.387, allocations: 212.2 kB / 1.421 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/1.387, allocations: 114.6 kB / 1.421 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/1.388, allocations: 0.7114 MB / 1.422 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.388, allocations: 12 kB / 1.422 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/1.388, allocations: 0 / 1.422 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/1.388, allocations: 3.984 kB / 1.422 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/1.391, allocations: 1.686 MB / 1.423 GB, free: 5.309 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.391, allocations: 7.891 kB / 1.423 GB, free: 5.301 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/1.391, allocations: 103.3 kB / 1.423 GB, free: 5.207 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.391, allocations: 4 kB / 1.423 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/1.391, allocations: 19.78 kB / 1.423 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.024e-06/1.391, allocations: 4 kB / 1.423 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.391, allocations: 3.938 kB / 1.423 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001552/1.393, allocations: 1.125 MB / 1.425 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002054/1.395, allocations: 1.854 MB / 1.426 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/1.395, allocations: 292.1 kB / 1.427 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/1.395, allocations: 15.38 kB / 1.427 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/1.396, allocations: 56.06 kB / 1.427 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.396, allocations: 78.84 kB / 1.427 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/1.396, allocations: 39.28 kB / 1.427 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0006044/1.397, allocations: 0.5445 MB / 1.427 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002204/1.399, allocations: 413.8 kB / 1.428 GB, free: 1.723 MB / 0.8386 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.0008573/1.4, allocations: 464.6 kB / 1.428 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001682/1.402, allocations: 1.288 MB / 1.429 GB, free: 356 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.402, allocations: 4.188 kB / 1.429 GB, free: 352 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004695/1.402, allocations: 375.5 kB / 1.43 GB, free: 72 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/1.403, allocations: 236.7 kB / 1.43 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/1.406, allocations: 1.323 MB / 1.431 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009402/1.407, allocations: 1.223 MB / 1.433 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/1.407, allocations: 0 / 1.433 GB, free: 13.46 MB / 0.8542 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve_fmu --startTime=0 --stopTime=315710 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve_res.mat does not exist to compare? outputFormat=mat