Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.581/1.581, allocations: 285.5 MB / 292.8 MB, free: 10.4 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001416, allocations: 189.2 kB / 361.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.1 MB / 0.6195 GB, free: 10.29 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009331/0.0009331, allocations: 86.08 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.684e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.7416, allocations: 115.3 MB / 0.9637 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.927/4.668, allocations: 2.112 GB / 3.076 GB, free: 40.97 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/4.669, allocations: 91.95 kB / 3.076 GB, free: 40.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.536/10.2, allocations: 1.534 GB / 4.61 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002177/10.21, allocations: 63.56 kB / 4.61 GB, free: 119.6 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.005661/10.21, allocations: 2.572 MB / 4.612 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/10.21, allocations: 10.34 kB / 4.612 GB, free: 118.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/10.22, allocations: 0.9004 MB / 4.613 GB, free: 118.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006822/10.22, allocations: 3.072 MB / 4.616 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/10.22, allocations: 46.47 kB / 4.616 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/10.22, allocations: 93.88 kB / 4.616 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00228/10.23, allocations: 1.344 MB / 4.618 GB, free: 118.2 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/10.23, allocations: 1.491 MB / 4.619 GB, free: 118 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/10.23, allocations: 7.5 kB / 4.619 GB, free: 118 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/10.23, allocations: 3.438 kB / 4.619 GB, free: 118 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/10.23, allocations: 51.3 kB / 4.619 GB, free: 118 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009615/10.24, allocations: 7.84 MB / 4.627 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/10.24, allocations: 0.9811 MB / 4.628 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000819/10.24, allocations: 0.6108 MB / 4.628 GB, free: 114.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002868/10.24, allocations: 277.8 kB / 4.629 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/10.24, allocations: 46.16 kB / 4.629 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=85): time 2.946e-06/10.24, allocations: 3.656 kB / 4.629 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=85): time 0.004042/10.24, allocations: 1.405 MB / 4.63 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/10.24, allocations: 64.94 kB / 4.63 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/10.25, allocations: 1.357 MB / 4.631 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/10.25, allocations: 27.98 kB / 4.631 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/10.25, allocations: 0.6271 MB / 4.632 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/10.25, allocations: 292.5 kB / 4.632 GB, free: 113 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-05/10.25, allocations: 0 / 4.632 GB, free: 113 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.92e-05/10.25, allocations: 350.2 kB / 4.633 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/10.25, allocations: 426.2 kB / 4.633 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007819/10.25, allocations: 0.8379 MB / 4.634 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/10.25, allocations: 0.5954 MB / 4.634 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/10.25, allocations: 2.406 kB / 4.634 GB, free: 112.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003488/10.25, allocations: 1.633 MB / 4.636 GB, free: 112 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007389/10.25, allocations: 3.859 MB / 4.64 GB, free: 108 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/10.25, allocations: 9.125 kB / 4.64 GB, free: 108 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009199/10.25, allocations: 306 kB / 4.64 GB, free: 108 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/10.26, allocations: 255.9 kB / 4.64 GB, free: 108 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00331/10.26, allocations: 3.645 MB / 4.644 GB, free: 105.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/10.26, allocations: 164.3 kB / 4.644 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/10.26, allocations: 79.66 kB / 4.644 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/10.26, allocations: 6.703 kB / 4.644 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003255/10.26, allocations: 1.327 MB / 4.645 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/10.26, allocations: 9.469 kB / 4.645 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/10.27, allocations: 320 kB / 4.646 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/10.27, allocations: 225.5 kB / 4.646 GB, free: 105.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005862/10.27, allocations: 4.945 MB / 4.651 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/10.27, allocations: 149.5 kB / 4.651 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/10.27, allocations: 70.61 kB / 4.651 GB, free: 101.7 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.0003497/10.27, allocations: 139.7 kB / 4.651 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/10.28, allocations: 190.8 kB / 4.651 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003457/10.28, allocations: 1.405 MB / 4.653 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/10.28, allocations: 15.03 kB / 4.653 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/10.28, allocations: 3.75 kB / 4.653 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002413/10.28, allocations: 1.165 MB / 4.654 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005518/10.29, allocations: 2.906 MB / 4.657 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/10.29, allocations: 0 / 4.657 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/10.29, allocations: 191.5 kB / 4.657 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005891/10.29, allocations: 231.4 kB / 4.657 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-05/10.29, allocations: 13.92 kB / 4.657 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00291/10.29, allocations: 3.481 MB / 4.661 GB, free: 97.85 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/10.29, allocations: 2.531 kB / 4.661 GB, free: 97.85 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003857/10.3, allocations: 1.994 MB / 4.662 GB, free: 97.42 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001115/10.3, allocations: 364 kB / 4.663 GB, free: 97.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006207/10.3, allocations: 3.906 kB / 4.663 GB, free: 97.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/10.3, allocations: 105.2 kB / 4.663 GB, free: 97.22 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/10.3, allocations: 55.22 kB / 4.663 GB, free: 97.21 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/10.3, allocations: 40.62 kB / 4.663 GB, free: 97.21 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.002037/10.3, allocations: 1.032 MB / 4.664 GB, free: 97.07 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005825/10.31, allocations: 1.429 MB / 4.665 GB, free: 96.96 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.008495/10.32, allocations: 4.681 MB / 4.67 GB, free: 95.23 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004348/10.32, allocations: 2.077 MB / 4.672 GB, free: 94.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/10.32, allocations: 0 / 4.672 GB, free: 94.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/10.32, allocations: 0.5966 MB / 4.673 GB, free: 94.8 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004307/10.33, allocations: 0.8775 MB / 4.673 GB, free: 94.79 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/10.33, allocations: 2.886 MB / 4.676 GB, free: 94.05 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/10.33, allocations: 1.812 MB / 4.678 GB, free: 93.31 MB / 0.9792 GB Notification: Performance of SimCode: time 1.162e-06/10.33, allocations: 3.406 kB / 4.678 GB, free: 93.31 MB / 0.9792 GB Notification: Performance of Templates: time 0.101/10.44, allocations: 65.35 MB / 4.742 GB, free: 90.91 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.pipe 2>&1)