Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.7325/0.7325, 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.001352/0.001352, allocations: 181.3 kB / 164.4 MB, free: 6.895 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.872/1.872, allocations: 205.1 MB / 399.1 MB, free: 6.184 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.00105/0.00105, allocations: 92.16 kB / 476.3 MB, free: 8.934 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.37/0.3711, allocations: 82.9 MB / 0.5461 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.5877, allocations: 76.75 MB / 0.621 GB, free: 13.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.945/6.533, allocations: 2.138 GB / 2.759 GB, free: 75.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003998/6.534, allocations: 91.94 kB / 2.759 GB, free: 75.2 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 3.852/10.39, allocations: 0.9493 GB / 3.708 GB, free: 86.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/10.39, allocations: 8 kB / 3.708 GB, free: 86.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/10.39, allocations: 187.8 kB / 3.709 GB, free: 85.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003517/10.39, allocations: 1.109 MB / 3.71 GB, free: 84.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.495e-05/10.39, allocations: 27.98 kB / 3.71 GB, free: 84.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/10.39, allocations: 40 kB / 3.71 GB, free: 84.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009811/10.39, allocations: 0.4937 MB / 3.71 GB, free: 84.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/10.39, allocations: 0.6696 MB / 3.711 GB, free: 83.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/10.39, allocations: 3.938 kB / 3.711 GB, free: 83.55 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/10.39, allocations: 12 kB / 3.711 GB, free: 83.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/10.39, allocations: 12 kB / 3.711 GB, free: 83.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005472/10.4, allocations: 4.497 MB / 3.715 GB, free: 78.69 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006371/10.4, allocations: 471.9 kB / 3.716 GB, free: 78.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/10.4, allocations: 246.8 kB / 3.716 GB, free: 77.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/10.4, allocations: 195.7 kB / 3.716 GB, free: 77.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/10.4, allocations: 255.4 kB / 3.716 GB, free: 77.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 4.729e-06/10.4, allocations: 0 / 3.716 GB, free: 77.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.004599/10.41, allocations: 1.116 MB / 3.717 GB, free: 76.37 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/10.41, allocations: 89 kB / 3.718 GB, free: 76.26 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/10.41, allocations: 0.8711 MB / 3.718 GB, free: 75.37 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001413/10.41, allocations: 33.7 kB / 3.718 GB, free: 75.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/10.41, allocations: 340.1 kB / 3.719 GB, free: 75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/10.41, allocations: 106.5 kB / 3.719 GB, free: 74.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/10.41, allocations: 0 / 3.719 GB, free: 74.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/10.41, allocations: 318 kB / 3.719 GB, free: 74.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/10.41, allocations: 368.6 kB / 3.719 GB, free: 74.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/10.41, allocations: 0.6668 MB / 3.72 GB, free: 73.41 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004992/10.41, allocations: 401.5 kB / 3.721 GB, free: 73.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/10.41, allocations: 0 / 3.721 GB, free: 73.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001683/10.41, allocations: 0.9417 MB / 3.721 GB, free: 72.07 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005311/10.41, allocations: 2.009 MB / 3.723 GB, free: 69.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/10.41, allocations: 8.047 kB / 3.723 GB, free: 69.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/10.41, allocations: 11.94 kB / 3.723 GB, free: 69.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01448/10.43, allocations: 2.411 MB / 3.726 GB, free: 67.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/10.44, allocations: 8.151 MB / 3.734 GB, free: 59.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/10.44, allocations: 195.4 kB / 3.734 GB, free: 58.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/10.44, allocations: 35.98 kB / 3.734 GB, free: 58.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/10.44, allocations: 4 kB / 3.734 GB, free: 58.85 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007765/10.44, allocations: 411.9 kB / 3.734 GB, free: 58.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/10.44, allocations: 4 kB / 3.734 GB, free: 58.45 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/10.44, allocations: 8 kB / 3.734 GB, free: 58.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/10.44, allocations: 139.8 kB / 3.734 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/10.44, allocations: 19.95 kB / 3.735 GB, free: 58.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/10.44, allocations: 75.61 kB / 3.735 GB, free: 58.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.815e-05/10.44, allocations: 16 kB / 3.735 GB, free: 58.19 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_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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000336/10.44, allocations: 132.8 kB / 3.735 GB, free: 58.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003868/10.44, allocations: 90.88 kB / 3.735 GB, free: 57.96 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/10.44, allocations: 101.2 kB / 3.735 GB, free: 57.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/10.44, allocations: 4 kB / 3.735 GB, free: 57.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/10.44, allocations: 7.906 kB / 3.735 GB, free: 57.85 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/10.44, allocations: 3.984 kB / 3.735 GB, free: 57.85 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/10.45, allocations: 1.787 MB / 3.737 GB, free: 56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/10.45, allocations: 0 / 3.737 GB, free: 56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01408/10.46, allocations: 2.474 MB / 3.739 GB, free: 53.53 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.471e-05/10.46, allocations: 4 kB / 3.739 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00019/10.46, allocations: 7.984 kB / 3.739 GB, free: 53.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03687/10.5, allocations: 19.49 MB / 3.758 GB, free: 32.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/10.5, allocations: 4.125 kB / 3.758 GB, free: 32.89 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001487/10.5, allocations: 0.9256 MB / 3.759 GB, free: 31.9 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001641/10.5, allocations: 1.359 MB / 3.76 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000474/10.5, allocations: 171.8 kB / 3.761 GB, free: 30.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/10.5, allocations: 7.984 kB / 3.761 GB, free: 30.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/10.5, allocations: 163.7 kB / 3.761 GB, free: 30.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/10.5, allocations: 23.95 kB / 3.761 GB, free: 30.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/10.5, allocations: 15.98 kB / 3.761 GB, free: 30.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001067/10.51, allocations: 0.6765 MB / 3.761 GB, free: 29.38 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.006182/10.51, allocations: 0.8125 MB / 3.762 GB, free: 28.57 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/10.51, allocations: 1.039 MB / 3.763 GB, free: 27.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02098/10.54, allocations: 4.171 MB / 3.767 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.257e-05/10.54, allocations: 0 / 3.767 GB, free: 23.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01932/10.55, allocations: 3.544 MB / 3.771 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/10.56, allocations: 376.8 kB / 3.771 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/10.56, allocations: 1.685 MB / 3.773 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000804/10.56, allocations: 1.268 MB / 3.774 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.794e-06/10.56, allocations: 0 / 3.774 GB, free: 16.43 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)