Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.247/1.247, allocations: 249.4 MB / 256.7 MB, free: 6.996 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.0009945/0.0009948, allocations: 184.4 kB / 316 MB, free: 3.535 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.178/1.178, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 83.39 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3345/0.3353, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.4987, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.502/4.001, allocations: 2.185 GB / 3.069 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/4.001, allocations: 93.06 kB / 3.07 GB, free: 220.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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 5.056/9.058, allocations: 1.924 GB / 4.994 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/9.058, allocations: 9.5 kB / 4.994 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/9.059, allocations: 206.9 kB / 4.994 GB, free: 211 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003995/9.063, allocations: 1.455 MB / 4.996 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/9.063, allocations: 26.86 kB / 4.996 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/9.063, allocations: 38.25 kB / 4.996 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001008/9.064, allocations: 0.7172 MB / 4.996 GB, free: 210.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/9.065, allocations: 0.8647 MB / 4.997 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/9.065, allocations: 3.75 kB / 4.997 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.744e-05/9.065, allocations: 3.625 kB / 4.997 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/9.065, allocations: 13.25 kB / 4.997 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004209/9.07, allocations: 4.682 MB / 5.002 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/9.07, allocations: 0.5118 MB / 5.002 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/9.071, allocations: 436.3 kB / 5.003 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/9.071, allocations: 193.2 kB / 5.003 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/9.071, allocations: 299.4 kB / 5.003 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 2.976e-06/9.071, allocations: 3.75 kB / 5.003 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.001878/9.073, allocations: 0.8766 MB / 5.004 GB, free: 207 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/9.073, allocations: 83.95 kB / 5.004 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009816/9.074, allocations: 0.9209 MB / 5.005 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/9.074, allocations: 25.7 kB / 5.005 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/9.075, allocations: 352.2 kB / 5.005 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/9.075, allocations: 116.6 kB / 5.005 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/9.075, allocations: 3.938 kB / 5.005 GB, free: 206.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/9.075, allocations: 330.3 kB / 5.006 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/9.075, allocations: 223 kB / 5.006 GB, free: 206.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003959/9.075, allocations: 0.5423 MB / 5.007 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/9.076, allocations: 307.1 kB / 5.007 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/9.076, allocations: 3.906 kB / 5.007 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001647/9.077, allocations: 1.003 MB / 5.008 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000409/9.078, allocations: 2.097 MB / 5.01 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/9.078, allocations: 7.031 kB / 5.01 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005245/9.078, allocations: 271.6 kB / 5.01 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003141/9.079, allocations: 82.42 kB / 5.01 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/9.08, allocations: 1.218 MB / 5.011 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/9.081, allocations: 108.8 kB / 5.012 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/9.081, allocations: 26.41 kB / 5.012 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/9.081, allocations: 5.969 kB / 5.012 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/9.082, allocations: 0.6794 MB / 5.012 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/9.082, allocations: 7.562 kB / 5.012 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/9.083, allocations: 259.8 kB / 5.012 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002844/9.083, allocations: 64.52 kB / 5.013 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/9.086, allocations: 2.919 MB / 5.015 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/9.087, allocations: 100.8 kB / 5.015 GB, free: 201.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/9.087, allocations: 26.38 kB / 5.015 GB, free: 201.6 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.0001366/9.087, allocations: 115.2 kB / 5.016 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/9.087, allocations: 109.7 kB / 5.016 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/9.088, allocations: 0.7735 MB / 5.016 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/9.088, allocations: 7.812 kB / 5.016 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/9.088, allocations: 3.938 kB / 5.016 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/9.088, allocations: 0 / 5.016 GB, free: 201.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002246/9.091, allocations: 1.707 MB / 5.018 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/9.091, allocations: 0 / 5.018 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/9.091, allocations: 32.61 kB / 5.018 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003754/9.091, allocations: 233.9 kB / 5.018 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/9.091, allocations: 11.28 kB / 5.018 GB, free: 200.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007662/9.092, allocations: 1.068 MB / 5.019 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/9.092, allocations: 3 kB / 5.019 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009928/9.093, allocations: 0.9651 MB / 5.02 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001244/9.094, allocations: 1.416 MB / 5.022 GB, free: 199.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003905/9.095, allocations: 231.8 kB / 5.022 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/9.095, allocations: 3.812 kB / 5.022 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/9.096, allocations: 78.56 kB / 5.022 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/9.096, allocations: 35.81 kB / 5.022 GB, free: 199 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/9.096, allocations: 10.44 kB / 5.022 GB, free: 199 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007137/9.097, allocations: 0.7187 MB / 5.023 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003278/9.1, allocations: 0.8017 MB / 5.024 GB, free: 198.9 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.001395/9.101, allocations: 1.283 MB / 5.025 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001355/9.103, allocations: 1.019 MB / 5.026 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/9.103, allocations: 0 / 5.026 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/9.103, allocations: 238.9 kB / 5.026 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00266/9.106, allocations: 0.5796 MB / 5.027 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/9.108, allocations: 1.483 MB / 5.028 GB, free: 198 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008059/9.109, allocations: 1.297 MB / 5.029 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of SimCode: time 6.62e-07/9.109, allocations: 0 / 5.029 GB, free: 197.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)