Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic.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.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachineDynamic") [: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.213/2.213, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001694/0.001693, allocations: 181.2 kB / 319.6 MB, free: 3.312 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.883/1.883, 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.001317/0.001317, allocations: 95.27 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.758e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1993, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.484/5.684, allocations: 2.236 GB / 3.124 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/5.684, allocations: 93.83 kB / 3.124 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 21.37/27.05, allocations: 4.259 GB / 7.383 GB, free: 72.03 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.001644/27.05, allocations: 163.2 kB / 7.383 GB, free: 72.01 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: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.028/27.08, allocations: 6.094 MB / 7.389 GB, free: 69.12 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/27.08, allocations: 7.406 kB / 7.389 GB, free: 69.12 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02134/27.1, allocations: 1.794 MB / 7.391 GB, free: 68.73 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0466/27.15, allocations: 11.49 MB / 7.402 GB, free: 67.55 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/27.15, allocations: 107.4 kB / 7.402 GB, free: 67.55 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002301/27.15, allocations: 227.5 kB / 7.402 GB, free: 67.55 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01393/27.16, allocations: 3.757 MB / 7.406 GB, free: 67.52 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/27.18, allocations: 4.038 MB / 7.41 GB, free: 67.08 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/27.18, allocations: 5.031 kB / 7.41 GB, free: 67.08 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001627/27.18, allocations: 3.625 kB / 7.41 GB, free: 67.08 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001516/27.18, allocations: 115.9 kB / 7.41 GB, free: 67.07 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05722/27.24, allocations: 20.66 MB / 7.43 GB, free: 59.12 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009711/27.25, allocations: 3.497 MB / 7.434 GB, free: 59.05 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005397/27.26, allocations: 1.925 MB / 7.436 GB, free: 59.04 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009223/27.26, allocations: 0.5554 MB / 7.436 GB, free: 58.47 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00563/27.26, allocations: 1.896 MB / 7.438 GB, free: 58.39 MB / 1.026 GB Notification: Performance of pre-optimization done (n=207): time 6.031e-06/27.26, allocations: 1.188 kB / 7.438 GB, free: 58.39 MB / 1.026 GB Notification: Performance of matching and sorting (n=207): time 0.01863/27.28, allocations: 4.091 MB / 7.442 GB, free: 58 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/27.28, allocations: 332.6 kB / 7.442 GB, free: 57.62 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02099/27.3, allocations: 6.06 MB / 7.448 GB, free: 57.23 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.001256/27.3, allocations: 32.39 kB / 7.448 GB, free: 57.2 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.003267/27.31, allocations: 1.538 MB / 7.45 GB, free: 56.52 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.002671/27.31, allocations: 0.6888 MB / 7.45 GB, free: 56.05 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005893/27.31, allocations: 0 / 7.45 GB, free: 56.05 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0003852/27.31, allocations: 436.1 kB / 7.451 GB, free: 55.75 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004736/27.32, allocations: 1.669 MB / 7.452 GB, free: 55.73 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00612/27.32, allocations: 2.938 MB / 7.455 GB, free: 54.2 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007513/27.33, allocations: 2.121 MB / 7.457 GB, free: 54.14 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.385e-05/27.33, allocations: 9.25 kB / 7.457 GB, free: 54.14 MB / 1.026 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.01889/27.35, allocations: 5.23 MB / 7.462 GB, free: 53.7 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.00336/27.35, allocations: 14.66 MB / 7.477 GB, free: 38.4 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/27.35, allocations: 37.61 kB / 7.477 GB, free: 38.4 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/27.35, allocations: 445.8 kB / 7.477 GB, free: 38.39 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008331/27.36, allocations: 0.7631 MB / 7.478 GB, free: 38.39 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007785/27.37, allocations: 4.585 MB / 7.482 GB, free: 35.58 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01055/27.38, allocations: 470.1 kB / 7.483 GB, free: 35.41 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001661/27.38, allocations: 276.6 kB / 7.483 GB, free: 35.41 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/27.38, allocations: 3.219 kB / 7.483 GB, free: 35.41 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02516/27.41, allocations: 4.076 MB / 7.487 GB, free: 35.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000274/27.41, allocations: 36.5 kB / 7.487 GB, free: 35.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003689/27.41, allocations: 0.5454 MB / 7.488 GB, free: 35.18 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/27.42, allocations: 0.7337 MB / 7.488 GB, free: 35.13 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03035/27.45, allocations: 7.186 MB / 7.495 GB, free: 32.11 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01405/27.47, allocations: 393.9 kB / 7.496 GB, free: 31.98 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/27.47, allocations: 237.8 kB / 7.496 GB, free: 31.98 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (361): * Single equations (assignments): 343 * Array equations: 8 * Algorithm blocks: 1 * Record equations: 4 * 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.002562/27.47, allocations: 206.6 kB / 7.496 GB, free: 31.81 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003015/27.47, allocations: 0.5428 MB / 7.497 GB, free: 31.51 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02362/27.5, allocations: 3.35 MB / 7.5 GB, free: 31.23 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.893e-05/27.5, allocations: 20.25 kB / 7.5 GB, free: 31.23 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/27.5, allocations: 9.328 kB / 7.5 GB, free: 31.23 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01039/27.51, allocations: 2.761 MB / 7.503 GB, free: 29.98 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03042/27.54, allocations: 8.3 MB / 7.511 GB, free: 26.51 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/27.54, allocations: 3.219 kB / 7.511 GB, free: 26.51 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006569/27.54, allocations: 0.5648 MB / 7.511 GB, free: 26.47 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008072/27.55, allocations: 177 kB / 7.512 GB, free: 26.41 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006183/27.55, allocations: 43.05 kB / 7.512 GB, free: 26.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003299/27.55, allocations: 3.39 MB / 7.515 GB, free: 23.38 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-05/27.55, allocations: 13.84 kB / 7.515 GB, free: 23.37 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01668/27.57, allocations: 5.059 MB / 7.52 GB, free: 20.97 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006235/27.57, allocations: 1.255 MB / 7.521 GB, free: 20.18 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002987/27.58, allocations: 17.28 kB / 7.521 GB, free: 20.18 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009341/27.59, allocations: 257.4 kB / 7.521 GB, free: 20.16 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008753/27.59, allocations: 125.1 kB / 7.522 GB, free: 20.14 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004624/27.59, allocations: 110 kB / 7.522 GB, free: 20.12 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.01548/27.6, allocations: 4.517 MB / 7.526 GB, free: 18.24 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02077/27.62, allocations: 3.293 MB / 7.529 GB, free: 17.14 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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],fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.x[1],fan4.filter.x[2]) * 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 (207): * Single equations (assignments): 200 * 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.02002/27.64, allocations: 11.4 MB / 7.54 GB, free: 7.035 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01939/27.66, allocations: 6.672 MB / 7.547 GB, free: 0.7773 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/27.66, allocations: 6.375 kB / 7.547 GB, free: 0.7734 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0054/27.67, allocations: 1.4 MB / 7.548 GB, free: 15.68 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02681/27.69, allocations: 2.879 MB / 7.551 GB, free: 13.6 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03477/27.73, allocations: 9.163 MB / 7.56 GB, free: 5.473 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01271/27.74, allocations: 4.118 MB / 7.564 GB, free: 2.391 MB / 1.042 GB Notification: Performance of SimCode: time 2.104e-06/27.74, allocations: 0 / 7.564 GB, free: 2.391 MB / 1.042 GB Notification: Performance of Templates: time 1.137/28.88, allocations: 178.2 MB / 7.738 GB, free: 153 MB / 1.057 GB