Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.FlowControlled_m_flow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",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.34/2.34, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.002654/0.002654, allocations: 171.6 kB / 315.1 MB, free: 4.254 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.267/2.267, allocations: 205.1 MB / 0.5658 GB, free: 408 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.001512/0.001512, allocations: 87.33 kB / 0.67 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5165/0.5181, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2201/0.7382, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.064/6.803, allocations: 2.232 GB / 3.115 GB, free: 135.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003418/6.803, allocations: 94.75 kB / 3.115 GB, free: 135.1 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 7.853/14.66, allocations: 1.602 GB / 4.717 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/14.66, allocations: 13.88 kB / 4.717 GB, free: 108.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009993/14.67, allocations: 0.8762 MB / 4.718 GB, free: 108.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/14.68, allocations: 2.707 MB / 4.72 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/14.68, allocations: 44.78 kB / 4.72 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004206/14.68, allocations: 89.31 kB / 4.72 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004047/14.68, allocations: 1.235 MB / 4.722 GB, free: 108 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/14.69, allocations: 1.416 MB / 4.723 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/14.69, allocations: 0 / 4.723 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000214/14.69, allocations: 2.719 kB / 4.723 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-05/14.69, allocations: 50.53 kB / 4.723 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/14.7, allocations: 7.629 MB / 4.73 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/14.71, allocations: 0.8787 MB / 4.731 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/14.71, allocations: 0.5365 MB / 4.732 GB, free: 103.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/14.71, allocations: 274 kB / 4.732 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/14.71, allocations: 47.31 kB / 4.732 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 3.637e-06/14.71, allocations: 0 / 4.732 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.006113/14.71, allocations: 1.135 MB / 4.733 GB, free: 103.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/14.72, allocations: 60.06 kB / 4.733 GB, free: 103.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003124/14.72, allocations: 1.297 MB / 4.735 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003222/14.72, allocations: 25.7 kB / 4.735 GB, free: 103.1 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/14.72, allocations: 0.6323 MB / 4.735 GB, free: 102.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003916/14.72, allocations: 269.4 kB / 4.735 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.521e-05/14.72, allocations: 0 / 4.735 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000109/14.72, allocations: 341.8 kB / 4.736 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009505/14.72, allocations: 351.4 kB / 4.736 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/14.72, allocations: 0.7688 MB / 4.737 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001793/14.72, allocations: 0.5092 MB / 4.737 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.617e-06/14.72, allocations: 4.906 kB / 4.737 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005026/14.73, allocations: 1.338 MB / 4.739 GB, free: 101.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008918/14.73, allocations: 3.838 MB / 4.742 GB, free: 97.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/14.73, allocations: 10.34 kB / 4.742 GB, free: 97.62 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006415/14.73, allocations: 115.3 kB / 4.743 GB, free: 97.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002531/14.73, allocations: 265.2 kB / 4.743 GB, free: 97.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003469/14.74, allocations: 2.222 MB / 4.745 GB, free: 95.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/14.74, allocations: 164 kB / 4.745 GB, free: 95.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/14.74, allocations: 59.7 kB / 4.745 GB, free: 95.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/14.74, allocations: 3.969 kB / 4.745 GB, free: 95.77 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004161/14.74, allocations: 1.039 MB / 4.746 GB, free: 95.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/14.74, allocations: 13.67 kB / 4.746 GB, free: 95.74 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004636/14.74, allocations: 103.5 kB / 4.746 GB, free: 95.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/14.75, allocations: 245.8 kB / 4.747 GB, free: 95.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/14.75, allocations: 1.634 MB / 4.748 GB, free: 94.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/14.75, allocations: 143.4 kB / 4.748 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/14.75, allocations: 48.34 kB / 4.748 GB, free: 94.5 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 (122): * Single equations (assignments): 118 * 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: 1 * 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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005252/14.75, allocations: 146.4 kB / 4.748 GB, free: 94.38 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000408/14.75, allocations: 185.7 kB / 4.749 GB, free: 94.29 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004898/14.76, allocations: 1.098 MB / 4.75 GB, free: 94.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/14.76, allocations: 10.84 kB / 4.75 GB, free: 94.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/14.76, allocations: 0 / 4.75 GB, free: 94.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00328/14.76, allocations: 0.917 MB / 4.751 GB, free: 94.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008476/14.77, allocations: 2.633 MB / 4.753 GB, free: 93.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/14.77, allocations: 0 / 4.753 GB, free: 93.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/14.77, allocations: 205 kB / 4.753 GB, free: 93.49 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/14.77, allocations: 95.25 kB / 4.753 GB, free: 93.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.045e-05/14.77, allocations: 16.16 kB / 4.754 GB, free: 93.48 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/14.78, allocations: 2.206 MB / 4.756 GB, free: 91.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/14.78, allocations: 0 / 4.756 GB, free: 91.69 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005197/14.78, allocations: 1.678 MB / 4.757 GB, free: 91.28 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007293/14.79, allocations: 2.747 MB / 4.76 GB, free: 90.51 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/14.79, allocations: 357.7 kB / 4.76 GB, free: 90.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003936/14.79, allocations: 14.28 kB / 4.76 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002189/14.79, allocations: 105.4 kB / 4.76 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/14.79, allocations: 45.3 kB / 4.76 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/14.79, allocations: 31.2 kB / 4.761 GB, free: 90.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.002258/14.8, allocations: 0.9853 MB / 4.761 GB, free: 90.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01218/14.81, allocations: 2.273 MB / 4.764 GB, free: 90 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 (77): * Single equations (assignments): 75 * 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: 1 * 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: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008154/14.82, allocations: 4.377 MB / 4.768 GB, free: 88.25 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004909/14.82, allocations: 1.683 MB / 4.77 GB, free: 88.02 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/14.82, allocations: 10.84 kB / 4.77 GB, free: 88.02 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/14.82, allocations: 0.5051 MB / 4.77 GB, free: 87.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007263/14.83, allocations: 0.8302 MB / 4.771 GB, free: 87.88 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009054/14.84, allocations: 2.753 MB / 4.774 GB, free: 87.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00252/14.84, allocations: 1.771 MB / 4.775 GB, free: 86.44 MB / 0.9167 GB Notification: Performance of SimCode: time 1.312e-06/14.84, allocations: 0 / 4.775 GB, free: 86.44 MB / 0.9167 GB