Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.345/2.345, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001673, allocations: 185.2 kB / 360.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.2 MB / 0.6188 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001334/0.001333, allocations: 91.42 kB / 0.7318 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.424e-05, allocations: 4 kB / 0.8502 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6558/0.6559, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.679, allocations: 408.1 MB / 1.361 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.68, allocations: 97.05 kB / 1.361 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.326/9.006, allocations: 1.616 GB / 2.978 GB, free: 109.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008421/9.007, allocations: 114.7 kB / 2.978 GB, free: 109.3 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.01532/9.022, allocations: 3.792 MB / 2.982 GB, free: 105.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/9.022, allocations: 12.53 kB / 2.982 GB, free: 105.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004946/9.027, allocations: 0.5255 MB / 2.982 GB, free: 104.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.063/9.09, allocations: 17.87 MB / 3 GB, free: 87.05 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/9.09, allocations: 92 kB / 3 GB, free: 86.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001488/9.092, allocations: 179.9 kB / 3 GB, free: 86.79 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01187/9.104, allocations: 3.607 MB / 3.003 GB, free: 83.18 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01354/9.117, allocations: 3.945 MB / 3.007 GB, free: 79.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001205/9.117, allocations: 7.938 kB / 3.007 GB, free: 79.04 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007437/9.118, allocations: 8 kB / 3.007 GB, free: 79.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/9.118, allocations: 145.4 kB / 3.007 GB, free: 78.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04147/9.16, allocations: 19.62 MB / 3.027 GB, free: 58.07 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007078/9.167, allocations: 2.613 MB / 3.029 GB, free: 55.45 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003303/9.17, allocations: 1.354 MB / 3.03 GB, free: 54.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/9.171, allocations: 0.5396 MB / 3.031 GB, free: 53.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/9.171, allocations: 65.19 kB / 3.031 GB, free: 53.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=184): time 4.879e-06/9.171, allocations: 0 / 3.031 GB, free: 53.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=184): time 0.01193/9.183, allocations: 3.087 MB / 3.034 GB, free: 50.26 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/9.183, allocations: 69.41 kB / 3.034 GB, free: 50.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00736/9.19, allocations: 2.925 MB / 3.037 GB, free: 47.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008612/9.191, allocations: 29.7 kB / 3.037 GB, free: 47.21 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00167/9.193, allocations: 1.187 MB / 3.038 GB, free: 46.01 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001662/9.195, allocations: 0.612 MB / 3.039 GB, free: 45.39 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003843/9.195, allocations: 0 / 3.039 GB, free: 45.39 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002438/9.195, allocations: 406.9 kB / 3.039 GB, free: 44.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003379/9.199, allocations: 1.262 MB / 3.04 GB, free: 43.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004108/9.203, allocations: 1.925 MB / 3.042 GB, free: 41.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005517/9.209, allocations: 1.667 MB / 3.044 GB, free: 39.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-05/9.209, allocations: 7.906 kB / 3.044 GB, free: 39.83 MB / 0.948 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01667/9.225, allocations: 4.029 MB / 3.048 GB, free: 35.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001673/9.227, allocations: 7.238 MB / 3.055 GB, free: 28.04 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.721e-05/9.227, allocations: 16 kB / 3.055 GB, free: 28.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006455/9.234, allocations: 1.044 MB / 3.056 GB, free: 26.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004721/9.238, allocations: 0.4992 MB / 3.056 GB, free: 26.47 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009428/9.248, allocations: 4.942 MB / 3.061 GB, free: 21.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007002/9.255, allocations: 365.1 kB / 3.062 GB, free: 21.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/9.256, allocations: 127.9 kB / 3.062 GB, free: 20.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/9.256, allocations: 4 kB / 3.062 GB, free: 20.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01109/9.267, allocations: 3.462 MB / 3.065 GB, free: 17.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/9.267, allocations: 17.09 kB / 3.065 GB, free: 17.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0076/9.275, allocations: 1.112 MB / 3.066 GB, free: 16.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00416/9.279, allocations: 487.2 kB / 3.067 GB, free: 15.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007667/9.287, allocations: 3.583 MB / 3.07 GB, free: 12.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005901/9.293, allocations: 302.6 kB / 3.07 GB, free: 11.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008917/9.294, allocations: 119.9 kB / 3.071 GB, free: 11.74 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.0009855/9.295, allocations: 176.2 kB / 3.071 GB, free: 11.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/9.296, allocations: 328.1 kB / 3.071 GB, free: 11.24 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/9.307, allocations: 3.176 MB / 3.074 GB, free: 8.031 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/9.307, allocations: 20 kB / 3.074 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/9.307, allocations: 3.906 kB / 3.074 GB, free: 8.008 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00732/9.314, allocations: 2.586 MB / 3.077 GB, free: 5.391 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4313/9.745, allocations: 6.632 MB / 3.083 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/9.746, allocations: 3.906 kB / 3.083 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/9.749, allocations: 275.6 kB / 3.083 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00605/9.755, allocations: 0.9802 MB / 3.084 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005195/9.755, allocations: 19.67 kB / 3.084 GB, free: 241.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01024/9.766, allocations: 9.725 MB / 3.094 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/9.766, allocations: 5.562 kB / 3.094 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01299/9.779, allocations: 4.715 MB / 3.099 GB, free: 234 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00367/9.782, allocations: 0.8243 MB / 3.099 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/9.784, allocations: 6.438 kB / 3.099 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005039/9.789, allocations: 183.8 kB / 3.1 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004793/9.789, allocations: 99.38 kB / 3.1 GB, free: 233.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003753/9.79, allocations: 85.06 kB / 3.1 GB, free: 233.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.005392/9.795, allocations: 2.232 MB / 3.102 GB, free: 233.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01396/9.809, allocations: 2.146 MB / 3.104 GB, free: 233.5 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.002263/9.812, allocations: 0.6707 MB / 3.105 GB, free: 233.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01527/9.827, allocations: 4.866 MB / 3.109 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/9.827, allocations: 3.375 kB / 3.109 GB, free: 233.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004356/9.831, allocations: 1.78 MB / 3.111 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01514/9.846, allocations: 1.637 MB / 3.113 GB, free: 232.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/9.868, allocations: 6.565 MB / 3.119 GB, free: 231.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007164/9.875, allocations: 3.281 MB / 3.122 GB, free: 230.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.863e-06/9.875, allocations: 0 / 3.122 GB, free: 230.8 MB / 0.948 GB Notification: Performance of Templates: time 0.2157/10.09, allocations: 89.25 MB / 3.21 GB, free: 227.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)