Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem.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.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dpSystem") [: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.264/2.264, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001651/0.001651, allocations: 192.9 kB / 319.6 MB, free: 3.32 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.98/1.98, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001304/0.001303, allocations: 97.94 kB / 0.6746 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.997e-06/9.107e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2135, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.857/6.07, allocations: 2.236 GB / 3.124 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/6.071, allocations: 89.52 kB / 3.124 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 15.38/21.45, allocations: 3.032 GB / 6.156 GB, free: 88.04 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0009663/21.45, allocations: 126.4 kB / 6.156 GB, free: 88.02 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 719 * Number of variables: 719 Notification: Performance of Generate backend data structure: time 0.02014/21.47, allocations: 4.701 MB / 6.161 GB, free: 86.22 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/21.47, allocations: 8.625 kB / 6.161 GB, free: 86.22 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/21.49, allocations: 1.568 MB / 6.162 GB, free: 85.94 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02289/21.51, allocations: 4.596 MB / 6.167 GB, free: 85.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/21.51, allocations: 95.72 kB / 6.167 GB, free: 85.13 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/21.51, allocations: 190.1 kB / 6.167 GB, free: 85.13 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01069/21.53, allocations: 2.561 MB / 6.17 GB, free: 85.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01318/21.54, allocations: 2.924 MB / 6.172 GB, free: 84.75 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/21.54, allocations: 7.359 kB / 6.172 GB, free: 84.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000879/21.54, allocations: 9.219 kB / 6.172 GB, free: 84.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001278/21.54, allocations: 100.2 kB / 6.173 GB, free: 84.75 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0431/21.58, allocations: 15.05 MB / 6.187 GB, free: 77.94 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/21.59, allocations: 2.029 MB / 6.189 GB, free: 77.91 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003054/21.59, allocations: 1.077 MB / 6.19 GB, free: 77.89 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007512/21.59, allocations: 399.1 kB / 6.191 GB, free: 77.52 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.482e-05/21.59, allocations: 61.55 kB / 6.191 GB, free: 77.48 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=193): time 5.67e-06/21.59, allocations: 0 / 6.191 GB, free: 77.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=201): time 0.02907/21.62, allocations: 5.575 MB / 6.196 GB, free: 76.24 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/21.62, allocations: 78.28 kB / 6.196 GB, free: 76.17 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009115/21.63, allocations: 2.795 MB / 6.199 GB, free: 75.88 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009298/21.63, allocations: 32.86 kB / 6.199 GB, free: 75.85 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/21.63, allocations: 1.199 MB / 6.2 GB, free: 75.24 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001525/21.64, allocations: 0.6581 MB / 6.201 GB, free: 74.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002753/21.64, allocations: 0 / 6.201 GB, free: 74.79 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002318/21.64, allocations: 398.8 kB / 6.201 GB, free: 74.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/21.64, allocations: 0.8136 MB / 6.202 GB, free: 74.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003755/21.64, allocations: 1.748 MB / 6.204 GB, free: 73.37 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05263/21.7, allocations: 7.657 MB / 6.211 GB, free: 72.89 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.767e-05/21.7, allocations: 6.969 kB / 6.211 GB, free: 72.89 MB / 0.9948 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01252/21.71, allocations: 2.975 MB / 6.214 GB, free: 72.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001896/21.71, allocations: 7.666 MB / 6.222 GB, free: 64.73 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001071/21.71, allocations: 19.08 kB / 6.222 GB, free: 64.73 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/21.71, allocations: 257.9 kB / 6.222 GB, free: 64.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005185/21.72, allocations: 0.5346 MB / 6.222 GB, free: 64.69 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005354/21.72, allocations: 4.572 MB / 6.227 GB, free: 60.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00931/21.73, allocations: 304.5 kB / 6.227 GB, free: 60.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009853/21.73, allocations: 130.8 kB / 6.227 GB, free: 60.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/21.73, allocations: 3.938 kB / 6.227 GB, free: 60.71 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009726/21.74, allocations: 2.38 MB / 6.23 GB, free: 60.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.883e-05/21.74, allocations: 18.94 kB / 6.23 GB, free: 60.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/21.74, allocations: 287.7 kB / 6.23 GB, free: 60.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/21.75, allocations: 0.5219 MB / 6.23 GB, free: 60.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009478/21.76, allocations: 7.289 MB / 6.238 GB, free: 54.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008865/21.77, allocations: 302.9 kB / 6.238 GB, free: 54.35 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008725/21.77, allocations: 121.2 kB / 6.238 GB, free: 54.35 MB / 0.9948 GB Warning: Assuming redundant initial conditions for the following 4 initial equations: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start 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 (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001193/21.77, allocations: 187 kB / 6.238 GB, free: 54.23 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/21.77, allocations: 393 kB / 6.238 GB, free: 54.03 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/21.78, allocations: 2.642 MB / 6.241 GB, free: 53.85 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-05/21.78, allocations: 23.94 kB / 6.241 GB, free: 53.85 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/21.78, allocations: 0 / 6.241 GB, free: 53.85 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007539/21.79, allocations: 2.166 MB / 6.243 GB, free: 53.5 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/21.81, allocations: 6.099 MB / 6.249 GB, free: 52.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/21.81, allocations: 12.75 kB / 6.249 GB, free: 52.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004717/21.82, allocations: 458.9 kB / 6.25 GB, free: 52.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/21.82, allocations: 233.3 kB / 6.25 GB, free: 52.67 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00052/21.82, allocations: 38.8 kB / 6.25 GB, free: 52.67 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/21.82, allocations: 4.509 MB / 6.254 GB, free: 48.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/21.82, allocations: 20.2 kB / 6.254 GB, free: 48.71 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01316/21.84, allocations: 5.004 MB / 6.259 GB, free: 46.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004294/21.84, allocations: 0.7253 MB / 6.26 GB, free: 46.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/21.84, allocations: 20.83 kB / 6.26 GB, free: 46.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007962/21.85, allocations: 255.9 kB / 6.26 GB, free: 46.18 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007763/21.85, allocations: 145.4 kB / 6.26 GB, free: 46.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003938/21.85, allocations: 97.61 kB / 6.26 GB, free: 46.18 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.006413/21.86, allocations: 2.109 MB / 6.262 GB, free: 46 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01366/21.87, allocations: 2.207 MB / 6.265 GB, free: 45.95 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01529/21.89, allocations: 8.331 MB / 6.273 GB, free: 41.86 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01258/21.9, allocations: 4.253 MB / 6.277 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.958e-05/21.9, allocations: 3.594 kB / 6.277 GB, free: 41.1 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003933/21.91, allocations: 1.277 MB / 6.278 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01852/21.92, allocations: 1.875 MB / 6.28 GB, free: 40.82 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02298/21.95, allocations: 6.187 MB / 6.286 GB, free: 39.15 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007447/21.95, allocations: 2.98 MB / 6.289 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of SimCode: time 1.663e-06/21.95, allocations: 2.156 kB / 6.289 GB, free: 38.34 MB / 0.9948 GB Notification: Performance of Templates: time 0.3448/22.3, allocations: 120.6 MB / 6.407 GB, free: 3.449 MB / 1.01 GB