Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7384/0.7384, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001179/0.001179, allocations: 188 kB / 164.4 MB, free: 6.871 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.957/1.957, allocations: 205.1 MB / 399.1 MB, free: 6.098 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.0009696/0.0009694, allocations: 86.08 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3782/0.3792, allocations: 82.89 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.5965, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.073/6.67, allocations: 2.141 GB / 2.762 GB, free: 72.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/6.67, allocations: 95.94 kB / 2.762 GB, free: 72.03 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 7.535/14.21, allocations: 1.964 GB / 4.726 GB, free: 16.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/14.21, allocations: 11.94 kB / 4.727 GB, free: 16.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/14.21, allocations: 206.3 kB / 4.727 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00405/14.21, allocations: 1.484 MB / 4.728 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/14.21, allocations: 16 kB / 4.728 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/14.21, allocations: 47.98 kB / 4.728 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/14.21, allocations: 0.7287 MB / 4.729 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/14.21, allocations: 0.8478 MB / 4.73 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/14.21, allocations: 3.938 kB / 4.73 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/14.21, allocations: 4 kB / 4.73 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/14.21, allocations: 16 kB / 4.73 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004509/14.22, allocations: 4.601 MB / 4.734 GB, free: 7.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/14.22, allocations: 0.5271 MB / 4.735 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/14.22, allocations: 425.2 kB / 4.735 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/14.22, allocations: 198.5 kB / 4.735 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/14.22, allocations: 295.1 kB / 4.736 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 3.266e-06/14.22, allocations: 0 / 4.736 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.02147/14.24, allocations: 4.129 MB / 4.74 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/14.24, allocations: 81.11 kB / 4.74 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/14.24, allocations: 0.9136 MB / 4.741 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002555/14.24, allocations: 29.7 kB / 4.741 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/14.24, allocations: 356.3 kB / 4.741 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/14.24, allocations: 114.3 kB / 4.741 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/14.24, allocations: 0 / 4.741 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/14.24, allocations: 333.9 kB / 4.741 GB, free: 176 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3579/14.6, allocations: 399.9 kB / 4.742 GB, free: 211.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009955/14.6, allocations: 0.7099 MB / 4.743 GB, free: 211.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/14.6, allocations: 452.9 kB / 4.743 GB, free: 211.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/14.6, allocations: 0 / 4.743 GB, free: 211.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.01972/14.62, allocations: 3.891 MB / 4.747 GB, free: 211.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000578/14.62, allocations: 2.018 MB / 4.749 GB, free: 209.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/14.62, allocations: 3.656 kB / 4.749 GB, free: 209.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/14.63, allocations: 0.7035 MB / 4.749 GB, free: 209.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/14.63, allocations: 75.02 kB / 4.749 GB, free: 209.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/14.63, allocations: 2.089 MB / 4.752 GB, free: 208.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/14.63, allocations: 226.5 kB / 4.752 GB, free: 208.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/14.63, allocations: 38.03 kB / 4.752 GB, free: 208.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/14.63, allocations: 3.688 kB / 4.752 GB, free: 208.9 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001175/14.63, allocations: 0.6711 MB / 4.752 GB, free: 208.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/14.63, allocations: 7.75 kB / 4.752 GB, free: 208.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006773/14.63, allocations: 256 kB / 4.753 GB, free: 208.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/14.63, allocations: 75.03 kB / 4.753 GB, free: 208.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/14.64, allocations: 2.903 MB / 4.756 GB, free: 207.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/14.64, allocations: 100.6 kB / 4.756 GB, free: 207.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/14.64, allocations: 23.31 kB / 4.756 GB, free: 207.6 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002728/14.64, allocations: 121.4 kB / 4.756 GB, free: 207.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/14.64, allocations: 108.7 kB / 4.756 GB, free: 207.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/14.64, allocations: 123.2 kB / 4.756 GB, free: 207.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/14.64, allocations: 3.875 kB / 4.756 GB, free: 207.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/14.64, allocations: 3.906 kB / 4.756 GB, free: 207.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/14.64, allocations: 0 / 4.756 GB, free: 207.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/14.66, allocations: 4.496 MB / 4.76 GB, free: 207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/14.66, allocations: 0 / 4.76 GB, free: 207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/14.66, allocations: 33.81 kB / 4.76 GB, free: 207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001192/14.66, allocations: 0.6625 MB / 4.761 GB, free: 207 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/14.66, allocations: 10.84 kB / 4.761 GB, free: 207 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03181/14.69, allocations: 9.968 MB / 4.771 GB, free: 205.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/14.69, allocations: 1.625 kB / 4.771 GB, free: 205.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01653/14.71, allocations: 3.531 MB / 4.774 GB, free: 205.3 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01708/14.72, allocations: 3.964 MB / 4.778 GB, free: 204.6 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000812/14.72, allocations: 185.5 kB / 4.778 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003106/14.72, allocations: 7.75 kB / 4.778 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/14.73, allocations: 200.1 kB / 4.779 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/14.73, allocations: 27.88 kB / 4.779 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-05/14.73, allocations: 21.59 kB / 4.779 GB, free: 204.4 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001118/14.73, allocations: 0.7135 MB / 4.779 GB, free: 204.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00403/14.73, allocations: 0.8827 MB / 4.78 GB, free: 204.3 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 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002026/14.73, allocations: 1.291 MB / 4.781 GB, free: 204.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002915/14.74, allocations: 1.457 MB / 4.783 GB, free: 203.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/14.74, allocations: 3.75 kB / 4.783 GB, free: 203.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/14.74, allocations: 0.6457 MB / 4.783 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003068/14.74, allocations: 0.5743 MB / 4.784 GB, free: 203.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00365/14.74, allocations: 1.919 MB / 4.786 GB, free: 203.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008102/14.75, allocations: 1.299 MB / 4.787 GB, free: 202.7 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/14.75, allocations: 0 / 4.787 GB, free: 202.7 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)