Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") [: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 8.0.0/package.mo): time 2.385/2.385, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 177.3 kB / 360.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.78/1.78, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 90.2 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.237e-05/1.25e-05, allocations: 4 kB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6781/0.6781, allocations: 115.2 MB / 0.9628 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.154/5.832, allocations: 2.112 GB / 3.075 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/5.832, allocations: 91.8 kB / 3.075 GB, free: 257.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.039/12.87, allocations: 1.534 GB / 4.609 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004523/12.87, allocations: 58.25 kB / 4.609 GB, free: 132.8 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.01033/12.88, allocations: 2.58 MB / 4.611 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/12.88, allocations: 13.06 kB / 4.611 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/12.89, allocations: 0.8988 MB / 4.612 GB, free: 131.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01362/12.91, allocations: 3.074 MB / 4.615 GB, free: 130.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/12.91, allocations: 42.59 kB / 4.615 GB, free: 130.9 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006581/12.91, allocations: 91.31 kB / 4.615 GB, free: 130.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004641/12.91, allocations: 1.344 MB / 4.617 GB, free: 130.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004948/12.92, allocations: 1.494 MB / 4.618 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.584e-05/12.92, allocations: 6.531 kB / 4.618 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/12.92, allocations: 0 / 4.618 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-05/12.92, allocations: 56.41 kB / 4.618 GB, free: 130.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01896/12.94, allocations: 7.827 MB / 4.626 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/12.94, allocations: 0.9832 MB / 4.627 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/12.94, allocations: 0.6086 MB / 4.627 GB, free: 126.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004488/12.94, allocations: 276 kB / 4.628 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/12.94, allocations: 44.44 kB / 4.628 GB, free: 126.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=85): time 3.336e-06/12.94, allocations: 0 / 4.628 GB, free: 126.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=85): time 0.008212/12.95, allocations: 1.401 MB / 4.629 GB, free: 126.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/12.95, allocations: 63 kB / 4.629 GB, free: 126.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003712/12.95, allocations: 1.359 MB / 4.63 GB, free: 126.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/12.95, allocations: 29.39 kB / 4.63 GB, free: 126.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/12.95, allocations: 0.6317 MB / 4.631 GB, free: 125.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/12.96, allocations: 284.4 kB / 4.631 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/12.96, allocations: 0 / 4.631 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.000116/12.96, allocations: 351.5 kB / 4.632 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/12.96, allocations: 419.6 kB / 4.632 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/12.96, allocations: 0.8528 MB / 4.633 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/12.96, allocations: 0.5894 MB / 4.633 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-05/12.96, allocations: 7.188 kB / 4.633 GB, free: 124.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.007238/12.97, allocations: 1.64 MB / 4.635 GB, free: 124.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009707/12.97, allocations: 3.858 MB / 4.639 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/12.97, allocations: 9.438 kB / 4.639 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/12.97, allocations: 313.2 kB / 4.639 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/12.97, allocations: 255 kB / 4.639 GB, free: 120.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005718/12.98, allocations: 3.642 MB / 4.643 GB, free: 117.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003501/12.98, allocations: 170.1 kB / 4.643 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/12.98, allocations: 82.2 kB / 4.643 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/12.98, allocations: 6.781 kB / 4.643 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006287/12.99, allocations: 1.333 MB / 4.644 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-05/12.99, allocations: 7.75 kB / 4.644 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0021/12.99, allocations: 313.1 kB / 4.645 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/12.99, allocations: 224.5 kB / 4.645 GB, free: 117.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/13, allocations: 4.952 MB / 4.65 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/13.01, allocations: 144 kB / 4.65 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/13.01, allocations: 70.73 kB / 4.65 GB, free: 114.1 MB / 0.9792 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.0005225/13.01, allocations: 144.2 kB / 4.65 GB, free: 114 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006185/13.01, allocations: 195.1 kB / 4.65 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006292/13.02, allocations: 1.397 MB / 4.652 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/13.02, allocations: 14.53 kB / 4.652 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/13.02, allocations: 0 / 4.652 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004589/13.02, allocations: 1.172 MB / 4.653 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/13.03, allocations: 2.908 MB / 4.656 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/13.03, allocations: 7.297 kB / 4.656 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/13.03, allocations: 177.9 kB / 4.656 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/13.03, allocations: 231.3 kB / 4.656 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/13.03, allocations: 13.86 kB / 4.656 GB, free: 113 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/13.04, allocations: 3.48 MB / 4.659 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/13.04, allocations: 3.906 kB / 4.659 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006633/13.04, allocations: 1.991 MB / 4.661 GB, free: 109.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/13.05, allocations: 366.7 kB / 4.662 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/13.05, allocations: 9.25 kB / 4.662 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002416/13.05, allocations: 105.3 kB / 4.662 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/13.05, allocations: 53.59 kB / 4.662 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001362/13.05, allocations: 40.36 kB / 4.662 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.002349/13.05, allocations: 1.034 MB / 4.663 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007779/13.06, allocations: 1.435 MB / 4.664 GB, free: 109.2 MB / 0.9792 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.008448/13.07, allocations: 4.666 MB / 4.669 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006754/13.07, allocations: 2.081 MB / 4.671 GB, free: 107 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/13.07, allocations: 3.656 kB / 4.671 GB, free: 107 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/13.08, allocations: 0.5927 MB / 4.672 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007889/13.08, allocations: 0.8733 MB / 4.672 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/13.1, allocations: 2.879 MB / 4.675 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003261/13.1, allocations: 1.813 MB / 4.677 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of SimCode: time 2.274e-06/13.1, allocations: 0.75 kB / 4.677 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.168/13.27, allocations: 65.35 MB / 4.741 GB, free: 69.45 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)