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.RadiatorSupply.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.RadiatorSupply,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.309/1.309, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009151/0.0009151, allocations: 185.3 kB / 361.1 MB, free: 7.109 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.9979/0.9979, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007531/0.0007533, allocations: 91.59 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1719/0.1727, allocations: 121.5 MB / 0.8512 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.5623, allocations: 115.3 MB / 0.9638 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.6927, allocations: 139.6 MB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.693, allocations: 83.94 kB / 1.1 GB, free: 368 kB / 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.01085/0.7038, allocations: 4.786 MB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.7039, allocations: 8 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.7039, allocations: 36.94 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.7043, allocations: 295.5 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.7043, allocations: 12 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.7043, allocations: 12 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000309/0.7047, allocations: 166.7 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.705, allocations: 229.8 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.705, allocations: 0.7969 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.7051, allocations: 4 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7051, allocations: 4 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.7063, allocations: 0.8925 MB / 1.106 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.7067, allocations: 260 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.7068, allocations: 90.72 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.7069, allocations: 320 / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.707, allocations: 142 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/0.707, allocations: 3.844 kB / 1.107 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0003064/0.7074, allocations: 172.3 kB / 1.107 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.7074, allocations: 106.8 kB / 1.107 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.7076, allocations: 212.2 kB / 1.107 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.7076, allocations: 25.7 kB / 1.107 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.7077, allocations: 152.1 kB / 1.108 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.7078, allocations: 71 kB / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-06/0.7078, allocations: 0 / 1.108 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.7079, allocations: 326.8 kB / 1.108 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.124e-05/0.708, allocations: 56.36 kB / 1.108 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.7081, allocations: 94.88 kB / 1.108 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.7082, allocations: 71.91 kB / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7082, allocations: 0 / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002684/0.7085, allocations: 183.8 kB / 1.108 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.7085, allocations: 182 kB / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.7085, allocations: 0 / 1.108 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.7086, allocations: 3.906 kB / 1.108 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.7088, allocations: 55.94 kB / 1.109 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.7088, allocations: 7.984 kB / 1.109 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.709, allocations: 35.83 kB / 1.109 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.709, allocations: 11.98 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-06/0.709, allocations: 4 kB / 1.109 GB, free: 7.531 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002209/0.7093, allocations: 127.9 kB / 1.109 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-06/0.7093, allocations: 4.031 kB / 1.109 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.582e-06/0.7093, allocations: 4.875 kB / 1.109 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.7095, allocations: 39.98 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.7095, allocations: 0 / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.7096, allocations: 37.25 kB / 1.109 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.7097, allocations: 8 kB / 1.109 GB, free: 7.316 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 7.332e-05/0.7097, allocations: 112.9 kB / 1.109 GB, free: 7.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.7098, allocations: 19.72 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.7101, allocations: 190.4 kB / 1.109 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.7101, allocations: 8 kB / 1.109 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.7101, allocations: 7.844 kB / 1.109 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7101, allocations: 4.922 kB / 1.109 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.7107, allocations: 0.5817 MB / 1.11 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7107, allocations: 0 / 1.11 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.711, allocations: 59.94 kB / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.711, allocations: 0 / 1.11 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.711, allocations: 17.27 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.711, allocations: 0 / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.711, allocations: 3.844 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004197/0.7115, allocations: 385 kB / 1.11 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005713/0.712, allocations: 0.8309 MB / 1.111 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.7121, allocations: 108.8 kB / 1.111 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.7121, allocations: 4.125 kB / 1.111 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001984/0.7123, allocations: 24.88 kB / 1.111 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.7124, allocations: 24.14 kB / 1.111 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.7124, allocations: 4 kB / 1.111 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001251/0.7126, allocations: 164.5 kB / 1.111 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001435/0.714, allocations: 91.44 kB / 1.111 GB, free: 4.582 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.0001118/0.7141, allocations: 111 kB / 1.111 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.7145, allocations: 225.2 kB / 1.112 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7145, allocations: 4 kB / 1.112 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.7146, allocations: 82.81 kB / 1.112 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.7149, allocations: 35.05 kB / 1.112 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.7155, allocations: 335.4 kB / 1.112 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.7159, allocations: 0.795 MB / 1.113 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.7159, allocations: 0 / 1.113 GB, free: 2.953 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)