Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") [: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.139/2.139, allocations: 253.1 MB / 260.4 MB, free: 7.613 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.001683/0.001682, allocations: 181.2 kB / 319.6 MB, free: 3.316 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.772/1.772, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.001327/0.001327, allocations: 99.31 kB / 0.6746 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.288e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.235, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.095/6.33, allocations: 2.459 GB / 3.347 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004074/6.33, allocations: 97.2 kB / 3.347 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.741/10.07, allocations: 0.8504 GB / 4.197 GB, free: 41.17 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003754/10.07, allocations: 59.69 kB / 4.198 GB, free: 41.12 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.007164/10.08, allocations: 2.365 MB / 4.2 GB, free: 38.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/10.08, allocations: 10.88 kB / 4.2 GB, free: 38.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/10.08, allocations: 392.6 kB / 4.2 GB, free: 38.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00733/10.09, allocations: 2.078 MB / 4.202 GB, free: 36.22 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.856e-05/10.09, allocations: 47.94 kB / 4.202 GB, free: 36.17 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004264/10.09, allocations: 88 kB / 4.202 GB, free: 36.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004012/10.09, allocations: 1.13 MB / 4.203 GB, free: 34.95 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006711/10.1, allocations: 1.39 MB / 4.205 GB, free: 33.51 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/10.1, allocations: 3.938 kB / 4.205 GB, free: 33.51 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004123/10.1, allocations: 11.62 kB / 4.205 GB, free: 33.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.981e-05/10.1, allocations: 46.55 kB / 4.205 GB, free: 33.45 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02452/10.13, allocations: 6.7 MB / 4.211 GB, free: 26.63 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/10.13, allocations: 0.8976 MB / 4.212 GB, free: 25.73 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002041/10.13, allocations: 0.5901 MB / 4.213 GB, free: 25.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/10.13, allocations: 0.6837 MB / 4.214 GB, free: 24.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/10.13, allocations: 47.12 kB / 4.214 GB, free: 24.26 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=83): time 5.951e-06/10.13, allocations: 0 / 4.214 GB, free: 24.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85): time 0.01443/10.15, allocations: 2.745 MB / 4.216 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/10.15, allocations: 204.5 kB / 4.216 GB, free: 21.21 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005909/10.15, allocations: 1.514 MB / 4.218 GB, free: 19.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004273/10.15, allocations: 29.7 kB / 4.218 GB, free: 19.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008208/10.16, allocations: 0.5808 MB / 4.219 GB, free: 19.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/10.16, allocations: 283.7 kB / 4.219 GB, free: 18.79 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/10.16, allocations: 0 / 4.219 GB, free: 18.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001663/10.16, allocations: 348.8 kB / 4.219 GB, free: 18.45 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/10.16, allocations: 0.5721 MB / 4.22 GB, free: 17.87 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/10.16, allocations: 0.832 MB / 4.221 GB, free: 16.95 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/10.17, allocations: 2.162 MB / 4.223 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/10.17, allocations: 0 / 4.223 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.006378/10.18, allocations: 1.542 MB / 4.224 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004329/10.18, allocations: 1.471 MB / 4.226 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/10.18, allocations: 4 kB / 4.226 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.507e-05/10.18, allocations: 8 kB / 4.226 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/10.18, allocations: 187.2 kB / 4.226 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/10.18, allocations: 8 kB / 4.226 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/10.19, allocations: 96.44 kB / 4.226 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004514/10.19, allocations: 51.98 kB / 4.226 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/10.19, allocations: 0 / 4.226 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006681/10.19, allocations: 1.344 MB / 4.227 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/10.19, allocations: 4 kB / 4.227 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/10.19, allocations: 8 kB / 4.227 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/10.2, allocations: 182.5 kB / 4.227 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/10.2, allocations: 8 kB / 4.227 GB, free: 9.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/10.2, allocations: 97.19 kB / 4.228 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/10.2, allocations: 55.89 kB / 4.228 GB, free: 9.629 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004362/10.2, allocations: 217.7 kB / 4.228 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005835/10.2, allocations: 177.8 kB / 4.228 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/10.2, allocations: 1.285 MB / 4.229 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/10.2, allocations: 8 kB / 4.229 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/10.2, allocations: 0 / 4.229 GB, free: 7.922 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002733/10.21, allocations: 1.376 MB / 4.231 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009028/10.22, allocations: 3.284 MB / 4.234 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/10.22, allocations: 4 kB / 4.234 GB, free: 3.102 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/10.22, allocations: 167.1 kB / 4.234 GB, free: 2.941 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.99e-05/10.22, allocations: 8 kB / 4.234 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/10.22, allocations: 18.31 kB / 4.234 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.341e-05/10.22, allocations: 15.92 kB / 4.234 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/10.22, allocations: 8 kB / 4.234 GB, free: 2.895 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004921/10.22, allocations: 2.531 MB / 4.236 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/10.22, allocations: 430.8 kB / 4.237 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006315/10.22, allocations: 16 kB / 4.237 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00242/10.23, allocations: 94.03 kB / 4.237 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003759/10.23, allocations: 92.41 kB / 4.237 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/10.23, allocations: 31.98 kB / 4.237 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.003344/10.23, allocations: 1.154 MB / 4.238 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005155/10.24, allocations: 0.8965 MB / 4.239 GB, free: 13.49 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005162/10.24, allocations: 2.4 MB / 4.241 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006133/10.25, allocations: 2.364 MB / 4.244 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/10.25, allocations: 0 / 4.244 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/10.25, allocations: 0.9126 MB / 4.245 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007798/10.26, allocations: 0.8139 MB / 4.245 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/10.27, allocations: 3.137 MB / 4.248 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003028/10.27, allocations: 1.696 MB / 4.25 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of SimCode: time 1.803e-06/10.27, allocations: 4 kB / 4.25 GB, free: 2.473 MB / 0.8855 GB Notification: Performance of Templates: time 0.5427/10.82, allocations: 48.91 MB / 4.298 GB, free: 209.3 MB / 0.8855 GB