Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y.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.SpeedControlled_y,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_y") [: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.042/2.042, 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.001661/0.00166, allocations: 189.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.933/1.933, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001339/0.001339, allocations: 89.77 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.262e-05/1.28e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2806, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.497/5.778, allocations: 2.231 GB / 3.119 GB, free: 126 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/5.778, allocations: 86.33 kB / 3.119 GB, free: 125.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.516/13.29, allocations: 1.487 GB / 4.607 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0004674/13.29, allocations: 57.41 kB / 4.607 GB, free: 105.9 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.01027/13.3, allocations: 2.576 MB / 4.609 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/13.3, allocations: 11.62 kB / 4.609 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/13.31, allocations: 0.8887 MB / 4.61 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01406/13.33, allocations: 3.076 MB / 4.613 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/13.33, allocations: 45.44 kB / 4.613 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000724/13.33, allocations: 96.41 kB / 4.613 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005045/13.34, allocations: 1.343 MB / 4.615 GB, free: 104.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005408/13.34, allocations: 1.506 MB / 4.616 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.828e-05/13.34, allocations: 0 / 4.616 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002519/13.34, allocations: 7.75 kB / 4.616 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/13.34, allocations: 50.94 kB / 4.616 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01963/13.36, allocations: 7.836 MB / 4.624 GB, free: 100.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/13.36, allocations: 0.9896 MB / 4.625 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/13.37, allocations: 0.6021 MB / 4.625 GB, free: 100.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004598/13.37, allocations: 282.4 kB / 4.626 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/13.37, allocations: 43.66 kB / 4.626 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=85): time 3.667e-06/13.37, allocations: 0 / 4.626 GB, free: 100.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85): time 0.007905/13.37, allocations: 1.393 MB / 4.627 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/13.37, allocations: 63.66 kB / 4.627 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003424/13.38, allocations: 1.368 MB / 4.628 GB, free: 100 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005282/13.38, allocations: 25.7 kB / 4.628 GB, free: 100 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/13.38, allocations: 0.6366 MB / 4.629 GB, free: 99.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009896/13.38, allocations: 281.6 kB / 4.629 GB, free: 99.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001932/13.38, allocations: 0 / 4.629 GB, free: 99.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001978/13.38, allocations: 352.4 kB / 4.63 GB, free: 99.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/13.38, allocations: 420.2 kB / 4.63 GB, free: 99.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/13.39, allocations: 0.8474 MB / 4.631 GB, free: 98.78 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004272/13.39, allocations: 0.5872 MB / 4.631 GB, free: 98.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.651e-05/13.39, allocations: 3.5 kB / 4.631 GB, free: 98.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.008158/13.4, allocations: 1.648 MB / 4.633 GB, free: 98.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009122/13.4, allocations: 3.841 MB / 4.637 GB, free: 94.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/13.4, allocations: 14.25 kB / 4.637 GB, free: 94.61 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/13.4, allocations: 307 kB / 4.637 GB, free: 94.59 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/13.4, allocations: 252.3 kB / 4.637 GB, free: 94.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005671/13.41, allocations: 3.629 MB / 4.641 GB, free: 91.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/13.41, allocations: 173 kB / 4.641 GB, free: 91.73 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004244/13.41, allocations: 76.97 kB / 4.641 GB, free: 91.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/13.41, allocations: 9.781 kB / 4.641 GB, free: 91.73 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006318/13.42, allocations: 1.328 MB / 4.642 GB, free: 91.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/13.42, allocations: 16.69 kB / 4.642 GB, free: 91.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/13.42, allocations: 311.4 kB / 4.643 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001977/13.42, allocations: 231 kB / 4.643 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/13.43, allocations: 4.936 MB / 4.648 GB, free: 88.33 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/13.44, allocations: 144.9 kB / 4.648 GB, free: 88.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/13.44, allocations: 69.72 kB / 4.648 GB, free: 88.31 MB / 0.9167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 112 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 8,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005239/13.44, allocations: 145.5 kB / 4.648 GB, free: 88.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006476/13.44, allocations: 191.1 kB / 4.648 GB, free: 88.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006473/13.45, allocations: 1.406 MB / 4.65 GB, free: 87.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/13.45, allocations: 11.41 kB / 4.65 GB, free: 87.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/13.45, allocations: 0 / 4.65 GB, free: 87.98 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004836/13.45, allocations: 1.16 MB / 4.651 GB, free: 87.77 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/13.46, allocations: 2.898 MB / 4.654 GB, free: 87.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/13.46, allocations: 6.719 kB / 4.654 GB, free: 87.31 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/13.46, allocations: 192.5 kB / 4.654 GB, free: 87.31 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/13.46, allocations: 218.6 kB / 4.654 GB, free: 87.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/13.46, allocations: 17.98 kB / 4.654 GB, free: 87.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/13.47, allocations: 3.469 MB / 4.657 GB, free: 84.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/13.47, allocations: 0 / 4.657 GB, free: 84.47 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006986/13.48, allocations: 1.988 MB / 4.659 GB, free: 84.04 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/13.48, allocations: 377.6 kB / 4.66 GB, free: 83.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009137/13.48, allocations: 3.562 kB / 4.66 GB, free: 83.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003135/13.48, allocations: 106.9 kB / 4.66 GB, free: 83.83 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003569/13.48, allocations: 53.44 kB / 4.66 GB, free: 83.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001983/13.48, allocations: 41.66 kB / 4.66 GB, free: 83.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.00296/13.49, allocations: 1.03 MB / 4.661 GB, free: 83.69 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01134/13.5, allocations: 1.42 MB / 4.662 GB, free: 83.62 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 6,1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01152/13.51, allocations: 4.656 MB / 4.667 GB, free: 81.91 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.008883/13.52, allocations: 2.082 MB / 4.669 GB, free: 81.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/13.52, allocations: 3.312 kB / 4.669 GB, free: 81.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002471/13.52, allocations: 0.5852 MB / 4.669 GB, free: 81.48 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009987/13.53, allocations: 0.8887 MB / 4.67 GB, free: 81.43 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/13.54, allocations: 2.883 MB / 4.673 GB, free: 80.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004029/13.55, allocations: 1.824 MB / 4.675 GB, free: 79.96 MB / 0.9167 GB Notification: Performance of SimCode: time 1.683e-06/13.55, allocations: 0 / 4.675 GB, free: 79.96 MB / 0.9167 GB Notification: Performance of Templates: time 0.2344/13.78, allocations: 65.27 MB / 4.739 GB, free: 78.26 MB / 0.9167 GB