Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",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.0/package.mo): time 2.985/2.985, allocations: 284.8 MB / 292.1 MB, free: 10.73 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.001684/0.001683, allocations: 185.2 kB / 360.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.449/2.449, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001474/0.001473, allocations: 89.17 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4006/0.4021, allocations: 121.4 MB / 0.8502 GB, free: 3.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9169/1.319, allocations: 115.2 MB / 0.9628 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3345/1.654, allocations: 139.4 MB / 1.099 GB, free: 1.461 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004837/1.654, allocations: 89.41 kB / 1.099 GB, free: 1.379 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.03084/1.685, allocations: 4.773 MB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/1.685, allocations: 11.94 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/1.685, allocations: 39.55 kB / 1.104 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/1.686, allocations: 290.8 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/1.686, allocations: 10.08 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/1.686, allocations: 16 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008097/1.687, allocations: 169 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008552/1.688, allocations: 229.8 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/1.688, allocations: 0 / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/1.688, allocations: 0 / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/1.689, allocations: 8 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004968/1.694, allocations: 0.8931 MB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/1.695, allocations: 264.7 kB / 1.105 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/1.695, allocations: 82.72 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-05/1.695, allocations: 8.297 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/1.696, allocations: 139 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 5.07e-06/1.696, allocations: 0 / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0008364/1.697, allocations: 182.4 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/1.697, allocations: 107 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006014/1.697, allocations: 204.3 kB / 1.106 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/1.698, allocations: 29.64 kB / 1.106 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/1.698, allocations: 152.1 kB / 1.106 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/1.698, allocations: 63.02 kB / 1.106 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/1.698, allocations: 4 kB / 1.106 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002289/1.698, allocations: 334.8 kB / 1.107 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/1.698, allocations: 52.38 kB / 1.107 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/1.699, allocations: 92.84 kB / 1.107 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/1.699, allocations: 55.98 kB / 1.107 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/1.699, allocations: 8 kB / 1.107 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008256/1.7, allocations: 193.8 kB / 1.107 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/1.7, allocations: 178 kB / 1.107 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.7, allocations: 0 / 1.107 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/1.7, allocations: 7.906 kB / 1.107 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006603/1.701, allocations: 55.94 kB / 1.107 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/1.701, allocations: 0 / 1.107 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/1.702, allocations: 44.56 kB / 1.107 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/1.702, allocations: 4 kB / 1.107 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.702, allocations: 5.25 kB / 1.107 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006052/1.702, allocations: 133.3 kB / 1.108 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.702, allocations: 4 kB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/1.702, allocations: 4.031 kB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005392/1.703, allocations: 49.72 kB / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.703, allocations: 0 / 1.108 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/1.703, allocations: 27.89 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/1.703, allocations: 8 kB / 1.108 GB, free: 8.328 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 (21): * Single equations (assignments): 21 * 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 0.0002248/1.704, allocations: 116.8 kB / 1.108 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/1.704, allocations: 23.72 kB / 1.108 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008697/1.705, allocations: 184.3 kB / 1.108 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.705, allocations: 4 kB / 1.108 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.705, allocations: 7.906 kB / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/1.705, allocations: 0 / 1.108 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/1.707, allocations: 0.5965 MB / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/1.707, allocations: 0 / 1.109 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/1.707, allocations: 49.38 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/1.707, allocations: 7.938 kB / 1.109 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/1.707, allocations: 3.906 kB / 1.109 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.707, allocations: 7.938 kB / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.708, allocations: 0 / 1.109 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001225/1.709, allocations: 382.9 kB / 1.109 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00176/1.711, allocations: 0.8453 MB / 1.11 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002523/1.711, allocations: 105.5 kB / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.795e-05/1.711, allocations: 0 / 1.11 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/1.712, allocations: 33.22 kB / 1.11 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.712, allocations: 7.984 kB / 1.11 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/1.712, allocations: 8 kB / 1.11 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003849/1.712, allocations: 168.5 kB / 1.11 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004238/1.716, allocations: 93.22 kB / 1.11 GB, free: 5.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.000369/1.717, allocations: 103.2 kB / 1.11 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002321/1.719, allocations: 221.2 kB / 1.11 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.719, allocations: 0 / 1.11 GB, free: 5.262 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/1.72, allocations: 83.92 kB / 1.111 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007969/1.72, allocations: 29.69 kB / 1.111 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/1.722, allocations: 338.7 kB / 1.111 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009716/1.723, allocations: 0.7981 MB / 1.112 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of SimCode: time 2.043e-06/1.723, allocations: 0 / 1.112 GB, free: 3.969 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)