Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.7848/0.7848, allocations: 127.4 MB / 134.6 MB, free: 4.086 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.001317/0.001317, allocations: 185.2 kB / 164.4 MB, free: 6.898 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.152/2.152, 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.001077/0.001077, allocations: 87.39 kB / 476.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.376/0.3771, allocations: 82.9 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.5678, allocations: 76.73 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.88/6.448, allocations: 2.141 GB / 2.762 GB, free: 26.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/6.448, allocations: 95.94 kB / 2.762 GB, free: 26.7 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 3.82/10.27, allocations: 0.9613 GB / 3.723 GB, free: 79.02 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/10.27, allocations: 12 kB / 3.723 GB, free: 79 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/10.27, allocations: 191.1 kB / 3.723 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/10.27, allocations: 1.135 MB / 3.724 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/10.27, allocations: 16 kB / 3.724 GB, free: 77.63 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/10.27, allocations: 40 kB / 3.725 GB, free: 77.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009238/10.27, allocations: 493.6 kB / 3.725 GB, free: 77.11 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/10.28, allocations: 0.6766 MB / 3.726 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/10.28, allocations: 0 / 3.726 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.795e-05/10.28, allocations: 4 kB / 3.726 GB, free: 76.35 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/10.28, allocations: 12 kB / 3.726 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00482/10.28, allocations: 4.503 MB / 3.73 GB, free: 71.48 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/10.28, allocations: 470.4 kB / 3.731 GB, free: 71.01 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003133/10.28, allocations: 242.5 kB / 3.731 GB, free: 70.77 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003946/10.28, allocations: 194.2 kB / 3.731 GB, free: 70.55 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003675/10.28, allocations: 261.6 kB / 3.731 GB, free: 70.27 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=30): time 4.037e-06/10.28, allocations: 0 / 3.731 GB, free: 70.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30): time 0.02026/10.3, allocations: 3.805 MB / 3.735 GB, free: 66.45 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/10.3, allocations: 93.14 kB / 3.735 GB, free: 66.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/10.3, allocations: 0.8749 MB / 3.736 GB, free: 65.45 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001964/10.31, allocations: 25.7 kB / 3.736 GB, free: 65.42 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000295/10.31, allocations: 344.8 kB / 3.736 GB, free: 65.08 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/10.31, allocations: 102.6 kB / 3.736 GB, free: 64.98 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/10.31, allocations: 0 / 3.736 GB, free: 64.98 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/10.31, allocations: 326 kB / 3.737 GB, free: 64.65 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004609/10.31, allocations: 356.6 kB / 3.737 GB, free: 64.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/10.31, allocations: 0.6672 MB / 3.738 GB, free: 63.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/10.31, allocations: 409.8 kB / 3.738 GB, free: 63.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/10.31, allocations: 3.906 kB / 3.738 GB, free: 63.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.01731/10.32, allocations: 3.631 MB / 3.742 GB, free: 59.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005939/10.33, allocations: 2.017 MB / 3.744 GB, free: 57.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/10.33, allocations: 4 kB / 3.744 GB, free: 57.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/10.33, allocations: 0.6684 MB / 3.744 GB, free: 56.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000366/10.33, allocations: 63.91 kB / 3.744 GB, free: 56.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009215/10.34, allocations: 3.053 MB / 3.747 GB, free: 53.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/10.34, allocations: 195.4 kB / 3.747 GB, free: 53.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/10.34, allocations: 27.98 kB / 3.747 GB, free: 53.24 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/10.34, allocations: 4 kB / 3.747 GB, free: 53.23 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/10.34, allocations: 0.5745 MB / 3.748 GB, free: 52.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/10.34, allocations: 4 kB / 3.748 GB, free: 52.65 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007224/10.34, allocations: 219.8 kB / 3.748 GB, free: 52.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000306/10.34, allocations: 59.91 kB / 3.748 GB, free: 52.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/10.34, allocations: 2.754 MB / 3.751 GB, free: 49.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/10.35, allocations: 75.69 kB / 3.751 GB, free: 49.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/10.35, allocations: 23.94 kB / 3.751 GB, free: 49.41 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003372/10.35, allocations: 130.8 kB / 3.751 GB, free: 49.28 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/10.35, allocations: 90.88 kB / 3.751 GB, free: 49.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/10.35, allocations: 105.1 kB / 3.751 GB, free: 49.09 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/10.35, allocations: 0 / 3.751 GB, free: 49.09 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/10.35, allocations: 4 kB / 3.751 GB, free: 49.09 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/10.35, allocations: 0 / 3.751 GB, free: 49.09 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/10.36, allocations: 4.125 MB / 3.755 GB, free: 44.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/10.36, allocations: 0 / 3.755 GB, free: 44.89 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/10.36, allocations: 28.17 kB / 3.755 GB, free: 44.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001084/10.36, allocations: 0.6317 MB / 3.756 GB, free: 44.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.146e-05/10.36, allocations: 11.98 kB / 3.756 GB, free: 44.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03246/10.4, allocations: 10.23 MB / 3.766 GB, free: 33.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/10.4, allocations: 0 / 3.766 GB, free: 33.86 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01449/10.41, allocations: 3.27 MB / 3.769 GB, free: 30.51 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01509/10.43, allocations: 3.693 MB / 3.773 GB, free: 26.74 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005801/10.43, allocations: 171.8 kB / 3.773 GB, free: 26.55 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000387/10.43, allocations: 7.984 kB / 3.773 GB, free: 26.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001356/10.43, allocations: 163.7 kB / 3.773 GB, free: 26.38 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/10.43, allocations: 27.81 kB / 3.773 GB, free: 26.36 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/10.43, allocations: 19.98 kB / 3.773 GB, free: 26.34 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001039/10.43, allocations: 0.6765 MB / 3.774 GB, free: 25.65 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004942/10.44, allocations: 0.7532 MB / 3.775 GB, free: 24.89 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001985/10.44, allocations: 1.099 MB / 3.776 GB, free: 23.79 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008052/10.45, allocations: 2.224 MB / 3.778 GB, free: 21.54 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/10.45, allocations: 4 kB / 3.778 GB, free: 21.54 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.006107/10.45, allocations: 1.438 MB / 3.779 GB, free: 20.09 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/10.45, allocations: 377.3 kB / 3.78 GB, free: 19.72 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/10.46, allocations: 1.81 MB / 3.781 GB, free: 17.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009577/10.46, allocations: 1.259 MB / 3.783 GB, free: 16.58 MB / 0.6667 GB Notification: Performance of SimCode: time 1.272e-06/10.46, allocations: 0 / 3.783 GB, free: 16.58 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)