Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.213/2.213, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.001699/0.001699, allocations: 189.2 kB / 315.1 MB, free: 4.262 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.916/1.916, allocations: 205.1 MB / 0.5658 GB, free: 292 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.001312/0.001312, allocations: 94.94 kB / 0.67 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.484/0.4854, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.7147, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.44/6.154, allocations: 2.185 GB / 3.068 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/6.155, allocations: 86.62 kB / 3.068 GB, free: 184.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 8.871/15.03, allocations: 1.924 GB / 4.993 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/15.03, allocations: 9.062 kB / 4.993 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/15.03, allocations: 207.4 kB / 4.993 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007504/15.03, allocations: 1.455 MB / 4.994 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/15.04, allocations: 24.53 kB / 4.994 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/15.04, allocations: 38.94 kB / 4.994 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00191/15.04, allocations: 0.7253 MB / 4.995 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/15.04, allocations: 0.8616 MB / 4.996 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/15.04, allocations: 3.938 kB / 4.996 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/15.04, allocations: 7.688 kB / 4.996 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/15.04, allocations: 14.88 kB / 4.996 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007585/15.05, allocations: 4.688 MB / 5 GB, free: 207 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/15.05, allocations: 0.5098 MB / 5.001 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/15.05, allocations: 434 kB / 5.001 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/15.05, allocations: 199 kB / 5.002 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005977/15.05, allocations: 300.9 kB / 5.002 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 2.625e-06/15.05, allocations: 0 / 5.002 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.003693/15.05, allocations: 0.8722 MB / 5.003 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/15.05, allocations: 81.08 kB / 5.003 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/15.06, allocations: 0.9205 MB / 5.004 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/15.06, allocations: 33.52 kB / 5.004 GB, free: 206.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/15.06, allocations: 350.7 kB / 5.004 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/15.06, allocations: 113.3 kB / 5.004 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/15.06, allocations: 3.938 kB / 5.004 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/15.06, allocations: 324 kB / 5.004 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/15.06, allocations: 229.6 kB / 5.005 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000749/15.06, allocations: 0.5413 MB / 5.005 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/15.06, allocations: 302.1 kB / 5.005 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/15.06, allocations: 2.531 kB / 5.005 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003346/15.06, allocations: 1.005 MB / 5.006 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005031/15.06, allocations: 2.107 MB / 5.008 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/15.06, allocations: 5.188 kB / 5.009 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/15.06, allocations: 274.5 kB / 5.009 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006719/15.06, allocations: 77.48 kB / 5.009 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/15.07, allocations: 1.217 MB / 5.01 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/15.07, allocations: 112.2 kB / 5.01 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/15.07, allocations: 31.52 kB / 5.01 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/15.07, allocations: 3.688 kB / 5.01 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002106/15.07, allocations: 0.6862 MB / 5.011 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/15.07, allocations: 3.344 kB / 5.011 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/15.07, allocations: 244.7 kB / 5.011 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006972/15.07, allocations: 77.81 kB / 5.011 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/15.08, allocations: 2.901 MB / 5.014 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/15.08, allocations: 110.6 kB / 5.014 GB, free: 201.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/15.08, allocations: 25.84 kB / 5.014 GB, free: 201.1 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002566/15.08, allocations: 122.9 kB / 5.014 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/15.08, allocations: 107 kB / 5.014 GB, free: 201 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/15.08, allocations: 0.7679 MB / 5.015 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/15.08, allocations: 3.531 kB / 5.015 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/15.08, allocations: 0.75 kB / 5.015 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/15.08, allocations: 1.625 kB / 5.015 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005717/15.09, allocations: 1.711 MB / 5.017 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/15.09, allocations: 0 / 5.017 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/15.09, allocations: 37.06 kB / 5.017 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007626/15.09, allocations: 232.6 kB / 5.017 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/15.09, allocations: 7.203 kB / 5.017 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/15.09, allocations: 1.068 MB / 5.018 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/15.09, allocations: 0 / 5.018 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002044/15.09, allocations: 0.9727 MB / 5.019 GB, free: 199.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0023/15.1, allocations: 1.413 MB / 5.02 GB, free: 198.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000775/15.1, allocations: 231.2 kB / 5.021 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/15.1, allocations: 0 / 5.021 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/15.1, allocations: 84.83 kB / 5.021 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/15.1, allocations: 29.91 kB / 5.021 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/15.1, allocations: 19.22 kB / 5.021 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001499/15.1, allocations: 0.7179 MB / 5.021 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005174/15.11, allocations: 0.7886 MB / 5.022 GB, free: 198.4 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002111/15.11, allocations: 1.292 MB / 5.023 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002594/15.11, allocations: 1.013 MB / 5.024 GB, free: 198 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/15.11, allocations: 0 / 5.024 GB, free: 198 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000654/15.11, allocations: 242.1 kB / 5.025 GB, free: 198 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/15.12, allocations: 0.5621 MB / 5.025 GB, free: 197.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005234/15.12, allocations: 1.486 MB / 5.027 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/15.13, allocations: 1.295 MB / 5.028 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.753e-06/15.13, allocations: 0 / 5.028 GB, free: 196.8 MB / 0.8698 GB