Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.SpeedControlled_Nrpm,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_Nrpm",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.208/2.208, allocations: 248.6 MB / 255.9 MB, free: 336 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001673/0.001673, allocations: 184.4 kB / 315.1 MB, free: 7.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.1 MB / 0.5658 GB, free: 25.45 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 89 kB / 0.67 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3291/0.3304, allocations: 112.4 MB / 0.7797 GB, free: 2.438 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.9763, allocations: 106.2 MB / 0.8835 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.118/7.095, allocations: 2.23 GB / 3.114 GB, free: 223 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/7.095, allocations: 87.03 kB / 3.114 GB, free: 223 MB / 0.8698 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 7.278/14.37, allocations: 1.49 GB / 4.604 GB, free: 70.29 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/14.37, allocations: 12 kB / 4.604 GB, free: 70.28 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/14.38, allocations: 0.8786 MB / 4.605 GB, free: 69.4 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01394/14.4, allocations: 3.088 MB / 4.608 GB, free: 66.29 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000142/14.4, allocations: 48 kB / 4.608 GB, free: 66.24 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007357/14.4, allocations: 99.8 kB / 4.608 GB, free: 66.15 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004688/14.4, allocations: 1.341 MB / 4.609 GB, free: 64.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/14.41, allocations: 1.501 MB / 4.61 GB, free: 63.24 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.082e-05/14.41, allocations: 4 kB / 4.61 GB, free: 63.24 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002364/14.41, allocations: 0 / 4.61 GB, free: 63.24 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/14.41, allocations: 46.69 kB / 4.611 GB, free: 63.19 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01908/14.43, allocations: 7.837 MB / 4.618 GB, free: 54.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/14.43, allocations: 0.9913 MB / 4.619 GB, free: 53.91 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/14.43, allocations: 0.6021 MB / 4.62 GB, free: 53.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/14.43, allocations: 277.3 kB / 4.62 GB, free: 52.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/14.43, allocations: 43.34 kB / 4.62 GB, free: 52.93 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=85): time 5.12e-06/14.43, allocations: 4 kB / 4.62 GB, free: 52.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=85): time 0.008503/14.44, allocations: 1.394 MB / 4.621 GB, free: 51.52 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/14.44, allocations: 60.19 kB / 4.621 GB, free: 51.45 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006628/14.45, allocations: 1.363 MB / 4.623 GB, free: 50.05 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000493/14.45, allocations: 29.7 kB / 4.623 GB, free: 50.02 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/14.45, allocations: 0.6364 MB / 4.623 GB, free: 49.36 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008875/14.45, allocations: 283.7 kB / 4.624 GB, free: 49.08 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/14.45, allocations: 0 / 4.624 GB, free: 49.08 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001935/14.45, allocations: 349.9 kB / 4.624 GB, free: 48.73 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001742/14.45, allocations: 426.5 kB / 4.624 GB, free: 48.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/14.45, allocations: 0.8415 MB / 4.625 GB, free: 47.27 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/14.46, allocations: 0.589 MB / 4.626 GB, free: 46.69 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-05/14.46, allocations: 4 kB / 4.626 GB, free: 46.68 MB / 0.9011 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.006867/14.46, allocations: 1.638 MB / 4.627 GB, free: 45.03 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008121/14.46, allocations: 3.847 MB / 4.631 GB, free: 40.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.919e-05/14.46, allocations: 12 kB / 4.631 GB, free: 40.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/14.47, allocations: 313.8 kB / 4.632 GB, free: 40.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002372/14.47, allocations: 252.2 kB / 4.632 GB, free: 40.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/14.47, allocations: 3.624 MB / 4.635 GB, free: 36.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003268/14.48, allocations: 174.8 kB / 4.635 GB, free: 36.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002896/14.48, allocations: 84.02 kB / 4.636 GB, free: 36.28 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/14.48, allocations: 0 / 4.636 GB, free: 36.28 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005989/14.48, allocations: 1.327 MB / 4.637 GB, free: 34.94 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.728e-05/14.48, allocations: 16.28 kB / 4.637 GB, free: 34.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/14.49, allocations: 314.4 kB / 4.637 GB, free: 34.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001922/14.49, allocations: 231.6 kB / 4.637 GB, free: 34.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/14.5, allocations: 4.944 MB / 4.642 GB, free: 29.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/14.5, allocations: 143.2 kB / 4.642 GB, free: 29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000287/14.5, allocations: 72.02 kB / 4.642 GB, free: 28.93 MB / 0.9011 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.0004975/14.5, allocations: 149.1 kB / 4.643 GB, free: 28.77 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005302/14.5, allocations: 193.6 kB / 4.643 GB, free: 28.58 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006286/14.51, allocations: 1.396 MB / 4.644 GB, free: 27.19 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/14.51, allocations: 8 kB / 4.644 GB, free: 27.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/14.51, allocations: 0 / 4.644 GB, free: 27.18 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004655/14.52, allocations: 1.167 MB / 4.645 GB, free: 25.98 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009809/14.53, allocations: 2.899 MB / 4.648 GB, free: 23.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/14.53, allocations: 8.031 kB / 4.648 GB, free: 23.01 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001954/14.53, allocations: 180.6 kB / 4.648 GB, free: 22.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/14.53, allocations: 230.6 kB / 4.648 GB, free: 22.61 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/14.53, allocations: 19.97 kB / 4.648 GB, free: 22.59 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004297/14.53, allocations: 3.469 MB / 4.652 GB, free: 18.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/14.53, allocations: 0 / 4.652 GB, free: 18.93 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006598/14.54, allocations: 1.987 MB / 4.654 GB, free: 16.88 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00859/14.55, allocations: 3.123 MB / 4.657 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/14.55, allocations: 374.3 kB / 4.657 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004758/14.55, allocations: 4 kB / 4.657 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/14.55, allocations: 107.7 kB / 4.657 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/14.55, allocations: 48.7 kB / 4.657 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/14.55, allocations: 39.97 kB / 4.657 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.002283/14.56, allocations: 1.032 MB / 4.658 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01232/14.57, allocations: 2.447 MB / 4.661 GB, free: 9.598 MB / 0.9011 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.008677/14.58, allocations: 4.675 MB / 4.665 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00662/14.58, allocations: 2.078 MB / 4.667 GB, free: 2.629 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/14.58, allocations: 4.625 kB / 4.667 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/14.58, allocations: 0.5943 MB / 4.668 GB, free: 2.023 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00777/14.59, allocations: 0.8818 MB / 4.669 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01421/14.61, allocations: 2.892 MB / 4.672 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005744/14.61, allocations: 1.82 MB / 4.673 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of SimCode: time 2.044e-06/14.61, allocations: 0 / 4.673 GB, free: 12.35 MB / 0.9167 GB