Running: ./testmodel.py --libraries=/home/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 (/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_y,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_SpeedControlled_y",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.243/2.243, allocations: 248.6 MB / 255.9 MB, free: 7.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004929/0.004929, allocations: 183.5 kB / 315.1 MB, free: 4.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.1 MB / 0.5658 GB, free: 344 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001361/0.001361, allocations: 87.33 kB / 0.67 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5436/0.545, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.7596, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.105/6.865, allocations: 2.231 GB / 3.115 GB, free: 124.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/6.865, allocations: 99.55 kB / 3.115 GB, free: 124.8 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 8.012/14.88, allocations: 1.49 GB / 4.605 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/14.88, allocations: 8.75 kB / 4.605 GB, free: 182.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0154/14.89, allocations: 0.8864 MB / 4.606 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01945/14.91, allocations: 3.077 MB / 4.609 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/14.91, allocations: 45.75 kB / 4.609 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009196/14.91, allocations: 94.83 kB / 4.609 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007041/14.92, allocations: 1.343 MB / 4.61 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007373/14.93, allocations: 1.498 MB / 4.611 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.161e-05/14.93, allocations: 3.844 kB / 4.611 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/14.93, allocations: 3.25 kB / 4.611 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.804e-05/14.93, allocations: 49.16 kB / 4.611 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02755/14.96, allocations: 7.833 MB / 4.619 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004001/14.96, allocations: 0.9916 MB / 4.62 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002368/14.96, allocations: 0.6034 MB / 4.621 GB, free: 177.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/14.96, allocations: 280.1 kB / 4.621 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.634e-05/14.96, allocations: 45.69 kB / 4.621 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=85): time 5.57e-06/14.96, allocations: 0 / 4.621 GB, free: 177.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=85): time 0.01129/14.98, allocations: 1.389 MB / 4.622 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/14.98, allocations: 66.19 kB / 4.622 GB, free: 177 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004995/14.98, allocations: 1.372 MB / 4.624 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004526/14.98, allocations: 25.7 kB / 4.624 GB, free: 176.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009397/14.98, allocations: 0.6322 MB / 4.624 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008564/14.98, allocations: 284.1 kB / 4.625 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/14.98, allocations: 2.594 kB / 4.625 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001683/14.98, allocations: 348.4 kB / 4.625 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/14.98, allocations: 424.9 kB / 4.625 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002191/14.99, allocations: 0.8395 MB / 4.626 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/14.99, allocations: 0.5945 MB / 4.627 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.492e-05/14.99, allocations: 2.812 kB / 4.627 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0107/15, allocations: 1.641 MB / 4.628 GB, free: 175.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001333/15, allocations: 3.845 MB / 4.632 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.831e-05/15, allocations: 9 kB / 4.632 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/15.01, allocations: 313 kB / 4.632 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003494/15.01, allocations: 258.3 kB / 4.633 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008641/15.02, allocations: 3.63 MB / 4.636 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00497/15.02, allocations: 170.6 kB / 4.636 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006225/15.02, allocations: 87.03 kB / 4.637 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/15.02, allocations: 4.781 kB / 4.637 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01003/15.03, allocations: 1.324 MB / 4.638 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.338e-05/15.03, allocations: 12.12 kB / 4.638 GB, free: 168.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/15.04, allocations: 316 kB / 4.638 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/15.04, allocations: 232.3 kB / 4.638 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01572/15.06, allocations: 4.934 MB / 4.643 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004577/15.06, allocations: 147.3 kB / 4.643 GB, free: 165.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005347/15.06, allocations: 69.69 kB / 4.643 GB, free: 165.1 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.0008238/15.06, allocations: 143.9 kB / 4.644 GB, free: 165 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008815/15.06, allocations: 191.3 kB / 4.644 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/15.07, allocations: 1.4 MB / 4.645 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/15.07, allocations: 9.031 kB / 4.645 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/15.07, allocations: 3.625 kB / 4.645 GB, free: 164.8 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007759/15.08, allocations: 1.163 MB / 4.646 GB, free: 164.5 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/15.1, allocations: 2.899 MB / 4.649 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/15.1, allocations: 0 / 4.649 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/15.1, allocations: 202.3 kB / 4.649 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/15.1, allocations: 218.9 kB / 4.649 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003131/15.1, allocations: 19.69 kB / 4.649 GB, free: 164.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006826/15.11, allocations: 3.473 MB / 4.653 GB, free: 161.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/15.11, allocations: 3.281 kB / 4.653 GB, free: 161.2 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01079/15.12, allocations: 1.981 MB / 4.655 GB, free: 160.8 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01356/15.13, allocations: 3.131 MB / 4.658 GB, free: 160 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002164/15.14, allocations: 370.8 kB / 4.658 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009928/15.14, allocations: 5.016 kB / 4.658 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004129/15.14, allocations: 108.3 kB / 4.658 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003282/15.14, allocations: 49.55 kB / 4.658 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/15.14, allocations: 53.98 kB / 4.658 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.003874/15.15, allocations: 1.031 MB / 4.659 GB, free: 159.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01918/15.16, allocations: 2.436 MB / 4.662 GB, free: 159.6 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.0117/15.18, allocations: 4.678 MB / 4.666 GB, free: 157.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.009052/15.19, allocations: 2.087 MB / 4.668 GB, free: 157.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/15.19, allocations: 0 / 4.668 GB, free: 157.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/15.19, allocations: 0.5848 MB / 4.669 GB, free: 157.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01102/15.2, allocations: 0.878 MB / 4.67 GB, free: 157.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/15.21, allocations: 2.893 MB / 4.673 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004131/15.22, allocations: 1.826 MB / 4.674 GB, free: 156 MB / 0.9167 GB Notification: Performance of SimCode: time 2.856e-06/15.22, allocations: 0 / 4.674 GB, free: 156 MB / 0.9167 GB