Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.608/1.608, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001225/0.001225, allocations: 191.3 kB / 361.1 MB, free: 7.098 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.832/1.832, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0009005/0.0009005, allocations: 94.84 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.115e-05/1.118e-05, allocations: 4 kB / 0.8511 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9115/0.9115, allocations: 115.3 MB / 0.9637 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.989, allocations: 408.3 MB / 1.362 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/1.989, allocations: 94.34 kB / 1.362 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.657/7.646, allocations: 1.616 GB / 2.979 GB, free: 104.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009233/7.647, allocations: 111.4 kB / 2.979 GB, free: 104.7 MB / 0.948 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.01441/7.661, allocations: 3.787 MB / 2.983 GB, free: 100.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/7.661, allocations: 8.531 kB / 2.983 GB, free: 100.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/7.666, allocations: 0.5255 MB / 2.983 GB, free: 100.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04428/7.711, allocations: 17.88 MB / 3.001 GB, free: 82.49 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/7.711, allocations: 96 kB / 3.001 GB, free: 82.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001645/7.713, allocations: 179.9 kB / 3.001 GB, free: 82.22 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009544/7.722, allocations: 3.603 MB / 3.004 GB, free: 78.61 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/7.734, allocations: 3.945 MB / 3.008 GB, free: 74.49 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001423/7.734, allocations: 7.938 kB / 3.008 GB, free: 74.48 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/7.735, allocations: 8 kB / 3.008 GB, free: 74.47 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001572/7.736, allocations: 149.4 kB / 3.009 GB, free: 74.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03052/7.766, allocations: 19.61 MB / 3.028 GB, free: 53.51 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004119/7.77, allocations: 2.619 MB / 3.03 GB, free: 50.89 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/7.772, allocations: 1.354 MB / 3.032 GB, free: 49.54 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/7.773, allocations: 0.5357 MB / 3.032 GB, free: 48.89 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/7.773, allocations: 60.56 kB / 3.032 GB, free: 48.82 MB / 0.948 GB Notification: Performance of pre-optimization done (n=184): time 5.34e-06/7.773, allocations: 0 / 3.032 GB, free: 48.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=184): time 0.007473/7.78, allocations: 3.087 MB / 3.035 GB, free: 45.71 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/7.78, allocations: 73.41 kB / 3.035 GB, free: 45.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006919/7.787, allocations: 2.925 MB / 3.038 GB, free: 42.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008263/7.788, allocations: 29.7 kB / 3.038 GB, free: 42.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/7.79, allocations: 1.196 MB / 3.039 GB, free: 41.45 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/7.791, allocations: 0.6004 MB / 3.04 GB, free: 40.84 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004496/7.792, allocations: 0 / 3.04 GB, free: 40.84 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002684/7.792, allocations: 402.9 kB / 3.04 GB, free: 40.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002149/7.794, allocations: 1.262 MB / 3.041 GB, free: 39.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/7.797, allocations: 1.932 MB / 3.043 GB, free: 36.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003376/7.8, allocations: 1.678 MB / 3.045 GB, free: 35.28 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.917e-05/7.8, allocations: 7.906 kB / 3.045 GB, free: 35.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.009213/7.809, allocations: 4.023 MB / 3.049 GB, free: 31.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00155/7.811, allocations: 7.242 MB / 3.056 GB, free: 23.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/7.811, allocations: 17.12 kB / 3.056 GB, free: 23.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003244/7.814, allocations: 1.04 MB / 3.057 GB, free: 22.41 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00241/7.817, allocations: 0.4953 MB / 3.058 GB, free: 21.92 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005419/7.822, allocations: 4.95 MB / 3.062 GB, free: 16.83 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/7.827, allocations: 365.1 kB / 3.063 GB, free: 16.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006415/7.828, allocations: 123.9 kB / 3.063 GB, free: 16.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/7.828, allocations: 6.344 kB / 3.063 GB, free: 16.35 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006734/7.834, allocations: 3.463 MB / 3.066 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/7.835, allocations: 16.19 kB / 3.066 GB, free: 12.86 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003894/7.838, allocations: 1.115 MB / 3.067 GB, free: 11.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/7.84, allocations: 487.2 kB / 3.068 GB, free: 11.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004078/7.845, allocations: 3.583 MB / 3.071 GB, free: 7.598 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/7.848, allocations: 302.5 kB / 3.072 GB, free: 7.301 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004781/7.849, allocations: 116 kB / 3.072 GB, free: 7.188 MB / 0.948 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.001073/7.85, allocations: 168.3 kB / 3.072 GB, free: 7.016 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001925/7.852, allocations: 328.1 kB / 3.072 GB, free: 6.691 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007034/7.859, allocations: 3.187 MB / 3.075 GB, free: 3.469 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.053e-05/7.859, allocations: 24 kB / 3.075 GB, free: 3.445 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.689e-05/7.859, allocations: 3.906 kB / 3.075 GB, free: 3.441 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003972/7.863, allocations: 2.582 MB / 3.078 GB, free: 0.832 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4539/8.317, allocations: 6.632 MB / 3.084 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/8.317, allocations: 0 / 3.084 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001283/8.318, allocations: 280.1 kB / 3.085 GB, free: 240.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003091/8.321, allocations: 0.9819 MB / 3.085 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/8.322, allocations: 16.88 kB / 3.086 GB, free: 240.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006245/8.328, allocations: 9.72 MB / 3.095 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/8.328, allocations: 0 / 3.095 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006993/8.335, allocations: 4.717 MB / 3.1 GB, free: 232.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002697/8.338, allocations: 0.8282 MB / 3.1 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007525/8.338, allocations: 7.016 kB / 3.1 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/8.341, allocations: 180.5 kB / 3.101 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/8.341, allocations: 105.2 kB / 3.101 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000189/8.341, allocations: 90.84 kB / 3.101 GB, free: 232.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.003379/8.345, allocations: 2.23 MB / 3.103 GB, free: 232.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0104/8.355, allocations: 2.142 MB / 3.105 GB, free: 232 MB / 0.948 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.001877/8.357, allocations: 0.6753 MB / 3.106 GB, free: 231.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009168/8.366, allocations: 4.86 MB / 3.11 GB, free: 231.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/8.366, allocations: 3.688 kB / 3.11 GB, free: 231.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002649/8.369, allocations: 1.777 MB / 3.112 GB, free: 231.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009686/8.379, allocations: 1.643 MB / 3.114 GB, free: 231.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/8.398, allocations: 6.564 MB / 3.12 GB, free: 230.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006454/8.405, allocations: 3.295 MB / 3.123 GB, free: 229.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/8.405, allocations: 0 / 3.123 GB, free: 229.3 MB / 0.948 GB Notification: Performance of Templates: time 0.152/8.557, allocations: 89.24 MB / 3.211 GB, free: 226.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)