Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.072/2.072, allocations: 248.6 MB / 255.9 MB, free: 7.059 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.001692/0.001692, allocations: 201.2 kB / 315.1 MB, free: 4.258 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.858/1.858, allocations: 205.1 MB / 0.5658 GB, free: 348 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.001292/0.001291, allocations: 94.52 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4982/0.4996, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.7635, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.554/6.318, allocations: 2.182 GB / 3.065 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/6.318, allocations: 91.39 kB / 3.065 GB, free: 186.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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 8.775/15.09, allocations: 1.915 GB / 4.98 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/15.09, allocations: 7.094 kB / 4.98 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/15.09, allocations: 206.9 kB / 4.98 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007287/15.1, allocations: 1.437 MB / 4.982 GB, free: 215 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.164e-05/15.1, allocations: 25 kB / 4.982 GB, free: 215 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004576/15.1, allocations: 40.97 kB / 4.982 GB, free: 215 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003227/15.11, allocations: 0.7218 MB / 4.982 GB, free: 215 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003649/15.11, allocations: 0.867 MB / 4.983 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/15.11, allocations: 4.969 kB / 4.983 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/15.11, allocations: 0 / 4.983 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-05/15.11, allocations: 15.06 kB / 4.983 GB, free: 214.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009615/15.12, allocations: 4.713 MB / 4.988 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/15.12, allocations: 0.5286 MB / 4.988 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007739/15.12, allocations: 443 kB / 4.989 GB, free: 211.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/15.12, allocations: 194.9 kB / 4.989 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006227/15.12, allocations: 308.6 kB / 4.989 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 3.858e-06/15.12, allocations: 0 / 4.989 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.003546/15.13, allocations: 0.9475 MB / 4.99 GB, free: 211.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/15.13, allocations: 84.45 kB / 4.99 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/15.13, allocations: 0.9162 MB / 4.991 GB, free: 211 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/15.13, allocations: 25.7 kB / 4.991 GB, free: 211 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000332/15.13, allocations: 363.7 kB / 4.992 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/15.13, allocations: 124 kB / 4.992 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/15.13, allocations: 0 / 4.992 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.229e-05/15.13, allocations: 327.7 kB / 4.992 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/15.13, allocations: 229.6 kB / 4.992 GB, free: 210.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/15.13, allocations: 0.5483 MB / 4.993 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/15.13, allocations: 319.6 kB / 4.993 GB, free: 210.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/15.13, allocations: 7.156 kB / 4.993 GB, free: 210 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003487/15.14, allocations: 1.072 MB / 4.994 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004849/15.14, allocations: 2.103 MB / 4.996 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/15.14, allocations: 2.875 kB / 4.996 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/15.14, allocations: 339 kB / 4.996 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/15.14, allocations: 69.12 kB / 4.997 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/15.14, allocations: 1.349 MB / 4.998 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/15.14, allocations: 107.6 kB / 4.998 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/15.14, allocations: 36.3 kB / 4.998 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/15.14, allocations: 3.688 kB / 4.998 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00226/15.14, allocations: 0.7444 MB / 4.999 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/15.14, allocations: 7.188 kB / 4.999 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/15.15, allocations: 316.3 kB / 4.999 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/15.15, allocations: 71.61 kB / 4.999 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006802/15.15, allocations: 3.436 MB / 5.002 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/15.15, allocations: 108.8 kB / 5.003 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.048e-05/15.15, allocations: 25.38 kB / 5.003 GB, free: 205.8 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 (34): * Single equations (assignments): 32 * 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002395/15.16, allocations: 127.2 kB / 5.003 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/15.16, allocations: 100.9 kB / 5.003 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/15.16, allocations: 0.8492 MB / 5.004 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/15.16, allocations: 3.969 kB / 5.004 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/15.16, allocations: 0 / 5.004 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/15.16, allocations: 5.656 kB / 5.004 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/15.16, allocations: 1.783 MB / 5.005 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/15.16, allocations: 3.906 kB / 5.005 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/15.16, allocations: 25.3 kB / 5.005 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009869/15.16, allocations: 294.6 kB / 5.006 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.286e-05/15.16, allocations: 3.594 kB / 5.006 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/15.17, allocations: 1.196 MB / 5.007 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/15.17, allocations: 3.906 kB / 5.007 GB, free: 204.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002267/15.17, allocations: 1.037 MB / 5.008 GB, free: 204.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002492/15.17, allocations: 1.475 MB / 5.009 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000813/15.17, allocations: 232.9 kB / 5.01 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/15.17, allocations: 7.406 kB / 5.01 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/15.17, allocations: 85.77 kB / 5.01 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/15.17, allocations: 27.53 kB / 5.01 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/15.17, allocations: 15.69 kB / 5.01 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001345/15.17, allocations: 0.7167 MB / 5.01 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005016/15.18, allocations: 0.7998 MB / 5.011 GB, free: 203.1 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 (12): * Single equations (assignments): 9 * 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 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002092/15.18, allocations: 1.203 MB / 5.012 GB, free: 202.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002959/15.18, allocations: 1.075 MB / 5.013 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/15.18, allocations: 0 / 5.013 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007917/15.19, allocations: 271.5 kB / 5.014 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005811/15.19, allocations: 0.57 MB / 5.014 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004264/15.2, allocations: 1.49 MB / 5.016 GB, free: 202.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/15.2, allocations: 1.297 MB / 5.017 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.763e-06/15.2, allocations: 0 / 5.017 GB, free: 201.5 MB / 0.8698 GB