Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") [: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.674/1.674, allocations: 289.8 MB / 297.1 MB, free: 9.117 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.001219/0.001219, allocations: 189.2 kB / 366.3 MB, free: 11.34 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.796/1.796, allocations: 205.1 MB / 0.6255 GB, free: 11.45 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008773/0.0008772, allocations: 92.59 kB / 0.7396 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 9.618e-06/9.638e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2932, allocations: 116.3 MB / 0.9726 GB, free: 31.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.415, allocations: 409.3 MB / 1.372 GB, free: 5.863 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/1.415, allocations: 95.25 kB / 1.372 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of FrontEnd: time 6.136/7.552, allocations: 1.616 GB / 2.989 GB, free: 203 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0009334/7.553, allocations: 110.3 kB / 2.989 GB, free: 203 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.01423/7.567, allocations: 3.8 MB / 2.993 GB, free: 201.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/7.567, allocations: 8.938 kB / 2.993 GB, free: 201.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/7.572, allocations: 0.515 MB / 2.993 GB, free: 201.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04239/7.614, allocations: 17.87 MB / 3.011 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/7.614, allocations: 91.56 kB / 3.011 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008517/7.615, allocations: 178.2 kB / 3.011 GB, free: 199.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006834/7.622, allocations: 3.602 MB / 3.014 GB, free: 198.6 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007406/7.629, allocations: 3.951 MB / 3.018 GB, free: 197 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.08e-05/7.629, allocations: 7.438 kB / 3.018 GB, free: 197 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003672/7.63, allocations: 7.656 kB / 3.018 GB, free: 197 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/7.63, allocations: 144.9 kB / 3.018 GB, free: 196.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02692/7.657, allocations: 19.62 MB / 3.038 GB, free: 183.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/7.661, allocations: 2.623 MB / 3.04 GB, free: 182.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001834/7.663, allocations: 1.356 MB / 3.041 GB, free: 182.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004918/7.663, allocations: 0.5381 MB / 3.042 GB, free: 181.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/7.663, allocations: 59.5 kB / 3.042 GB, free: 181.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=184): time 4.008e-06/7.663, allocations: 0 / 3.042 GB, free: 181.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=184): time 0.007385/7.671, allocations: 3.084 MB / 3.045 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/7.671, allocations: 74.22 kB / 3.045 GB, free: 180.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005397/7.676, allocations: 2.921 MB / 3.048 GB, free: 179.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006089/7.677, allocations: 29.2 kB / 3.048 GB, free: 179.3 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/7.678, allocations: 1.189 MB / 3.049 GB, free: 178.4 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/7.679, allocations: 0.6096 MB / 3.05 GB, free: 178 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001452/7.679, allocations: 3.609 kB / 3.05 GB, free: 178 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001774/7.68, allocations: 405.9 kB / 3.05 GB, free: 177.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/7.682, allocations: 1.262 MB / 3.051 GB, free: 177.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002696/7.685, allocations: 1.919 MB / 3.053 GB, free: 175.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003624/7.688, allocations: 1.678 MB / 3.055 GB, free: 175.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.341e-05/7.688, allocations: 7.875 kB / 3.055 GB, free: 175.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.0101/7.698, allocations: 4.025 MB / 3.059 GB, free: 174 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001725/7.7, allocations: 7.231 MB / 3.066 GB, free: 166.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-05/7.7, allocations: 17.11 kB / 3.066 GB, free: 166.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/7.704, allocations: 1.049 MB / 3.067 GB, free: 166.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002607/7.706, allocations: 0.4978 MB / 3.067 GB, free: 166 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005763/7.712, allocations: 4.952 MB / 3.072 GB, free: 162.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004752/7.717, allocations: 370.7 kB / 3.073 GB, free: 162 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004169/7.717, allocations: 126.4 kB / 3.073 GB, free: 162 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/7.717, allocations: 3.312 kB / 3.073 GB, free: 162 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006651/7.724, allocations: 3.458 MB / 3.076 GB, free: 160.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-05/7.724, allocations: 16.47 kB / 3.076 GB, free: 160.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/7.728, allocations: 1.121 MB / 3.077 GB, free: 159.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/7.731, allocations: 478 kB / 3.078 GB, free: 159.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005292/7.736, allocations: 3.587 MB / 3.081 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004564/7.741, allocations: 300.6 kB / 3.081 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004409/7.741, allocations: 115.4 kB / 3.082 GB, free: 157.1 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009717/7.742, allocations: 167.5 kB / 3.082 GB, free: 156.9 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001568/7.744, allocations: 336.4 kB / 3.082 GB, free: 156.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005597/7.749, allocations: 3.18 MB / 3.085 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/7.749, allocations: 27.39 kB / 3.085 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/7.749, allocations: 4 kB / 3.085 GB, free: 153.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003447/7.753, allocations: 2.574 MB / 3.088 GB, free: 150.9 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/7.766, allocations: 6.639 MB / 3.094 GB, free: 144.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/7.766, allocations: 0 / 3.094 GB, free: 144.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/7.767, allocations: 275.6 kB / 3.094 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/7.77, allocations: 0.9748 MB / 3.095 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/7.771, allocations: 19.98 kB / 3.095 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006119/7.777, allocations: 9.724 MB / 3.105 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/7.777, allocations: 0 / 3.105 GB, free: 132.6 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007029/7.784, allocations: 4.716 MB / 3.109 GB, free: 127.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003025/7.787, allocations: 0.8245 MB / 3.11 GB, free: 127 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/7.788, allocations: 4 kB / 3.11 GB, free: 127 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003523/7.792, allocations: 188.1 kB / 3.11 GB, free: 126.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/7.792, allocations: 96.84 kB / 3.111 GB, free: 126.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/7.792, allocations: 91.92 kB / 3.111 GB, free: 126.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003438/7.796, allocations: 2.226 MB / 3.113 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.009929/7.806, allocations: 2.147 MB / 3.115 GB, free: 122.3 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/7.807, allocations: 0.6788 MB / 3.116 GB, free: 121.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.008431/7.816, allocations: 4.858 MB / 3.12 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/7.816, allocations: 3.938 kB / 3.12 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/7.818, allocations: 1.798 MB / 3.122 GB, free: 115 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00914/7.827, allocations: 1.637 MB / 3.124 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/7.842, allocations: 6.569 MB / 3.13 GB, free: 107 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003398/7.846, allocations: 3.283 MB / 3.133 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of SimCode: time 9.12e-07/7.846, allocations: 0 / 3.133 GB, free: 103.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.1296/7.975, allocations: 89.25 MB / 3.22 GB, free: 15.98 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)