Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.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.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") [: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.192/2.192, allocations: 253.1 MB / 260.4 MB, free: 7.578 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.001648/0.001647, allocations: 181.2 kB / 319.6 MB, free: 3.328 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.9/1.9, 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.001299/0.001299, allocations: 91.33 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.185e-05/1.189e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2212, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.817/6.039, allocations: 2.236 GB / 3.124 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/6.039, allocations: 87.77 kB / 3.124 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 21.43/27.47, allocations: 4.213 GB / 7.337 GB, free: 86.27 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001799/27.47, allocations: 152.3 kB / 7.337 GB, free: 86.25 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.03461/27.5, allocations: 5.763 MB / 7.342 GB, free: 83.7 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/27.5, allocations: 11.69 kB / 7.342 GB, free: 83.7 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02772/27.53, allocations: 1.548 MB / 7.344 GB, free: 83.33 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06141/27.59, allocations: 11.12 MB / 7.355 GB, free: 82.19 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/27.59, allocations: 97.56 kB / 7.355 GB, free: 82.19 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/27.6, allocations: 208.3 kB / 7.355 GB, free: 82.19 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01689/27.61, allocations: 3.506 MB / 7.359 GB, free: 82.16 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0203/27.63, allocations: 3.687 MB / 7.362 GB, free: 81.79 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002017/27.63, allocations: 6.688 kB / 7.362 GB, free: 81.79 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001495/27.64, allocations: 3.625 kB / 7.362 GB, free: 81.79 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002003/27.64, allocations: 108.2 kB / 7.362 GB, free: 81.78 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06863/27.71, allocations: 19.89 MB / 7.382 GB, free: 73.58 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/27.72, allocations: 3.138 MB / 7.385 GB, free: 73.51 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006626/27.72, allocations: 1.797 MB / 7.387 GB, free: 73.49 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/27.73, allocations: 0.5558 MB / 7.387 GB, free: 72.92 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006769/27.73, allocations: 1.732 MB / 7.389 GB, free: 72.85 MB / 1.026 GB Notification: Performance of pre-optimization done (n=179): time 1.053e-05/27.73, allocations: 0 / 7.389 GB, free: 72.85 MB / 1.026 GB Notification: Performance of matching and sorting (n=179): time 0.02461/27.76, allocations: 3.802 MB / 7.392 GB, free: 72.47 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/27.76, allocations: 151.1 kB / 7.393 GB, free: 72.31 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02725/27.78, allocations: 5.873 MB / 7.398 GB, free: 71.93 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001279/27.79, allocations: 31.83 kB / 7.398 GB, free: 71.89 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003693/27.79, allocations: 1.446 MB / 7.4 GB, free: 71.25 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.003376/27.79, allocations: 0.5978 MB / 7.4 GB, free: 70.85 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006577/27.79, allocations: 1.656 kB / 7.4 GB, free: 70.85 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0004633/27.79, allocations: 423 kB / 7.401 GB, free: 70.54 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005925/27.8, allocations: 1.501 MB / 7.402 GB, free: 70.53 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007995/27.81, allocations: 2.738 MB / 7.405 GB, free: 69.02 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009957/27.82, allocations: 1.947 MB / 7.407 GB, free: 68.98 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.065e-05/27.82, allocations: 11.41 kB / 7.407 GB, free: 68.98 MB / 1.026 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.02502/27.84, allocations: 4.805 MB / 7.412 GB, free: 68.61 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.004605/27.85, allocations: 14.88 MB / 7.426 GB, free: 53.41 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002819/27.85, allocations: 36.06 kB / 7.426 GB, free: 53.4 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/27.85, allocations: 448.2 kB / 7.427 GB, free: 53.39 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009854/27.86, allocations: 0.6677 MB / 7.427 GB, free: 53.39 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/27.87, allocations: 4.581 MB / 7.432 GB, free: 50.59 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0132/27.88, allocations: 445.7 kB / 7.432 GB, free: 50.42 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001671/27.89, allocations: 257.5 kB / 7.432 GB, free: 50.42 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/27.89, allocations: 3.094 kB / 7.432 GB, free: 50.42 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01877/27.91, allocations: 3.757 MB / 7.436 GB, free: 50.36 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002333/27.91, allocations: 28.69 kB / 7.436 GB, free: 50.36 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/27.91, allocations: 0.5442 MB / 7.437 GB, free: 50.34 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005889/27.91, allocations: 0.6674 MB / 7.437 GB, free: 50.34 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/27.93, allocations: 7.172 MB / 7.444 GB, free: 47.37 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00895/27.94, allocations: 377.6 kB / 7.445 GB, free: 47.26 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001169/27.94, allocations: 233.3 kB / 7.445 GB, free: 47.26 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 313 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 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.001431/27.95, allocations: 203.6 kB / 7.445 GB, free: 47.13 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/27.95, allocations: 0.5085 MB / 7.445 GB, free: 46.85 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/27.96, allocations: 3.015 MB / 7.448 GB, free: 46.67 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/27.96, allocations: 22.86 kB / 7.448 GB, free: 46.67 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/27.96, allocations: 0 / 7.448 GB, free: 46.67 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007374/27.97, allocations: 2.5 MB / 7.451 GB, free: 46.16 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02618/27.99, allocations: 7.653 MB / 7.458 GB, free: 45.59 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/27.99, allocations: 3.469 kB / 7.458 GB, free: 45.59 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005277/28, allocations: 0.505 MB / 7.459 GB, free: 45.59 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007308/28, allocations: 176.1 kB / 7.459 GB, free: 45.57 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000509/28, allocations: 31.89 kB / 7.459 GB, free: 45.57 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/28, allocations: 3.393 MB / 7.462 GB, free: 42.77 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/28, allocations: 5.281 kB / 7.462 GB, free: 42.77 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01298/28.02, allocations: 4.571 MB / 7.467 GB, free: 41.79 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005134/28.02, allocations: 1.183 MB / 7.468 GB, free: 41.39 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002453/28.02, allocations: 11.91 kB / 7.468 GB, free: 41.39 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007437/28.03, allocations: 243.5 kB / 7.468 GB, free: 41.37 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000727/28.03, allocations: 118.7 kB / 7.468 GB, free: 41.37 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004285/28.03, allocations: 96.03 kB / 7.468 GB, free: 41.37 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.01363/28.05, allocations: 4.374 MB / 7.473 GB, free: 41.15 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.01774/28.06, allocations: 3.16 MB / 7.476 GB, free: 40.8 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02093/28.09, allocations: 11.39 MB / 7.487 GB, free: 34.88 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01947/28.1, allocations: 5.951 MB / 7.493 GB, free: 34.45 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-05/28.1, allocations: 2.625 kB / 7.493 GB, free: 34.44 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.004103/28.11, allocations: 1.193 MB / 7.494 GB, free: 34.18 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02498/28.13, allocations: 2.793 MB / 7.497 GB, free: 33.62 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04943/28.18, allocations: 8.457 MB / 7.505 GB, free: 30.69 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0188/28.2, allocations: 3.894 MB / 7.509 GB, free: 29.48 MB / 1.026 GB Notification: Performance of SimCode: time 2.515e-06/28.2, allocations: 0 / 7.509 GB, free: 29.48 MB / 1.026 GB Notification: Performance of Templates: time 1.085/29.29, allocations: 171.3 MB / 7.676 GB, free: 158.5 MB / 1.042 GB