Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009163/0.0009163, allocations: 177.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9811/0.9811, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007709/0.000771, allocations: 98.66 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1703/0.1711, allocations: 121.5 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.5682, allocations: 115.3 MB / 0.9638 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.6969, allocations: 138.8 MB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.6972, allocations: 91.5 kB / 1.099 GB, free: 1.105 MB / 0.698 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.008325/0.7055, allocations: 3.811 MB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.7056, allocations: 8 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.994e-05/0.7056, allocations: 23.72 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.7059, allocations: 267.5 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.706, allocations: 8 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.706, allocations: 11.83 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002295/0.7062, allocations: 133.4 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.7065, allocations: 184.9 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.7065, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.7065, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.7065, allocations: 4 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009155/0.7075, allocations: 0.7762 MB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/0.7078, allocations: 150.9 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.7079, allocations: 69.36 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.7079, allocations: 4.25 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.7081, allocations: 95.39 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.7081, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.000236/0.7083, allocations: 137.4 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.7084, allocations: 81.11 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.7085, allocations: 185.8 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.7085, allocations: 26.83 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.7086, allocations: 136.2 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.7086, allocations: 47.3 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.7087, allocations: 4 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.7088, allocations: 330.8 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.836e-05/0.7088, allocations: 43.94 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.7089, allocations: 71.44 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.882e-05/0.709, allocations: 46.94 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.709, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002139/0.7092, allocations: 157.5 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.927e-05/0.7093, allocations: 181.8 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7093, allocations: 0.6562 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.7093, allocations: 4.938 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.7095, allocations: 44 kB / 1.106 GB, free: 9.957 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7095, allocations: 4 kB / 1.106 GB, free: 9.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.7097, allocations: 27.89 kB / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.7097, allocations: 7.984 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.071e-06/0.7097, allocations: 4 kB / 1.106 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001512/0.7099, allocations: 99.8 kB / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-06/0.7099, allocations: 0 / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-06/0.7099, allocations: 0 / 1.106 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.71, allocations: 35.98 kB / 1.106 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-06/0.71, allocations: 7.875 kB / 1.106 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.7101, allocations: 19.89 kB / 1.106 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.7102, allocations: 4 kB / 1.106 GB, free: 9.758 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.771e-05/0.7102, allocations: 113.4 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.7103, allocations: 27.7 kB / 1.107 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.7103, allocations: 17.47 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7103, allocations: 0 / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.7103, allocations: 0 / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.7103, allocations: 0.6562 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.7107, allocations: 490.4 kB / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7108, allocations: 0 / 1.107 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.7109, allocations: 49.34 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.7109, allocations: 0 / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.711, allocations: 4 kB / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.711, allocations: 0 / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.711, allocations: 0 / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003085/0.7113, allocations: 295.2 kB / 1.107 GB, free: 8.727 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004557/0.7118, allocations: 0.7489 MB / 1.108 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.622e-05/0.7118, allocations: 93.38 kB / 1.108 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.7118, allocations: 0 / 1.108 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.712, allocations: 24.05 kB / 1.108 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.7121, allocations: 11.98 kB / 1.108 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.7121, allocations: 6.047 kB / 1.108 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001002/0.7122, allocations: 148.4 kB / 1.108 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00138/0.7136, allocations: 67.84 kB / 1.108 GB, free: 7.602 MB / 0.7136 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.0001048/0.7137, allocations: 107.8 kB / 1.109 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002629/0.7139, allocations: 168.9 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.714, allocations: 4 kB / 1.109 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.783e-05/0.714, allocations: 59.92 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.7143, allocations: 23.98 kB / 1.109 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.7149, allocations: 283.5 kB / 1.109 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003233/0.7152, allocations: 0.7776 MB / 1.11 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/0.7153, allocations: 0 / 1.11 GB, free: 6.141 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)