Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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/BuildSysPro 3.5.0/package.mo): time 0.7605/0.7605, allocations: 127.4 MB / 134.6 MB, free: 4.113 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 189.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.984/1.984, allocations: 205.1 MB / 399.1 MB, free: 6.078 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001346/0.001346, allocations: 89.27 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4023/0.4037, allocations: 82.9 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.6096, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.059/6.669, allocations: 2.141 GB / 2.762 GB, free: 66.87 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/6.67, allocations: 95.84 kB / 2.762 GB, free: 66.78 MB / 0.6355 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 4.49/11.16, allocations: 1.068 GB / 3.83 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/11.16, allocations: 11.44 kB / 3.83 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/11.16, allocations: 202.9 kB / 3.83 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005632/11.17, allocations: 1.477 MB / 3.831 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/11.17, allocations: 18.97 kB / 3.831 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002455/11.17, allocations: 37.19 kB / 3.831 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001532/11.17, allocations: 0.7312 MB / 3.832 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/11.17, allocations: 0.8581 MB / 3.833 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/11.17, allocations: 10.77 kB / 3.833 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.22e-05/11.17, allocations: 2.781 kB / 3.833 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/11.17, allocations: 12.34 kB / 3.833 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005987/11.18, allocations: 4.597 MB / 3.837 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000941/11.18, allocations: 0.5305 MB / 3.838 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/11.18, allocations: 436.9 kB / 3.838 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/11.18, allocations: 190.1 kB / 3.838 GB, free: 139 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/11.18, allocations: 309.8 kB / 3.839 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 2.795e-06/11.18, allocations: 0 / 3.839 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.01394/11.19, allocations: 2.509 MB / 3.841 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/11.19, allocations: 93.25 kB / 3.841 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002013/11.2, allocations: 0.9086 MB / 3.842 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/11.2, allocations: 29.61 kB / 3.842 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004892/11.2, allocations: 358.6 kB / 3.843 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/11.2, allocations: 113.5 kB / 3.843 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/11.2, allocations: 0 / 3.843 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.234e-05/11.2, allocations: 329.3 kB / 3.843 GB, free: 138 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/11.2, allocations: 352 kB / 3.843 GB, free: 138 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/11.2, allocations: 0.6696 MB / 3.844 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/11.2, allocations: 410 kB / 3.844 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/11.2, allocations: 11.41 kB / 3.844 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.01239/11.21, allocations: 2.439 MB / 3.847 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007607/11.21, allocations: 2.011 MB / 3.849 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/11.21, allocations: 7 kB / 3.849 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001313/11.21, allocations: 0.6408 MB / 3.849 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/11.21, allocations: 72.84 kB / 3.849 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007736/11.22, allocations: 2.562 MB / 3.852 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/11.22, allocations: 179.9 kB / 3.852 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/11.22, allocations: 29.05 kB / 3.852 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/11.22, allocations: 3.906 kB / 3.852 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001485/11.23, allocations: 0.6862 MB / 3.853 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/11.23, allocations: 7.562 kB / 3.853 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006759/11.23, allocations: 251.3 kB / 3.853 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/11.23, allocations: 63.86 kB / 3.853 GB, free: 134.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/11.23, allocations: 2.944 MB / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/11.23, allocations: 101 kB / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/11.23, allocations: 20.84 kB / 3.856 GB, free: 133.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.000295/11.23, allocations: 127.3 kB / 3.856 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/11.23, allocations: 102.3 kB / 3.856 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004255/11.23, allocations: 109.7 kB / 3.856 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/11.23, allocations: 3.938 kB / 3.856 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/11.23, allocations: 5.094 kB / 3.856 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/11.23, allocations: 3.891 kB / 3.856 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01119/11.24, allocations: 3.055 MB / 3.859 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/11.24, allocations: 5.703 kB / 3.859 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/11.24, allocations: 37.36 kB / 3.859 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/11.25, allocations: 0.5935 MB / 3.86 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-05/11.25, allocations: 11.64 kB / 3.86 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02926/11.27, allocations: 7.976 MB / 3.868 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.578e-05/11.28, allocations: 10.25 kB / 3.868 GB, free: 131.6 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01028/11.29, allocations: 2.142 MB / 3.87 GB, free: 131.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01076/11.3, allocations: 2.595 MB / 3.872 GB, free: 130.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/11.3, allocations: 182.4 kB / 3.873 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/11.3, allocations: 5.031 kB / 3.873 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001682/11.3, allocations: 145.3 kB / 3.873 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/11.3, allocations: 33.17 kB / 3.873 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.567e-05/11.3, allocations: 17.5 kB / 3.873 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001752/11.3, allocations: 0.7096 MB / 3.874 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005876/11.31, allocations: 0.8449 MB / 3.874 GB, free: 130.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 {11 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0033/11.31, allocations: 1.28 MB / 3.876 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008308/11.32, allocations: 1.988 MB / 3.878 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/11.32, allocations: 1.125 kB / 3.878 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005385/11.32, allocations: 1.155 MB / 3.879 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/11.33, allocations: 0.5631 MB / 3.879 GB, free: 129.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/11.34, allocations: 1.777 MB / 3.881 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002053/11.34, allocations: 1.299 MB / 3.882 GB, free: 128.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.894e-06/11.34, allocations: 1.781 kB / 3.882 GB, free: 128.5 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)