Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") [: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 1.981/1.981, allocations: 253.1 MB / 260.4 MB, free: 11.8 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00213/0.00213, allocations: 188.1 kB / 319.6 MB, free: 2.301 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 0.5704 GB, free: 8.344 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001284/0.001284, allocations: 92.98 kB / 0.6746 GB, free: 21.85 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 1.305e-05/1.324e-05, allocations: 0 / 0.7843 GB, free: 5.438 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5651, allocations: 106.3 MB / 0.8881 GB, free: 64.64 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.942/6.507, allocations: 2.46 GB / 3.348 GB, free: 107 MB / 0.878 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/6.508, allocations: 95.92 kB / 3.348 GB, free: 107 MB / 0.878 GB Notification: Performance of FrontEnd: time 6.092/12.6, allocations: 1.206 GB / 4.554 GB, free: 99.96 MB / 0.9093 GB Notification: Performance of Transformations before backend: time 0.000662/12.6, allocations: 86.09 kB / 4.554 GB, free: 99.95 MB / 0.9093 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01116/12.61, allocations: 3.648 MB / 4.558 GB, free: 98.27 MB / 0.9093 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/12.61, allocations: 7.719 kB / 4.558 GB, free: 98.27 MB / 0.9093 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004136/12.62, allocations: 0.5453 MB / 4.558 GB, free: 98.06 MB / 0.9093 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01246/12.63, allocations: 3.446 MB / 4.562 GB, free: 97.45 MB / 0.9093 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/12.63, allocations: 73.53 kB / 4.562 GB, free: 97.45 MB / 0.9093 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008111/12.63, allocations: 135.6 kB / 4.562 GB, free: 97.45 MB / 0.9093 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006407/12.64, allocations: 1.835 MB / 4.564 GB, free: 97.43 MB / 0.9093 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007842/12.64, allocations: 2.249 MB / 4.566 GB, free: 97.15 MB / 0.9093 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.189e-05/12.64, allocations: 10.72 kB / 4.566 GB, free: 97.15 MB / 0.9093 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/12.64, allocations: 6.688 kB / 4.566 GB, free: 97.15 MB / 0.9093 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.164e-05/12.64, allocations: 69.84 kB / 4.566 GB, free: 97.14 MB / 0.9093 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0266/12.67, allocations: 10.94 MB / 4.577 GB, free: 93.27 MB / 0.9093 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/12.68, allocations: 1.446 MB / 4.578 GB, free: 93.22 MB / 0.9093 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/12.68, allocations: 0.9667 MB / 4.579 GB, free: 93.21 MB / 0.9093 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/12.68, allocations: 1.182 MB / 4.58 GB, free: 91.9 MB / 0.9093 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/12.68, allocations: 53.59 kB / 4.58 GB, free: 91.86 MB / 0.9093 GB Notification: Performance of pre-optimization done (n=126): time 4.809e-06/12.68, allocations: 2.656 kB / 4.58 GB, free: 91.86 MB / 0.9093 GB Notification: Performance of matching and sorting (n=132): time 0.0169/12.7, allocations: 4.643 MB / 4.585 GB, free: 90.91 MB / 0.9093 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/12.7, allocations: 340.9 kB / 4.585 GB, free: 90.54 MB / 0.9093 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007627/12.7, allocations: 2.663 MB / 4.588 GB, free: 90.3 MB / 0.9093 GB Notification: Performance of collectPreVariables (initialization): time 0.0005605/12.7, allocations: 33.14 kB / 4.588 GB, free: 90.27 MB / 0.9093 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/12.71, allocations: 0.8897 MB / 4.589 GB, free: 89.83 MB / 0.9093 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009521/12.71, allocations: 434.4 kB / 4.589 GB, free: 89.55 MB / 0.9093 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/12.71, allocations: 5.75 kB / 4.589 GB, free: 89.55 MB / 0.9093 GB Notification: Performance of setup shared object (initialization): time 0.0001505/12.71, allocations: 367.7 kB / 4.589 GB, free: 89.24 MB / 0.9093 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/12.71, allocations: 1.025 MB / 4.59 GB, free: 89.24 MB / 0.9093 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/12.71, allocations: 1.458 MB / 4.592 GB, free: 88.82 MB / 0.9093 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.01209/12.72, allocations: 3.763 MB / 4.596 GB, free: 88.31 MB / 0.9093 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/12.72, allocations: 3.469 kB / 4.596 GB, free: 88.31 MB / 0.9093 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008575/12.73, allocations: 2.789 MB / 4.598 GB, free: 88.07 MB / 0.9093 GB Notification: Performance of prepare postOptimizeDAE: time 0.000677/12.73, allocations: 2.516 MB / 4.601 GB, free: 85.4 MB / 0.9093 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-05/12.73, allocations: 8.25 kB / 4.601 GB, free: 85.4 MB / 0.9093 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007144/12.73, allocations: 144.8 kB / 4.601 GB, free: 85.38 MB / 0.9093 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002327/12.74, allocations: 268.2 kB / 4.601 GB, free: 85.38 MB / 0.9093 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/12.74, allocations: 1.315 MB / 4.602 GB, free: 84.34 MB / 0.9093 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/12.74, allocations: 172.4 kB / 4.603 GB, free: 84.33 MB / 0.9093 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006635/12.74, allocations: 78.41 kB / 4.603 GB, free: 84.33 MB / 0.9093 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/12.74, allocations: 6.25 kB / 4.603 GB, free: 84.33 MB / 0.9093 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008227/12.75, allocations: 2.456 MB / 4.605 GB, free: 84.27 MB / 0.9093 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.589e-05/12.75, allocations: 10.06 kB / 4.605 GB, free: 84.27 MB / 0.9093 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/12.75, allocations: 148.3 kB / 4.605 GB, free: 84.25 MB / 0.9093 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003634/12.76, allocations: 262.4 kB / 4.606 GB, free: 84.25 MB / 0.9093 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/12.76, allocations: 1.313 MB / 4.607 GB, free: 83.21 MB / 0.9093 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006613/12.77, allocations: 175.8 kB / 4.607 GB, free: 83.2 MB / 0.9093 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007902/12.77, allocations: 79.47 kB / 4.607 GB, free: 83.2 MB / 0.9093 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: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001061/12.77, allocations: 326.5 kB / 4.607 GB, free: 82.91 MB / 0.9093 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/12.77, allocations: 302.4 kB / 4.608 GB, free: 82.75 MB / 0.9093 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008617/12.78, allocations: 2.194 MB / 4.61 GB, free: 82.64 MB / 0.9093 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/12.78, allocations: 12.06 kB / 4.61 GB, free: 82.64 MB / 0.9093 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/12.78, allocations: 0 / 4.61 GB, free: 82.64 MB / 0.9093 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005072/12.78, allocations: 1.982 MB / 4.612 GB, free: 82.37 MB / 0.9093 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/12.8, allocations: 5.339 MB / 4.617 GB, free: 81.85 MB / 0.9093 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/12.8, allocations: 9.812 kB / 4.617 GB, free: 81.85 MB / 0.9093 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/12.8, allocations: 249.8 kB / 4.617 GB, free: 81.85 MB / 0.9093 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.87e-05/12.8, allocations: 9.656 kB / 4.617 GB, free: 81.85 MB / 0.9093 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003481/12.8, allocations: 25.86 kB / 4.617 GB, free: 81.85 MB / 0.9093 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.748e-05/12.8, allocations: 19.03 kB / 4.617 GB, free: 81.85 MB / 0.9093 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/12.8, allocations: 6.906 kB / 4.617 GB, free: 81.85 MB / 0.9093 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009164/12.81, allocations: 4.21 MB / 4.621 GB, free: 80.69 MB / 0.9093 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002862/12.81, allocations: 0.6861 MB / 4.622 GB, free: 80.44 MB / 0.9093 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/12.81, allocations: 16.81 kB / 4.622 GB, free: 80.44 MB / 0.9093 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003876/12.82, allocations: 155.5 kB / 4.622 GB, free: 80.43 MB / 0.9093 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006793/12.82, allocations: 144.5 kB / 4.622 GB, free: 80.43 MB / 0.9093 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/12.82, allocations: 58.31 kB / 4.622 GB, free: 80.43 MB / 0.9093 GB Notification: Performance of sort global known variables: time 0.006032/12.83, allocations: 2.01 MB / 4.624 GB, free: 80.28 MB / 0.9093 GB Notification: Performance of remove unused functions: time 0.00832/12.83, allocations: 1.364 MB / 4.626 GB, free: 80.21 MB / 0.9093 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.0061/12.84, allocations: 2.964 MB / 4.629 GB, free: 79.27 MB / 0.9093 GB Notification: Performance of simCode: created initialization part: time 0.009358/12.85, allocations: 4.249 MB / 4.633 GB, free: 78.47 MB / 0.9093 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-05/12.85, allocations: 3.594 kB / 4.633 GB, free: 78.47 MB / 0.9093 GB Notification: Performance of simCode: created simulation system equations: time 0.003932/12.85, allocations: 1.715 MB / 4.634 GB, free: 78.28 MB / 0.9093 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01179/12.87, allocations: 1.351 MB / 4.636 GB, free: 78.26 MB / 0.9093 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/12.88, allocations: 5.264 MB / 4.641 GB, free: 77.06 MB / 0.9093 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004947/12.89, allocations: 2.362 MB / 4.643 GB, free: 76.31 MB / 0.9093 GB Notification: Performance of SimCode: time 1.914e-06/12.89, allocations: 0 / 4.643 GB, free: 76.31 MB / 0.9093 GB Notification: Performance of Templates: time 0.2378/13.13, allocations: 77.22 MB / 4.719 GB, free: 70.19 MB / 0.9093 GB