Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.001253/0.001253, allocations: 188.2 kB / 366.3 MB, free: 1.941 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.398/1.398, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0008942/0.0008943, allocations: 92.02 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.279/0.2799, allocations: 122.4 MB / 0.8591 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.9634, allocations: 116.3 MB / 0.9726 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/1.168, allocations: 151.9 MB / 1.121 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.168, allocations: 76.48 kB / 1.121 GB, free: 12.39 MB / 0.7292 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.1013/1.269, allocations: 35.65 MB / 1.156 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/1.269, allocations: 12 kB / 1.156 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/1.27, allocations: 146.3 kB / 1.156 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/1.273, allocations: 0.8679 MB / 1.157 GB, free: 7.578 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/1.273, allocations: 28 kB / 1.157 GB, free: 7.551 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/1.274, allocations: 55.98 kB / 1.157 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001219/1.275, allocations: 435.9 kB / 1.157 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/1.276, allocations: 0.6452 MB / 1.158 GB, free: 6.395 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/1.276, allocations: 4.656 kB / 1.158 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/1.276, allocations: 4 kB / 1.158 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/1.276, allocations: 16 kB / 1.158 GB, free: 6.371 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005253/1.282, allocations: 2.115 MB / 1.16 GB, free: 4.211 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/1.283, allocations: 0.649 MB / 1.161 GB, free: 3.539 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/1.283, allocations: 255.4 kB / 1.161 GB, free: 3.289 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.996e-05/1.283, allocations: 16.64 kB / 1.161 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006909/1.284, allocations: 402.3 kB / 1.161 GB, free: 2.859 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=83): time 3.757e-06/1.284, allocations: 4 kB / 1.161 GB, free: 2.855 MB / 0.7605 GB Notification: Performance of matching and sorting (n=83): time 0.001515/1.286, allocations: 0.6257 MB / 1.162 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/1.286, allocations: 299.5 kB / 1.162 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/1.287, allocations: 0.7455 MB / 1.163 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/1.288, allocations: 37.7 kB / 1.163 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003415/1.288, allocations: 308.7 kB / 1.163 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/1.288, allocations: 217 kB / 1.164 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/1.288, allocations: 4 kB / 1.164 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001644/1.289, allocations: 341.9 kB / 1.164 GB, free: 188 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004555/1.289, allocations: 237.9 kB / 1.164 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/1.29, allocations: 0.5061 MB / 1.165 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005308/1.29, allocations: 281.3 kB / 1.165 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/1.29, allocations: 8 kB / 1.165 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001571/1.292, allocations: 0.7922 MB / 1.166 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009735/1.293, allocations: 2.1 MB / 1.168 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/1.293, allocations: 4 kB / 1.168 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/1.293, allocations: 16 kB / 1.168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/1.294, allocations: 155.7 kB / 1.168 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/1.294, allocations: 11.94 kB / 1.168 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/1.294, allocations: 103.2 kB / 1.168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.515e-05/1.294, allocations: 43.98 kB / 1.168 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/1.294, allocations: 8 kB / 1.168 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/1.296, allocations: 0.6462 MB / 1.169 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.296, allocations: 12.12 kB / 1.169 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.296, allocations: 12 kB / 1.169 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005943/1.296, allocations: 143.8 kB / 1.169 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.296, allocations: 19.92 kB / 1.169 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/1.297, allocations: 83.41 kB / 1.169 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/1.297, allocations: 44.53 kB / 1.169 GB, free: 10.71 MB / 0.7761 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.0004068/1.298, allocations: 206.5 kB / 1.169 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/1.298, allocations: 122.5 kB / 1.169 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.3, allocations: 0.69 MB / 1.17 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/1.3, allocations: 12 kB / 1.17 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.3, allocations: 0 / 1.17 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.3, allocations: 3.984 kB / 1.17 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002981/1.303, allocations: 1.655 MB / 1.172 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.303, allocations: 0 / 1.172 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003994/1.303, allocations: 95.83 kB / 1.172 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/1.303, allocations: 4 kB / 1.172 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.964e-05/1.303, allocations: 15.98 kB / 1.172 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/1.303, allocations: 4 kB / 1.172 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.303, allocations: 0 / 1.172 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001775/1.305, allocations: 1.087 MB / 1.173 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00234/1.307, allocations: 1.823 MB / 1.175 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000417/1.308, allocations: 283.4 kB / 1.175 GB, free: 4.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/1.308, allocations: 15.98 kB / 1.175 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005197/1.308, allocations: 52.02 kB / 1.175 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/1.309, allocations: 76.66 kB / 1.175 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/1.309, allocations: 43.97 kB / 1.175 GB, free: 4.414 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0007867/1.309, allocations: 0.5448 MB / 1.176 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002913/1.312, allocations: 418.8 kB / 1.176 GB, free: 3.449 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.001283/1.314, allocations: 455.3 kB / 1.176 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002738/1.316, allocations: 1.261 MB / 1.178 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.316, allocations: 4 kB / 1.178 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/1.317, allocations: 360.5 kB / 1.178 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.319, allocations: 251.1 kB / 1.178 GB, free: 1.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003709/1.322, allocations: 1.289 MB / 1.179 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/1.324, allocations: 1.216 MB / 1.181 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of SimCode: time 9.12e-07/1.324, allocations: 0 / 1.181 GB, free: 14.59 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve_fmu --startTime=0 --stopTime=315710 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.fmu > Buildings_8_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1)