Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.401/2.401, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001657, allocations: 181.3 kB / 360.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.1 MB / 0.6187 GB, free: 13.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 95.52 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2891/0.2904, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.9544, allocations: 115.2 MB / 0.9627 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/6.207, allocations: 2.063 GB / 3.025 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/6.207, allocations: 92.55 kB / 3.026 GB, free: 273.4 MB / 0.9323 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.711/14.92, allocations: 1.984 GB / 5.01 GB, free: 200 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/14.92, allocations: 12.44 kB / 5.01 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/14.92, allocations: 202.3 kB / 5.01 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006846/14.93, allocations: 1.431 MB / 5.011 GB, free: 198.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/14.93, allocations: 16 kB / 5.011 GB, free: 198.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002155/14.93, allocations: 43.91 kB / 5.011 GB, free: 198.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001867/14.93, allocations: 0.7248 MB / 5.012 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/14.93, allocations: 0.8604 MB / 5.013 GB, free: 196.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/14.93, allocations: 7.938 kB / 5.013 GB, free: 196.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/14.93, allocations: 0 / 5.013 GB, free: 196.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/14.93, allocations: 16 kB / 5.013 GB, free: 196.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/14.94, allocations: 4.741 MB / 5.018 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/14.94, allocations: 0.5241 MB / 5.018 GB, free: 191 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/14.94, allocations: 445.7 kB / 5.018 GB, free: 190.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000386/14.94, allocations: 197.2 kB / 5.019 GB, free: 190.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/14.94, allocations: 308.2 kB / 5.019 GB, free: 190 MB / 0.948 GB Notification: Performance of pre-optimization done (n=35): time 2.415e-06/14.94, allocations: 0 / 5.019 GB, free: 190 MB / 0.948 GB Notification: Performance of matching and sorting (n=35): time 0.003387/14.94, allocations: 0.9474 MB / 5.02 GB, free: 189.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/14.94, allocations: 81.11 kB / 5.02 GB, free: 189 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/14.95, allocations: 0.9139 MB / 5.021 GB, free: 188.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/14.95, allocations: 33.7 kB / 5.021 GB, free: 188 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/14.95, allocations: 353.3 kB / 5.021 GB, free: 187.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/14.95, allocations: 114.4 kB / 5.021 GB, free: 187.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/14.95, allocations: 0 / 5.021 GB, free: 187.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.902e-05/14.95, allocations: 329.9 kB / 5.022 GB, free: 187.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004803/14.95, allocations: 224.9 kB / 5.022 GB, free: 187 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/14.95, allocations: 0.5459 MB / 5.022 GB, free: 186.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/14.95, allocations: 334.4 kB / 5.023 GB, free: 186 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/14.95, allocations: 3.938 kB / 5.023 GB, free: 186 MB / 0.948 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003256/14.95, allocations: 1.072 MB / 5.024 GB, free: 184.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004433/14.95, allocations: 2.105 MB / 5.026 GB, free: 182.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/14.95, allocations: 7.938 kB / 5.026 GB, free: 182.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/14.95, allocations: 330.2 kB / 5.026 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/14.95, allocations: 67.89 kB / 5.026 GB, free: 182.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002177/14.96, allocations: 1.342 MB / 5.027 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/14.96, allocations: 119.5 kB / 5.028 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/14.96, allocations: 24 kB / 5.028 GB, free: 180.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/14.96, allocations: 4 kB / 5.028 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002142/14.96, allocations: 0.7612 MB / 5.028 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/14.96, allocations: 4 kB / 5.028 GB, free: 180 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/14.96, allocations: 313.3 kB / 5.029 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/14.96, allocations: 67.84 kB / 5.029 GB, free: 179.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006585/14.97, allocations: 3.44 MB / 5.032 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/14.97, allocations: 107.5 kB / 5.032 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/14.97, allocations: 24 kB / 5.032 GB, free: 175.9 MB / 0.948 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.0002199/14.97, allocations: 121.1 kB / 5.032 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/14.97, allocations: 98.78 kB / 5.032 GB, free: 175.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/14.97, allocations: 0.8532 MB / 5.033 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/14.97, allocations: 7.984 kB / 5.033 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/14.97, allocations: 11.94 kB / 5.033 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/14.97, allocations: 0 / 5.033 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00411/14.98, allocations: 1.78 MB / 5.035 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/14.98, allocations: 0 / 5.035 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/14.98, allocations: 32.23 kB / 5.035 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009616/14.98, allocations: 292.9 kB / 5.035 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/14.98, allocations: 4 kB / 5.035 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/14.98, allocations: 1.201 MB / 5.037 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/14.98, allocations: 11.84 kB / 5.037 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002133/14.98, allocations: 1.03 MB / 5.038 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002351/14.99, allocations: 1.474 MB / 5.039 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/14.99, allocations: 235.7 kB / 5.039 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/14.99, allocations: 7.984 kB / 5.039 GB, free: 168.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/14.99, allocations: 79.75 kB / 5.039 GB, free: 168.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/14.99, allocations: 23.97 kB / 5.039 GB, free: 168.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/14.99, allocations: 23.89 kB / 5.039 GB, free: 168.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001309/14.99, allocations: 0.7138 MB / 5.04 GB, free: 167.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004835/14.99, allocations: 0.7883 MB / 5.041 GB, free: 166.9 MB / 0.948 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.001939/15, allocations: 1.217 MB / 5.042 GB, free: 165.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002766/15, allocations: 1.075 MB / 5.043 GB, free: 164.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/15, allocations: 0 / 5.043 GB, free: 164.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007433/15, allocations: 256.1 kB / 5.043 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005835/15.01, allocations: 0.574 MB / 5.044 GB, free: 163.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/15.01, allocations: 1.487 MB / 5.045 GB, free: 162.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/15.01, allocations: 1.296 MB / 5.047 GB, free: 161.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.052e-06/15.01, allocations: 0 / 5.047 GB, free: 161.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)