Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8839/0.8839, allocations: 127.4 MB / 134.6 MB, free: 4.133 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.001285/0.001286, allocations: 181.3 kB / 164.4 MB, free: 6.887 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.791/1.791, allocations: 205.1 MB / 399.1 MB, free: 6.164 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.001109/0.001109, allocations: 93.67 kB / 476.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3919/0.393, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.6115, allocations: 76.74 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.176/6.788, allocations: 2.138 GB / 2.759 GB, free: 29.6 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/6.788, allocations: 95.94 kB / 2.759 GB, free: 29.51 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 8.377/15.17, allocations: 1.954 GB / 4.714 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/15.17, allocations: 12 kB / 4.714 GB, free: 105.5 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/15.17, allocations: 202.3 kB / 4.714 GB, free: 105.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004901/15.17, allocations: 1.459 MB / 4.715 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.18e-05/15.17, allocations: 16 kB / 4.715 GB, free: 103.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002319/15.17, allocations: 40 kB / 4.715 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001342/15.17, allocations: 0.7287 MB / 4.716 GB, free: 103 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/15.18, allocations: 0.8625 MB / 4.717 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/15.18, allocations: 7.938 kB / 4.717 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.584e-05/15.18, allocations: 0 / 4.717 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/15.18, allocations: 16 kB / 4.717 GB, free: 102.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005481/15.18, allocations: 4.632 MB / 4.721 GB, free: 97.14 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/15.18, allocations: 0.551 MB / 4.722 GB, free: 96.58 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/15.18, allocations: 444.6 kB / 4.722 GB, free: 96.15 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/15.18, allocations: 194.4 kB / 4.722 GB, free: 95.92 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/15.18, allocations: 307.9 kB / 4.723 GB, free: 95.61 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=34): time 2.895e-06/15.18, allocations: 0 / 4.723 GB, free: 95.61 MB / 0.6667 GB Notification: Performance of matching and sorting (n=34): time 0.0213/15.2, allocations: 4.1 MB / 4.727 GB, free: 91.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.598e-05/15.2, allocations: 89.03 kB / 4.727 GB, free: 91.39 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/15.21, allocations: 0.9214 MB / 4.728 GB, free: 90.46 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002602/15.21, allocations: 25.7 kB / 4.728 GB, free: 90.43 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/15.21, allocations: 352.4 kB / 4.728 GB, free: 90.08 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002586/15.21, allocations: 110.4 kB / 4.728 GB, free: 89.97 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/15.21, allocations: 4 kB / 4.728 GB, free: 89.96 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001085/15.21, allocations: 325.9 kB / 4.729 GB, free: 89.64 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005983/15.21, allocations: 408.7 kB / 4.729 GB, free: 89.24 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008589/15.21, allocations: 0.7217 MB / 4.73 GB, free: 88.38 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006545/15.21, allocations: 445.2 kB / 4.73 GB, free: 87.94 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/15.21, allocations: 4 kB / 4.73 GB, free: 87.94 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.01865/15.23, allocations: 3.886 MB / 4.734 GB, free: 84.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005162/15.23, allocations: 2.014 MB / 4.736 GB, free: 81.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/15.23, allocations: 8 kB / 4.736 GB, free: 81.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/15.23, allocations: 0.7734 MB / 4.737 GB, free: 81.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/15.23, allocations: 59.91 kB / 4.737 GB, free: 81.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/15.23, allocations: 2.207 MB / 4.739 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002141/15.24, allocations: 231.3 kB / 4.739 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/15.24, allocations: 31.97 kB / 4.739 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/15.24, allocations: 4 kB / 4.739 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001301/15.24, allocations: 0.7489 MB / 4.74 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/15.24, allocations: 11.94 kB / 4.74 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007872/15.24, allocations: 313.3 kB / 4.74 GB, free: 77.48 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/15.24, allocations: 63.81 kB / 4.74 GB, free: 77.41 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00385/15.24, allocations: 3.432 MB / 4.743 GB, free: 73.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/15.24, allocations: 107.5 kB / 4.744 GB, free: 73.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/15.24, allocations: 24 kB / 4.744 GB, free: 73.73 MB / 0.6667 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 (33): * Single equations (assignments): 31 * 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.0003002/15.24, allocations: 131.2 kB / 4.744 GB, free: 73.6 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/15.24, allocations: 98.78 kB / 4.744 GB, free: 73.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003566/15.24, allocations: 117.8 kB / 4.744 GB, free: 73.39 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/15.24, allocations: 7.906 kB / 4.744 GB, free: 73.38 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/15.24, allocations: 0 / 4.744 GB, free: 73.38 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/15.24, allocations: 4 kB / 4.744 GB, free: 73.38 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01994/15.26, allocations: 4.493 MB / 4.748 GB, free: 68.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/15.26, allocations: 4 kB / 4.748 GB, free: 68.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/15.26, allocations: 27.92 kB / 4.748 GB, free: 68.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001978/15.27, allocations: 0.7115 MB / 4.749 GB, free: 68.08 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/15.27, allocations: 15.89 kB / 4.749 GB, free: 68.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03029/15.3, allocations: 10.07 MB / 4.759 GB, free: 57.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-06/15.3, allocations: 0 / 4.759 GB, free: 57.88 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01597/15.31, allocations: 3.521 MB / 4.762 GB, free: 54.3 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01596/15.33, allocations: 3.968 MB / 4.766 GB, free: 50.26 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/15.33, allocations: 167.9 kB / 4.766 GB, free: 50.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/15.33, allocations: 11.98 kB / 4.766 GB, free: 50.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/15.33, allocations: 195.5 kB / 4.767 GB, free: 49.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/15.33, allocations: 27.95 kB / 4.767 GB, free: 49.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.427e-05/15.33, allocations: 23.97 kB / 4.767 GB, free: 49.82 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0009022/15.33, allocations: 0.7137 MB / 4.767 GB, free: 49.1 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003829/15.34, allocations: 0.8741 MB / 4.768 GB, free: 48.23 MB / 0.6667 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 (11): * Single equations (assignments): 8 * 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.001834/15.34, allocations: 1.203 MB / 4.769 GB, free: 47.15 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00298/15.34, allocations: 1.507 MB / 4.771 GB, free: 45.62 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/15.34, allocations: 4 kB / 4.771 GB, free: 45.61 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/15.34, allocations: 0.6764 MB / 4.771 GB, free: 44.93 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003461/15.35, allocations: 0.5725 MB / 4.772 GB, free: 44.36 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/15.35, allocations: 1.923 MB / 4.774 GB, free: 42.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007073/15.35, allocations: 1.3 MB / 4.775 GB, free: 41.1 MB / 0.6667 GB Notification: Performance of SimCode: time 8.72e-07/15.35, allocations: 0 / 4.775 GB, free: 41.1 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)