Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply") [: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.318/1.318, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.0009098/0.0009097, allocations: 181.3 kB / 366.3 MB, free: 1.945 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.001/1.001, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.000776/0.000776, allocations: 94.64 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.921e-06/5.941e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3828, allocations: 116.3 MB / 0.9726 GB, free: 68.33 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.5141, allocations: 140.5 MB / 1.11 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.5143, allocations: 83.94 kB / 1.11 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0103/0.5246, allocations: 4.225 MB / 1.114 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.5247, allocations: 4 kB / 1.114 GB, free: 3.641 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006773/0.5253, allocations: 0.5526 MB / 1.115 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.5254, allocations: 8.031 kB / 1.115 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.549e-05/0.5255, allocations: 31.62 kB / 1.115 GB, free: 3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.5258, allocations: 289.5 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5258, allocations: 8 kB / 1.115 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.5259, allocations: 12 kB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003099/0.5262, allocations: 172.9 kB / 1.115 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.5265, allocations: 229.8 kB / 1.115 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5265, allocations: 3.984 kB / 1.115 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.5266, allocations: 0.9375 kB / 1.115 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.5266, allocations: 7.984 kB / 1.115 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.5277, allocations: 0.8885 MB / 1.116 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.5281, allocations: 264 kB / 1.116 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5283, allocations: 88.84 kB / 1.116 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.5283, allocations: 8.516 kB / 1.116 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.5285, allocations: 129.5 kB / 1.117 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 1.163e-06/0.5285, allocations: 3.938 kB / 1.117 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0003153/0.5288, allocations: 180.9 kB / 1.117 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.5288, allocations: 110.8 kB / 1.117 GB, free: 480 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.529, allocations: 204.9 kB / 1.117 GB, free: 268 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.5291, allocations: 25.7 kB / 1.117 GB, free: 236 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.181e-05/0.5291, allocations: 148.1 kB / 1.117 GB, free: 84 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.5292, allocations: 67 kB / 1.117 GB, free: 16 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.5292, allocations: 0 / 1.117 GB, free: 16 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5293, allocations: 330.8 kB / 1.118 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.361e-05/0.5294, allocations: 65.86 kB / 1.118 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.5295, allocations: 89.61 kB / 1.118 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.5296, allocations: 59.97 kB / 1.118 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5296, allocations: 0 / 1.118 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002771/0.5299, allocations: 193.3 kB / 1.118 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-05/0.53, allocations: 178 kB / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.53, allocations: 4 kB / 1.118 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.53, allocations: 7.906 kB / 1.118 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.5303, allocations: 55.91 kB / 1.118 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.5303, allocations: 4 kB / 1.118 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/0.5305, allocations: 43.81 kB / 1.118 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.5305, allocations: 4 kB / 1.118 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.07e-06/0.5305, allocations: 4 kB / 1.118 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002148/0.5307, allocations: 126.7 kB / 1.118 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-06/0.5307, allocations: 0 / 1.118 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.306e-06/0.5308, allocations: 7.938 kB / 1.118 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.531, allocations: 49.22 kB / 1.118 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.531, allocations: 6.344 kB / 1.118 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.5311, allocations: 31.88 kB / 1.119 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.5311, allocations: 4 kB / 1.119 GB, free: 14.74 MB / 0.7292 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.643e-05/0.5312, allocations: 112.9 kB / 1.119 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.5313, allocations: 19.72 kB / 1.119 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.5316, allocations: 191.7 kB / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5316, allocations: 0 / 1.119 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5316, allocations: 3.906 kB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/0.5316, allocations: 7.984 kB / 1.119 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006409/0.5323, allocations: 0.592 MB / 1.119 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.5323, allocations: 7.938 kB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.5325, allocations: 47.91 kB / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5325, allocations: 9.531 kB / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.5326, allocations: 3.906 kB / 1.119 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5326, allocations: 3.984 kB / 1.119 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5326, allocations: 0 / 1.119 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004339/0.533, allocations: 382.1 kB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.5331, allocations: 96.77 kB / 1.12 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.5331, allocations: 12.06 kB / 1.12 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.5333, allocations: 27.97 kB / 1.12 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.5334, allocations: 15.89 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.5334, allocations: 4 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001292/0.5335, allocations: 168.4 kB / 1.12 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003559/0.5339, allocations: 91.53 kB / 1.12 GB, free: 12.86 MB / 0.7292 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.0001099/0.534, allocations: 103.2 kB / 1.12 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.5344, allocations: 232.4 kB / 1.121 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5344, allocations: 0 / 1.121 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.5345, allocations: 80.11 kB / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5348, allocations: 38.11 kB / 1.121 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.5354, allocations: 333.6 kB / 1.121 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.5358, allocations: 0.7981 MB / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.5358, allocations: 0 / 1.122 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.00591/0.5417, allocations: 3.222 MB / 1.125 GB, free: 8.07 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)