Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 186.2 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4451/0.4451, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.4 MB / 342.8 MB, free: 5.402 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009735, allocations: 97.69 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.628e-06/9.658e-06, allocations: 4 kB / 493.9 MB, free: 8.062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4115, allocations: 72.3 MB / 0.5529 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.644/1.056, allocations: 372.5 MB / 0.9166 GB, free: 2.023 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004144/1.056, allocations: 91.56 kB / 0.9167 GB, free: 1.977 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.31/6.366, allocations: 1.669 GB / 2.586 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0005562/6.367, allocations: 111.1 kB / 2.586 GB, free: 9.656 MB / 0.6198 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.01049/6.377, allocations: 3.846 MB / 2.59 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/6.377, allocations: 8.031 kB / 2.59 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/6.381, allocations: 0.5255 MB / 2.59 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2744/6.655, allocations: 18.31 MB / 2.608 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/6.655, allocations: 94.16 kB / 2.608 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000676/6.656, allocations: 183.3 kB / 2.608 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00645/6.663, allocations: 3.605 MB / 2.612 GB, free: 122.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005818/6.668, allocations: 3.958 MB / 2.616 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.307e-05/6.669, allocations: 9.656 kB / 2.616 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003353/6.669, allocations: 3.812 kB / 2.616 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/6.669, allocations: 150 kB / 2.616 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02209/6.691, allocations: 19.64 MB / 2.635 GB, free: 112.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/6.695, allocations: 2.611 MB / 2.638 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/6.696, allocations: 1.355 MB / 2.639 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004161/6.697, allocations: 0.5382 MB / 2.64 GB, free: 111.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/6.697, allocations: 63.47 kB / 2.64 GB, free: 111.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=184): time 3.677e-06/6.697, allocations: 0 / 2.64 GB, free: 111.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=184): time 0.006115/6.703, allocations: 3.081 MB / 2.643 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/6.703, allocations: 77.66 kB / 2.643 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/6.707, allocations: 2.973 MB / 2.646 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005269/6.708, allocations: 29.36 kB / 2.646 GB, free: 110.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008725/6.708, allocations: 1.21 MB / 2.647 GB, free: 110.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009147/6.709, allocations: 0.6099 MB / 2.647 GB, free: 110 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/6.71, allocations: 0 / 2.647 GB, free: 110 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001279/6.71, allocations: 409.2 kB / 2.648 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/6.711, allocations: 1.258 MB / 2.649 GB, free: 109.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/6.713, allocations: 1.922 MB / 2.651 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/6.716, allocations: 1.674 MB / 2.653 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/6.716, allocations: 7.094 kB / 2.653 GB, free: 108.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.007154/6.723, allocations: 4.034 MB / 2.657 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001279/6.724, allocations: 7.262 MB / 2.664 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/6.724, allocations: 19.62 kB / 2.664 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003057/6.727, allocations: 1.047 MB / 2.665 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/6.73, allocations: 0.4937 MB / 2.665 GB, free: 101.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/6.734, allocations: 4.946 MB / 2.67 GB, free: 98.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/6.738, allocations: 364.8 kB / 2.67 GB, free: 98.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002627/6.738, allocations: 128.4 kB / 2.67 GB, free: 98.21 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/6.738, allocations: 6.969 kB / 2.67 GB, free: 98.21 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005134/6.743, allocations: 3.459 MB / 2.674 GB, free: 98.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/6.743, allocations: 18.19 kB / 2.674 GB, free: 98.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003643/6.747, allocations: 1.117 MB / 2.675 GB, free: 98.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/6.749, allocations: 486.5 kB / 2.675 GB, free: 98.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/6.753, allocations: 3.586 MB / 2.679 GB, free: 96.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003256/6.756, allocations: 304.7 kB / 2.679 GB, free: 96.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/6.756, allocations: 114.2 kB / 2.679 GB, free: 96.42 MB / 0.6198 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.0006571/6.757, allocations: 167.3 kB / 2.679 GB, free: 96.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008817/6.758, allocations: 341.8 kB / 2.68 GB, free: 96.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005082/6.763, allocations: 3.191 MB / 2.683 GB, free: 95.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/6.763, allocations: 20.36 kB / 2.683 GB, free: 95.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/6.763, allocations: 0 / 2.683 GB, free: 95.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003343/6.766, allocations: 2.583 MB / 2.685 GB, free: 95.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/6.778, allocations: 6.638 MB / 2.692 GB, free: 95.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/6.778, allocations: 6.375 kB / 2.692 GB, free: 95.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/6.779, allocations: 280.7 kB / 2.692 GB, free: 95.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003014/6.782, allocations: 0.9842 MB / 2.693 GB, free: 95.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/6.782, allocations: 16.55 kB / 2.693 GB, free: 95.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005909/6.788, allocations: 9.714 MB / 2.703 GB, free: 87.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/6.788, allocations: 5.328 kB / 2.703 GB, free: 87.5 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006689/6.795, allocations: 4.727 MB / 2.707 GB, free: 86.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002406/6.797, allocations: 0.8253 MB / 2.708 GB, free: 86.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007091/6.798, allocations: 9.031 kB / 2.708 GB, free: 86.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/6.8, allocations: 183.3 kB / 2.708 GB, free: 86.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/6.8, allocations: 102.6 kB / 2.708 GB, free: 86.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/6.8, allocations: 89.12 kB / 2.708 GB, free: 86.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.002856/6.803, allocations: 2.273 MB / 2.711 GB, free: 86.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.007405/6.811, allocations: 2.148 MB / 2.713 GB, free: 86.21 MB / 0.6198 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.001261/6.812, allocations: 0.6648 MB / 2.713 GB, free: 86.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007344/6.819, allocations: 4.87 MB / 2.718 GB, free: 86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/6.819, allocations: 2.906 kB / 2.718 GB, free: 86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/6.821, allocations: 1.783 MB / 2.72 GB, free: 85.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007218/6.829, allocations: 1.643 MB / 2.722 GB, free: 85.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/6.841, allocations: 6.618 MB / 2.728 GB, free: 84.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003439/6.844, allocations: 3.304 MB / 2.731 GB, free: 83.49 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/6.844, allocations: 0 / 2.731 GB, free: 83.49 MB / 0.6198 GB Notification: Performance of Templates: time 0.1324/6.977, allocations: 89.56 MB / 2.819 GB, free: 52.79 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)