Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.7203/0.7203, allocations: 127.4 MB / 134.6 MB, free: 4.051 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.001186/0.001186, allocations: 185.3 kB / 164.4 MB, free: 6.863 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.827/1.827, allocations: 205.1 MB / 399.1 MB, free: 6.074 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.001102/0.001102, allocations: 92.47 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3551/0.3562, allocations: 82.9 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.5614, allocations: 76.73 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.962/6.523, allocations: 2.138 GB / 2.759 GB, free: 75.65 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003884/6.524, allocations: 91.94 kB / 2.759 GB, free: 75.56 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 4.579/11.1, allocations: 1.059 GB / 3.818 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/11.1, allocations: 10.91 kB / 3.818 GB, free: 142.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/11.1, allocations: 200.8 kB / 3.818 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/11.11, allocations: 1.463 MB / 3.819 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/11.11, allocations: 18.5 kB / 3.819 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/11.11, allocations: 43.53 kB / 3.82 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001497/11.11, allocations: 0.7242 MB / 3.82 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/11.11, allocations: 0.8629 MB / 3.821 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/11.11, allocations: 0 / 3.821 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/11.11, allocations: 3.531 kB / 3.821 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/11.11, allocations: 14.47 kB / 3.821 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006201/11.12, allocations: 4.62 MB / 3.826 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/11.12, allocations: 0.5427 MB / 3.826 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/11.12, allocations: 447.1 kB / 3.827 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/11.12, allocations: 193 kB / 3.827 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/11.12, allocations: 310.2 kB / 3.827 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=34): time 3.256e-06/11.12, allocations: 0 / 3.827 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=34): time 0.01501/11.14, allocations: 2.677 MB / 3.83 GB, free: 138.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.923e-05/11.14, allocations: 87.67 kB / 3.83 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/11.14, allocations: 0.9112 MB / 3.831 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002187/11.14, allocations: 33.05 kB / 3.831 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000456/11.14, allocations: 353.8 kB / 3.831 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/11.14, allocations: 110.3 kB / 3.831 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/11.14, allocations: 0 / 3.831 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001082/11.14, allocations: 335.1 kB / 3.831 GB, free: 138 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005617/11.14, allocations: 363.6 kB / 3.832 GB, free: 138 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/11.14, allocations: 0.6723 MB / 3.832 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006593/11.14, allocations: 426.4 kB / 3.833 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/11.14, allocations: 3.188 kB / 3.833 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.01313/11.16, allocations: 2.594 MB / 3.835 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001476/11.16, allocations: 2.014 MB / 3.837 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-05/11.16, allocations: 6.672 kB / 3.837 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001925/11.16, allocations: 0.7029 MB / 3.838 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/11.16, allocations: 68.86 kB / 3.838 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0086/11.17, allocations: 2.63 MB / 3.841 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/11.17, allocations: 181.8 kB / 3.841 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/11.17, allocations: 36.58 kB / 3.841 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/11.17, allocations: 3.969 kB / 3.841 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001787/11.17, allocations: 0.7524 MB / 3.842 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/11.17, allocations: 6.531 kB / 3.842 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008743/11.17, allocations: 318.5 kB / 3.842 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/11.17, allocations: 57.31 kB / 3.842 GB, free: 134.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005223/11.18, allocations: 3.465 MB / 3.845 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/11.18, allocations: 103.7 kB / 3.845 GB, free: 133.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.639e-05/11.18, allocations: 24.56 kB / 3.845 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 (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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003189/11.18, allocations: 119 kB / 3.846 GB, free: 133.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003482/11.18, allocations: 106.9 kB / 3.846 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/11.18, allocations: 115.8 kB / 3.846 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/11.18, allocations: 11.11 kB / 3.846 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/11.18, allocations: 0 / 3.846 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/11.18, allocations: 0 / 3.846 GB, free: 133.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01544/11.2, allocations: 3.237 MB / 3.849 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.221e-05/11.2, allocations: 3.938 kB / 3.849 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/11.2, allocations: 31.45 kB / 3.849 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/11.2, allocations: 0.6635 MB / 3.85 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/11.2, allocations: 8.156 kB / 3.85 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04113/11.24, allocations: 8.401 MB / 3.858 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-05/11.24, allocations: 5.438 kB / 3.858 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01519/11.26, allocations: 2.3 MB / 3.86 GB, free: 131.1 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01528/11.27, allocations: 2.741 MB / 3.863 GB, free: 130.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008855/11.27, allocations: 183.2 kB / 3.863 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006449/11.27, allocations: 3.656 kB / 3.863 GB, free: 130.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/11.28, allocations: 154.3 kB / 3.863 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/11.28, allocations: 32.83 kB / 3.863 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/11.28, allocations: 17.86 kB / 3.863 GB, free: 130.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001821/11.28, allocations: 0.7125 MB / 3.864 GB, free: 130.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.007365/11.29, allocations: 0.8362 MB / 3.865 GB, free: 130.1 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 (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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.002989/11.29, allocations: 1.213 MB / 3.866 GB, free: 129.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01007/11.3, allocations: 1.987 MB / 3.868 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/11.3, allocations: 0 / 3.868 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006918/11.31, allocations: 1.137 MB / 3.869 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.005644/11.31, allocations: 0.5651 MB / 3.869 GB, free: 129.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/11.32, allocations: 1.797 MB / 3.871 GB, free: 129.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/11.32, allocations: 1.296 MB / 3.872 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/11.32, allocations: 0 / 3.872 GB, free: 128.4 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)