Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.042/2.042, allocations: 253.1 MB / 260.4 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001572/0.001572, allocations: 180 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002135/0.002135, allocations: 106.2 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.767e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2232, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.406/1.629, allocations: 401.5 MB / 1.28 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.629, allocations: 94.28 kB / 1.28 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.029/8.659, allocations: 1.575 GB / 2.855 GB, free: 64.95 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000893/8.659, allocations: 105.5 kB / 2.855 GB, free: 64.85 MB / 0.8698 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.01629/8.676, allocations: 3.796 MB / 2.859 GB, free: 61.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/8.676, allocations: 8.031 kB / 2.859 GB, free: 61.01 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005366/8.681, allocations: 0.5178 MB / 2.859 GB, free: 60.49 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06401/8.745, allocations: 17.51 MB / 2.876 GB, free: 43.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/8.746, allocations: 96 kB / 2.877 GB, free: 42.92 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/8.747, allocations: 179.9 kB / 2.877 GB, free: 42.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01226/8.759, allocations: 3.603 MB / 2.88 GB, free: 39.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01316/8.773, allocations: 3.886 MB / 2.884 GB, free: 35.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/8.773, allocations: 11.84 kB / 2.884 GB, free: 35.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006868/8.773, allocations: 8 kB / 2.884 GB, free: 35.05 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/8.774, allocations: 149.4 kB / 2.884 GB, free: 34.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04148/8.815, allocations: 19.56 MB / 2.903 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007072/8.822, allocations: 2.618 MB / 2.906 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003282/8.826, allocations: 1.358 MB / 2.907 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/8.826, allocations: 0.5435 MB / 2.908 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/8.826, allocations: 60.62 kB / 2.908 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=184): time 4.729e-06/8.826, allocations: 0 / 2.908 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of matching and sorting (n=184): time 0.01185/8.838, allocations: 3.09 MB / 2.911 GB, free: 6.434 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/8.838, allocations: 69.41 kB / 2.911 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007777/8.846, allocations: 2.929 MB / 2.914 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009204/8.847, allocations: 29.7 kB / 2.914 GB, free: 3.387 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/8.849, allocations: 1.192 MB / 2.915 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001696/8.85, allocations: 0.6081 MB / 2.915 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/8.851, allocations: 0 / 2.915 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002152/8.851, allocations: 410.9 kB / 2.916 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003329/8.854, allocations: 1.254 MB / 2.917 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004673/8.859, allocations: 1.925 MB / 2.919 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006435/8.865, allocations: 1.669 MB / 2.921 GB, free: 12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-05/8.865, allocations: 8 kB / 2.921 GB, free: 12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01717/8.883, allocations: 4.027 MB / 2.925 GB, free: 7.949 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.003176/8.886, allocations: 7.23 MB / 2.932 GB, free: 220 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.951e-05/8.886, allocations: 16 kB / 2.932 GB, free: 204 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3828/9.269, allocations: 1.044 MB / 2.933 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004641/9.273, allocations: 0.5014 MB / 2.933 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009456/9.283, allocations: 4.937 MB / 2.938 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006968/9.29, allocations: 367.8 kB / 2.938 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001062/9.291, allocations: 128.3 kB / 2.938 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/9.291, allocations: 3.906 kB / 2.938 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01148/9.303, allocations: 3.463 MB / 2.942 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/9.303, allocations: 14.22 kB / 2.942 GB, free: 222.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007642/9.31, allocations: 1.116 MB / 2.943 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004265/9.315, allocations: 477 kB / 2.943 GB, free: 222.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00845/9.323, allocations: 3.592 MB / 2.947 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006553/9.33, allocations: 298.7 kB / 2.947 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001151/9.331, allocations: 125.3 kB / 2.947 GB, free: 220.6 MB / 0.8855 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.001104/9.332, allocations: 163.7 kB / 2.947 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001827/9.334, allocations: 324.2 kB / 2.948 GB, free: 220.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/9.345, allocations: 3.199 MB / 2.951 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.889e-05/9.346, allocations: 18.94 kB / 2.951 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/9.346, allocations: 0 / 2.951 GB, free: 220.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00788/9.353, allocations: 2.584 MB / 2.953 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02222/9.376, allocations: 6.589 MB / 2.96 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/9.376, allocations: 3.219 kB / 2.96 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/9.379, allocations: 279.7 kB / 2.96 GB, free: 219.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006038/9.385, allocations: 0.9798 MB / 2.961 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005753/9.385, allocations: 17.08 kB / 2.961 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01032/9.396, allocations: 9.719 MB / 2.971 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/9.396, allocations: 7.219 kB / 2.971 GB, free: 211.9 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01322/9.409, allocations: 4.701 MB / 2.975 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003707/9.413, allocations: 0.8071 MB / 2.976 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001512/9.414, allocations: 9.875 kB / 2.976 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005329/9.42, allocations: 179.2 kB / 2.976 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007315/9.421, allocations: 99.98 kB / 2.976 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003875/9.421, allocations: 85.72 kB / 2.976 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.005731/9.427, allocations: 2.23 MB / 2.978 GB, free: 210.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01489/9.442, allocations: 2.143 MB / 2.981 GB, free: 210.8 MB / 0.8855 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.002416/9.444, allocations: 0.6663 MB / 2.981 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01667/9.461, allocations: 4.867 MB / 2.986 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/9.461, allocations: 3.906 kB / 2.986 GB, free: 210.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.005204/9.466, allocations: 1.778 MB / 2.988 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01527/9.481, allocations: 1.644 MB / 2.989 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02266/9.504, allocations: 6.547 MB / 2.996 GB, free: 208.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006392/9.511, allocations: 3.287 MB / 2.999 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of SimCode: time 2.214e-06/9.511, allocations: 0 / 2.999 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.2161/9.727, allocations: 88.63 MB / 3.085 GB, free: 204.9 MB / 0.8855 GB