Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.358/1.358, allocations: 289.8 MB / 297.1 MB, free: 6.672 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.0009938/0.000994, allocations: 181.3 kB / 366.3 MB, free: 1.992 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.07/1.07, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0007766/0.0007767, allocations: 84.36 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2039/0.2047, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.6433, allocations: 116.3 MB / 0.9727 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1416/0.7849, allocations: 139.8 MB / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/0.7851, allocations: 83.94 kB / 1.109 GB, free: 8.668 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00882/0.794, allocations: 3.809 MB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.794, allocations: 8 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.179e-05/0.7941, allocations: 27.72 kB / 1.113 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.7944, allocations: 271.5 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.7944, allocations: 6.188 kB / 1.113 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.7945, allocations: 12 kB / 1.113 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002337/0.7947, allocations: 124.8 kB / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.795, allocations: 188.8 kB / 1.114 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.795, allocations: 0 / 1.114 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.7951, allocations: 4 kB / 1.114 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.7951, allocations: 8 kB / 1.114 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009911/0.7961, allocations: 0.7515 MB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.7964, allocations: 163.1 kB / 1.114 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.7965, allocations: 73.41 kB / 1.115 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.7966, allocations: 3.984 kB / 1.115 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000126/0.7967, allocations: 95.39 kB / 1.115 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.253e-06/0.7967, allocations: 0 / 1.115 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0002457/0.7969, allocations: 141.6 kB / 1.115 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.797, allocations: 77.11 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.7972, allocations: 186.8 kB / 1.115 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.7972, allocations: 25.7 kB / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.7973, allocations: 140.2 kB / 1.115 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.7973, allocations: 51.23 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.7973, allocations: 0 / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.7974, allocations: 330.8 kB / 1.116 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.7975, allocations: 44 kB / 1.116 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.7976, allocations: 68.7 kB / 1.116 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.825e-05/0.7977, allocations: 47.98 kB / 1.116 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7977, allocations: 0.8438 kB / 1.116 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002215/0.7979, allocations: 154.1 kB / 1.116 GB, free: 1.656 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.555e-05/0.798, allocations: 192.4 kB / 1.116 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.798, allocations: 0 / 1.116 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.798, allocations: 0 / 1.116 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.7982, allocations: 47.91 kB / 1.116 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.7982, allocations: 0 / 1.116 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.7984, allocations: 27.89 kB / 1.116 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.7984, allocations: 0 / 1.116 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-06/0.7984, allocations: 9.031 kB / 1.116 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001571/0.7985, allocations: 103.9 kB / 1.116 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.7986, allocations: 0 / 1.116 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-06/0.7986, allocations: 0 / 1.116 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.7987, allocations: 31.92 kB / 1.116 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.7987, allocations: 4 kB / 1.116 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.7988, allocations: 23.92 kB / 1.116 GB, free: 1.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.7988, allocations: 8 kB / 1.116 GB, free: 1.207 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 6.777e-05/0.7989, allocations: 106.3 kB / 1.116 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.799, allocations: 19.72 kB / 1.116 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.799, allocations: 21.45 kB / 1.116 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.799, allocations: 9.031 kB / 1.116 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.799, allocations: 4 kB / 1.116 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.799, allocations: 0 / 1.116 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.7995, allocations: 486.8 kB / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7995, allocations: 0 / 1.117 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.7997, allocations: 35.97 kB / 1.117 GB, free: 500 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7997, allocations: 4 kB / 1.117 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.7997, allocations: 0 / 1.117 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.7997, allocations: 2.266 kB / 1.117 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.7997, allocations: 0 / 1.117 GB, free: 496 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003287/0.8, allocations: 311.1 kB / 1.117 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005241/0.8006, allocations: 0.7384 MB / 1.118 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.8006, allocations: 96.86 kB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.8007, allocations: 4 kB / 1.118 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.8008, allocations: 15.98 kB / 1.118 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.8009, allocations: 16.03 kB / 1.118 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.8009, allocations: 4 kB / 1.118 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001113/0.801, allocations: 151 kB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001661/0.8027, allocations: 68.53 kB / 1.118 GB, free: 15.04 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001243/0.8028, allocations: 107.2 kB / 1.118 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.8031, allocations: 169.1 kB / 1.119 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.8031, allocations: 0 / 1.119 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.8032, allocations: 55.94 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.8035, allocations: 33.17 kB / 1.119 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006589/0.8042, allocations: 278.1 kB / 1.119 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.8045, allocations: 0.7731 MB / 1.12 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/0.8045, allocations: 0 / 1.12 GB, free: 13.59 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)