Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.129/2.129, allocations: 248.6 MB / 255.9 MB, free: 7.172 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.002668/0.002668, allocations: 183.7 kB / 315.1 MB, free: 4.312 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.981/1.981, allocations: 205.2 MB / 0.5658 GB, free: 400 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.003028/0.003028, allocations: 86.98 kB / 0.67 GB, free: 5.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4666/0.4697, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.6841, allocations: 106.3 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.573/6.257, allocations: 2.182 GB / 3.065 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/6.258, allocations: 88.19 kB / 3.065 GB, free: 135.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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 8.025/14.28, allocations: 1.728 GB / 4.794 GB, free: 76.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/14.28, allocations: 12 kB / 4.794 GB, free: 76.94 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/14.28, allocations: 186.5 kB / 4.794 GB, free: 76.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006697/14.29, allocations: 1.377 MB / 4.795 GB, free: 75.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/14.29, allocations: 20 kB / 4.795 GB, free: 75.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/14.29, allocations: 36 kB / 4.795 GB, free: 75.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001397/14.29, allocations: 0.5055 MB / 4.796 GB, free: 74.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/14.29, allocations: 0.7045 MB / 4.796 GB, free: 73.97 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/14.29, allocations: 7.938 kB / 4.797 GB, free: 73.96 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/14.29, allocations: 4 kB / 4.797 GB, free: 73.96 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/14.29, allocations: 12 kB / 4.797 GB, free: 73.95 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005731/14.3, allocations: 4.152 MB / 4.801 GB, free: 69.55 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/14.3, allocations: 488.3 kB / 4.801 GB, free: 69.06 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/14.3, allocations: 341.2 kB / 4.801 GB, free: 68.72 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004188/14.3, allocations: 194.2 kB / 4.802 GB, free: 68.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/14.3, allocations: 295.9 kB / 4.802 GB, free: 68.18 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/14.3, allocations: 0 / 4.802 GB, free: 68.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.003083/14.31, allocations: 0.8149 MB / 4.803 GB, free: 67.36 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/14.31, allocations: 85.05 kB / 4.803 GB, free: 67.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/14.31, allocations: 0.8713 MB / 4.804 GB, free: 66.37 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000177/14.31, allocations: 29.7 kB / 4.804 GB, free: 66.33 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/14.31, allocations: 340.1 kB / 4.804 GB, free: 65.99 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/14.31, allocations: 110.5 kB / 4.804 GB, free: 65.88 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/14.31, allocations: 4 kB / 4.804 GB, free: 65.88 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.894e-05/14.31, allocations: 325.9 kB / 4.804 GB, free: 65.55 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/14.31, allocations: 208.8 kB / 4.805 GB, free: 65.35 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/14.31, allocations: 0.5238 MB / 4.805 GB, free: 64.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006283/14.31, allocations: 294.4 kB / 4.805 GB, free: 64.39 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/14.31, allocations: 8 kB / 4.805 GB, free: 64.39 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003286/14.31, allocations: 0.9472 MB / 4.806 GB, free: 63.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004534/14.32, allocations: 2.1 MB / 4.808 GB, free: 61.17 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/14.32, allocations: 4 kB / 4.808 GB, free: 61.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009315/14.32, allocations: 252.6 kB / 4.809 GB, free: 60.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000546/14.32, allocations: 67.89 kB / 4.809 GB, free: 60.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/14.32, allocations: 1.187 MB / 4.81 GB, free: 59.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/14.32, allocations: 95.56 kB / 4.81 GB, free: 59.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/14.32, allocations: 27.94 kB / 4.81 GB, free: 59.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/14.32, allocations: 4 kB / 4.81 GB, free: 59.51 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002397/14.32, allocations: 0.6384 MB / 4.811 GB, free: 58.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/14.32, allocations: 4 kB / 4.811 GB, free: 58.87 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/14.32, allocations: 230 kB / 4.811 GB, free: 58.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/14.32, allocations: 71.83 kB / 4.811 GB, free: 58.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/14.33, allocations: 2.802 MB / 4.814 GB, free: 55.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/14.33, allocations: 91.66 kB / 4.814 GB, free: 55.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/14.33, allocations: 24 kB / 4.814 GB, free: 55.53 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002373/14.33, allocations: 128.5 kB / 4.814 GB, free: 55.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/14.33, allocations: 98.88 kB / 4.814 GB, free: 55.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/14.34, allocations: 0.718 MB / 4.815 GB, free: 54.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/14.34, allocations: 4 kB / 4.815 GB, free: 54.57 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/14.34, allocations: 4 kB / 4.815 GB, free: 54.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/14.34, allocations: 3.984 kB / 4.815 GB, free: 54.56 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/14.34, allocations: 1.591 MB / 4.816 GB, free: 52.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-05/14.34, allocations: 8.062 kB / 4.816 GB, free: 52.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004656/14.34, allocations: 43.8 kB / 4.816 GB, free: 52.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/14.34, allocations: 205 kB / 4.816 GB, free: 52.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-05/14.34, allocations: 4 kB / 4.816 GB, free: 52.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/14.34, allocations: 1.052 MB / 4.817 GB, free: 51.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.338e-05/14.34, allocations: 4 kB / 4.817 GB, free: 51.56 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003318/14.35, allocations: 0.9114 MB / 4.818 GB, free: 50.57 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003646/14.35, allocations: 1.332 MB / 4.82 GB, free: 49.15 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/14.35, allocations: 219.9 kB / 4.82 GB, free: 48.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003619/14.35, allocations: 7.906 kB / 4.82 GB, free: 48.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002099/14.35, allocations: 67.77 kB / 4.82 GB, free: 48.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/14.35, allocations: 35.89 kB / 4.82 GB, free: 48.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.397e-05/14.35, allocations: 12 kB / 4.82 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001841/14.36, allocations: 0.6806 MB / 4.821 GB, free: 48.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006645/14.36, allocations: 0.6829 MB / 4.821 GB, free: 47.42 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001943/14.37, allocations: 1.038 MB / 4.822 GB, free: 46.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002706/14.37, allocations: 0.97 MB / 4.823 GB, free: 45.39 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/14.37, allocations: 0 / 4.823 GB, free: 45.39 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006561/14.37, allocations: 226.3 kB / 4.823 GB, free: 45.17 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006005/14.37, allocations: 0.5143 MB / 4.824 GB, free: 44.66 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/14.38, allocations: 1.41 MB / 4.825 GB, free: 43.19 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/14.38, allocations: 1.263 MB / 4.827 GB, free: 41.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.984e-06/14.38, allocations: 0 / 4.827 GB, free: 41.9 MB / 0.8698 GB