Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.276/1.276, allocations: 249.4 MB / 256.7 MB, free: 7.043 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.001059/0.001058, allocations: 181.2 kB / 316 MB, free: 3.598 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.211/1.211, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 90.91 kB / 0.671 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3407/0.3416, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.508, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5035/1.012, allocations: 146.8 MB / 1.028 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1.012, allocations: 83.95 kB / 1.028 GB, free: 7.969 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.09245/1.104, allocations: 36.59 MB / 1.064 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/1.104, allocations: 12 kB / 1.064 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000258/1.105, allocations: 142.3 kB / 1.064 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/1.107, allocations: 0.8827 MB / 1.065 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/1.107, allocations: 27.5 kB / 1.065 GB, free: 9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/1.107, allocations: 55.94 kB / 1.065 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007737/1.108, allocations: 448.8 kB / 1.065 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/1.109, allocations: 0.6492 MB / 1.066 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/1.109, allocations: 0 / 1.066 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/1.109, allocations: 7.984 kB / 1.066 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/1.109, allocations: 16 kB / 1.066 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00344/1.112, allocations: 2.13 MB / 1.068 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000964/1.113, allocations: 0.5718 MB / 1.069 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/1.114, allocations: 255.2 kB / 1.069 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.796e-05/1.114, allocations: 12.64 kB / 1.069 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00057/1.114, allocations: 406.9 kB / 1.069 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=82): time 4.238e-06/1.114, allocations: 0 / 1.069 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82): time 0.001059/1.115, allocations: 0.6211 MB / 1.07 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/1.115, allocations: 306.5 kB / 1.07 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009225/1.116, allocations: 0.7453 MB / 1.071 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.441e-05/1.116, allocations: 41.56 kB / 1.071 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/1.117, allocations: 323.2 kB / 1.071 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/1.117, allocations: 216.1 kB / 1.071 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/1.117, allocations: 4 kB / 1.071 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.117, allocations: 345.3 kB / 1.072 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/1.117, allocations: 228.3 kB / 1.072 GB, free: 3.211 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/1.118, allocations: 0.5132 MB / 1.073 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000439/1.119, allocations: 275.7 kB / 1.073 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.119, allocations: 4 kB / 1.073 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001278/1.12, allocations: 0.7979 MB / 1.074 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007541/1.121, allocations: 2.093 MB / 1.076 GB, free: 15.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.121, allocations: 7.984 kB / 1.076 GB, free: 15.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.121, allocations: 12 kB / 1.076 GB, free: 15.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005722/1.121, allocations: 155.1 kB / 1.076 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/1.121, allocations: 19.94 kB / 1.076 GB, free: 15.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/1.122, allocations: 95.33 kB / 1.076 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/1.122, allocations: 46.55 kB / 1.076 GB, free: 15.33 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-06/1.122, allocations: 6.656 kB / 1.076 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/1.123, allocations: 0.6504 MB / 1.077 GB, free: 14.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/1.123, allocations: 8 kB / 1.077 GB, free: 14.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/1.123, allocations: 11.98 kB / 1.077 GB, free: 14.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/1.124, allocations: 151.4 kB / 1.077 GB, free: 14.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/1.124, allocations: 11.94 kB / 1.077 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/1.124, allocations: 91.52 kB / 1.077 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.948e-05/1.124, allocations: 39.17 kB / 1.077 GB, free: 14.54 MB / 0.698 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.0002721/1.125, allocations: 197.9 kB / 1.077 GB, free: 14.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/1.125, allocations: 114.6 kB / 1.077 GB, free: 14.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/1.126, allocations: 0.6972 MB / 1.078 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.126, allocations: 8 kB / 1.078 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.126, allocations: 4 kB / 1.078 GB, free: 13.69 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/1.126, allocations: 3.984 kB / 1.078 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/1.129, allocations: 1.649 MB / 1.079 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/1.129, allocations: 0 / 1.079 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/1.129, allocations: 87.78 kB / 1.08 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/1.129, allocations: 11.89 kB / 1.08 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/1.129, allocations: 11.92 kB / 1.08 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/1.129, allocations: 4 kB / 1.08 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.129, allocations: 4.062 kB / 1.08 GB, free: 12.3 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00147/1.131, allocations: 1.086 MB / 1.081 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001995/1.133, allocations: 1.798 MB / 1.082 GB, free: 10.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/1.133, allocations: 294.5 kB / 1.083 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/1.133, allocations: 7.188 kB / 1.083 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/1.134, allocations: 51.45 kB / 1.083 GB, free: 9.777 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/1.134, allocations: 85.95 kB / 1.083 GB, free: 9.707 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-05/1.134, allocations: 34.8 kB / 1.083 GB, free: 9.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0006635/1.134, allocations: 0.5496 MB / 1.083 GB, free: 9.277 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002481/1.137, allocations: 419.7 kB / 1.084 GB, free: 8.895 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.0009207/1.138, allocations: 453.1 kB / 1.084 GB, free: 8.555 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001836/1.14, allocations: 1.26 MB / 1.085 GB, free: 7.527 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.14, allocations: 1 kB / 1.085 GB, free: 7.527 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004605/1.14, allocations: 361.4 kB / 1.086 GB, free: 7.266 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/1.141, allocations: 252.6 kB / 1.086 GB, free: 7.066 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/1.144, allocations: 1.303 MB / 1.087 GB, free: 5.887 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/1.145, allocations: 1.208 MB / 1.088 GB, free: 4.664 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/1.145, allocations: 4 kB / 1.088 GB, free: 4.66 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve_fmu --startTime=0 --stopTime=315710 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Examples_ControlsVerification_CoolingCoilValve.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.ControlsVerification_CoolingCoilValve.pipe 2>&1)