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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.301/1.301, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009369/0.0009369, allocations: 181.2 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.9938/0.9938, 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.0007972/0.0007972, allocations: 86.91 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.17e-06/5.3e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3835, allocations: 115.3 MB / 0.9637 GB, free: 78.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.512, allocations: 139.6 MB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.5122, allocations: 85.34 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.01069/0.5229, allocations: 4.23 MB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.5229, allocations: 4 kB / 1.104 GB, free: 12.25 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.0006991/0.5236, allocations: 0.5448 MB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5237, allocations: 14.59 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.5238, allocations: 31.62 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.5241, allocations: 289.5 kB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5241, allocations: 8 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.5242, allocations: 19.94 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003247/0.5245, allocations: 165.9 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003549/0.5249, allocations: 229.8 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5249, allocations: 0.8906 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.5249, allocations: 0 / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.5249, allocations: 8 kB / 1.105 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.5262, allocations: 0.8931 MB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.5266, allocations: 264.7 kB / 1.107 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.5267, allocations: 84.86 kB / 1.107 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.5268, allocations: 8.297 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.5269, allocations: 140.9 kB / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=19): time 2.355e-06/0.527, allocations: 0 / 1.107 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=19): time 0.0003067/0.5273, allocations: 177.3 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.5273, allocations: 102.8 kB / 1.107 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.5275, allocations: 208.3 kB / 1.107 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.5276, allocations: 25.7 kB / 1.107 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.5276, allocations: 156.1 kB / 1.107 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.5277, allocations: 59.02 kB / 1.107 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-06/0.5277, allocations: 0 / 1.107 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.758e-05/0.5278, allocations: 338.8 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.5279, allocations: 52.38 kB / 1.108 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.528, allocations: 94.34 kB / 1.108 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.5281, allocations: 66.67 kB / 1.108 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5282, allocations: 4 kB / 1.108 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002932/0.5285, allocations: 189.3 kB / 1.108 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/0.5285, allocations: 180.7 kB / 1.108 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.5285, allocations: 0 / 1.108 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5286, allocations: 8.422 kB / 1.108 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.5288, allocations: 57.12 kB / 1.108 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.5288, allocations: 0 / 1.108 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.529, allocations: 43.81 kB / 1.108 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.5291, allocations: 8 kB / 1.108 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.6e-06/0.5291, allocations: 4 kB / 1.108 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002273/0.5293, allocations: 127.9 kB / 1.109 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-06/0.5293, allocations: 4 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-06/0.5293, allocations: 0 / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.5296, allocations: 48 kB / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-06/0.5296, allocations: 0 / 1.109 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.5297, allocations: 28.7 kB / 1.109 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.5298, allocations: 16.5 kB / 1.109 GB, free: 7.367 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 8.521e-05/0.5298, allocations: 108.9 kB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.5299, allocations: 26.72 kB / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003498/0.5302, allocations: 191.2 kB / 1.109 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5302, allocations: 4 kB / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5303, allocations: 3.906 kB / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5303, allocations: 0 / 1.109 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.5309, allocations: 0.5944 MB / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.531, allocations: 1.75 kB / 1.11 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.5312, allocations: 55.88 kB / 1.11 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5312, allocations: 4 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.5313, allocations: 7.906 kB / 1.11 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5313, allocations: 0 / 1.11 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5313, allocations: 4 kB / 1.11 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004593/0.5317, allocations: 377.1 kB / 1.11 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.5318, allocations: 116.8 kB / 1.11 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.5318, allocations: 0 / 1.11 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5321, allocations: 27.97 kB / 1.11 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.5321, allocations: 15.89 kB / 1.11 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.5321, allocations: 8 kB / 1.11 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001461/0.5323, allocations: 168.5 kB / 1.11 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003731/0.5327, allocations: 83.53 kB / 1.11 GB, free: 5.504 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.0001201/0.5328, allocations: 111.7 kB / 1.111 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.5332, allocations: 229.3 kB / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5332, allocations: 0 / 1.111 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.5333, allocations: 80.06 kB / 1.111 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.5336, allocations: 35.25 kB / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000733/0.5344, allocations: 334.5 kB / 1.111 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/0.5347, allocations: 0.7951 MB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.5347, allocations: 0 / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of Templates: time 0.006236/0.541, allocations: 3.235 MB / 1.115 GB, free: 0.7422 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)