Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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 1.6.0+build.1/package.mo): time 0.4865/0.4865, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001307/0.001308, allocations: 182.5 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.344/1.344, allocations: 170.5 MB / 319 MB, free: 9.406 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00168/0.00168, allocations: 109.8 kB / 381 MB, free: 18.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.426e-06, allocations: 0 / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 61.52 MB / 0.4981 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.517, allocations: 411.1 MB / 0.8996 GB, free: 190 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/1.518, allocations: 92.94 kB / 0.8996 GB, free: 190 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.821/3.339, allocations: 0.5361 GB / 1.436 GB, free: 83.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005132/3.34, allocations: 87.09 kB / 1.436 GB, free: 83.71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 672 * Number of variables: 672 Notification: Performance of Generate backend data structure: time 0.0122/3.352, allocations: 3.081 MB / 1.439 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/3.352, allocations: 8.969 kB / 1.439 GB, free: 81.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/3.356, allocations: 461.7 kB / 1.439 GB, free: 81.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04192/3.398, allocations: 16.81 MB / 1.456 GB, free: 68.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/3.399, allocations: 80 kB / 1.456 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001795/3.401, allocations: 175.5 kB / 1.456 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007787/3.408, allocations: 3.118 MB / 1.459 GB, free: 65.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005661/3.414, allocations: 3.509 MB / 1.462 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.909e-05/3.414, allocations: 11.92 kB / 1.462 GB, free: 61.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003113/3.414, allocations: 4 kB / 1.462 GB, free: 61.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-05/3.415, allocations: 109 kB / 1.463 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02059/3.435, allocations: 16.32 MB / 1.479 GB, free: 44.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/3.439, allocations: 2.613 MB / 1.481 GB, free: 41.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/3.44, allocations: 1.402 MB / 1.482 GB, free: 40.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008453/3.449, allocations: 4.113 MB / 1.486 GB, free: 36.21 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/3.449, allocations: 52.75 kB / 1.487 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=181): time 4.378e-06/3.449, allocations: 0 / 1.487 GB, free: 36.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=197): time 0.01593/3.465, allocations: 7.053 MB / 1.493 GB, free: 29.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/3.465, allocations: 124.8 kB / 1.494 GB, free: 28.87 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/3.468, allocations: 2.133 MB / 1.496 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004164/3.469, allocations: 29.7 kB / 1.496 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006599/3.47, allocations: 1.052 MB / 1.497 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006739/3.47, allocations: 0.6466 MB / 1.497 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/3.47, allocations: 0 / 1.497 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001649/3.471, allocations: 422 kB / 1.498 GB, free: 24.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/3.472, allocations: 1.258 MB / 1.499 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/3.474, allocations: 1.967 MB / 1.501 GB, free: 21.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/3.477, allocations: 1.693 MB / 1.502 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/3.477, allocations: 8 kB / 1.502 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.008346/3.485, allocations: 4.876 MB / 1.507 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00168/3.487, allocations: 7.821 MB / 1.515 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/3.487, allocations: 20 kB / 1.515 GB, free: 5.672 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003767/3.491, allocations: 1.455 MB / 1.516 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/3.494, allocations: 0.5929 MB / 1.517 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3238/3.818, allocations: 13.56 MB / 1.53 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004541/3.822, allocations: 224.7 kB / 1.53 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007047/3.823, allocations: 128.5 kB / 1.53 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/3.823, allocations: 3.281 kB / 1.531 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007164/3.83, allocations: 4.328 MB / 1.535 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/3.83, allocations: 22.69 kB / 1.535 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00461/3.835, allocations: 1.552 MB / 1.536 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/3.837, allocations: 0.5281 MB / 1.537 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/3.849, allocations: 12.23 MB / 1.549 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/3.853, allocations: 189.2 kB / 1.549 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005193/3.853, allocations: 126.1 kB / 1.549 GB, free: 106.1 MB / 0.5261 GB Warning: Assuming fixed start value for the following 5 variables: rad1.vol[5].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[5].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad1.vol[4].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[4].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad1.vol[3].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[3].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad1.vol[2].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[2].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] rad1.vol[1].dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = rad1.vol[1].dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (218): * Single equations (assignments): 208 * 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: 8 * 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%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 3 {5 16,5 40,5 16} Notification: Performance of prepare postOptimizeDAE: time 0.001143/3.855, allocations: 221.8 kB / 1.549 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001148/3.856, allocations: 264.4 kB / 1.549 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006592/3.862, allocations: 3.819 MB / 1.553 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/3.862, allocations: 19.72 kB / 1.553 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/3.862, allocations: 3.719 kB / 1.553 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.019e-05/3.862, allocations: 7.547 kB / 1.553 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/3.874, allocations: 6.674 MB / 1.56 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.577e-06/3.874, allocations: 1.719 kB / 1.56 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/3.876, allocations: 447.2 kB / 1.56 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/3.879, allocations: 0.9159 MB / 1.561 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/3.879, allocations: 34.86 kB / 1.561 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008817/3.888, allocations: 11.41 MB / 1.572 GB, free: 96.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/3.888, allocations: 3.719 kB / 1.572 GB, free: 96.35 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007714/3.895, allocations: 5.314 MB / 1.577 GB, free: 95.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/3.897, allocations: 376.6 kB / 1.578 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004862/3.898, allocations: 13.55 kB / 1.578 GB, free: 95.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/3.9, allocations: 138.4 kB / 1.578 GB, free: 95.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/3.9, allocations: 112.2 kB / 1.578 GB, free: 95.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001968/3.9, allocations: 88.8 kB / 1.578 GB, free: 95.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002378/3.902, allocations: 1.607 MB / 1.58 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006475/3.909, allocations: 1.504 MB / 1.581 GB, free: 95.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (rad1.vol[1].dynBal.medium.T,rad1.vol[2].dynBal.medium.T,rad1.vol[3].dynBal.medium.T,rad1.vol[4].dynBal.medium.T,rad1.vol[5].dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 130 * 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: 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%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 1 {5 50} Notification: Performance of Backend phase and start with SimCode phase: time 0.001566/3.91, allocations: 0.6071 MB / 1.582 GB, free: 94.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01187/3.922, allocations: 6.344 MB / 1.588 GB, free: 93.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/3.922, allocations: 3.562 kB / 1.588 GB, free: 93.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/3.926, allocations: 1.951 MB / 1.59 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008643/3.934, allocations: 1.467 MB / 1.591 GB, free: 93.33 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/3.948, allocations: 5.906 MB / 1.597 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002951/3.951, allocations: 2.834 MB / 1.6 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/3.951, allocations: 0 / 1.6 GB, free: 91.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.139/4.09, allocations: 85.9 MB / 1.684 GB, free: 66.09 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)