Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001017, allocations: 193 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4579/0.4579, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.4 MB / 342.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009493/0.0009493, allocations: 91.45 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1813/0.1823, allocations: 78.46 MB / 494 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.6319, allocations: 72.3 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.288/4.92, allocations: 1.822 GB / 2.375 GB, free: 238.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/4.921, allocations: 87.28 kB / 2.375 GB, free: 238.5 MB / 0.6042 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 5.756/10.68, allocations: 1.803 GB / 4.178 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/10.68, allocations: 12 kB / 4.178 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/10.68, allocations: 190.5 kB / 4.178 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001866/10.68, allocations: 1.084 MB / 4.179 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/10.68, allocations: 16 kB / 4.179 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/10.68, allocations: 40 kB / 4.179 GB, free: 55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006531/10.68, allocations: 497.7 kB / 4.18 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007294/10.68, allocations: 0.6825 MB / 4.18 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/10.68, allocations: 3.938 kB / 4.18 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/10.68, allocations: 4 kB / 4.18 GB, free: 53.75 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/10.68, allocations: 12 kB / 4.181 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003124/10.68, allocations: 4.667 MB / 4.185 GB, free: 48.71 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/10.68, allocations: 446.5 kB / 4.185 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/10.69, allocations: 244.7 kB / 4.186 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/10.69, allocations: 202.2 kB / 4.186 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/10.69, allocations: 268.1 kB / 4.186 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/10.69, allocations: 0 / 4.186 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.0008686/10.69, allocations: 0.4929 MB / 4.187 GB, free: 47 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.964e-05/10.69, allocations: 85.09 kB / 4.187 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000825/10.69, allocations: 0.8713 MB / 4.188 GB, free: 46.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/10.69, allocations: 29.7 kB / 4.188 GB, free: 45.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/10.69, allocations: 340.8 kB / 4.188 GB, free: 45.64 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/10.69, allocations: 106.4 kB / 4.188 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/10.69, allocations: 0 / 4.188 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.972e-05/10.69, allocations: 337.9 kB / 4.188 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/10.69, allocations: 184.8 kB / 4.189 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/10.69, allocations: 0.5077 MB / 4.189 GB, free: 44.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/10.69, allocations: 278.2 kB / 4.189 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/10.69, allocations: 3.984 kB / 4.189 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007253/10.69, allocations: 0.617 MB / 4.19 GB, free: 43.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003677/10.69, allocations: 2.101 MB / 4.192 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/10.69, allocations: 8 kB / 4.192 GB, free: 41.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/10.69, allocations: 8 kB / 4.192 GB, free: 41.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/10.69, allocations: 123.8 kB / 4.192 GB, free: 41.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/10.69, allocations: 11.98 kB / 4.192 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/10.69, allocations: 91.41 kB / 4.192 GB, free: 40.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-05/10.69, allocations: 24 kB / 4.192 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/10.69, allocations: 8 kB / 4.192 GB, free: 40.94 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005014/10.69, allocations: 408.8 kB / 4.193 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/10.69, allocations: 12.12 kB / 4.193 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/10.69, allocations: 8 kB / 4.193 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/10.69, allocations: 111.8 kB / 4.193 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/10.69, allocations: 11.94 kB / 4.193 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/10.69, allocations: 79.59 kB / 4.193 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/10.69, allocations: 24 kB / 4.193 GB, free: 40.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/10.69, allocations: 128.8 kB / 4.193 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/10.69, allocations: 94.86 kB / 4.193 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006701/10.69, allocations: 456.1 kB / 4.193 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/10.69, allocations: 8 kB / 4.193 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/10.69, allocations: 0 / 4.193 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/10.69, allocations: 3.984 kB / 4.194 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/10.7, allocations: 1.277 MB / 4.195 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/10.7, allocations: 3.938 kB / 4.195 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/10.7, allocations: 75.88 kB / 4.195 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/10.7, allocations: 4 kB / 4.195 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/10.7, allocations: 4 kB / 4.195 GB, free: 38.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/10.7, allocations: 4.219 kB / 4.195 GB, free: 38.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/10.7, allocations: 15.92 kB / 4.195 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005937/10.7, allocations: 0.6316 MB / 4.195 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006805/10.7, allocations: 1.082 MB / 4.197 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/10.7, allocations: 215.8 kB / 4.197 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/10.7, allocations: 4 kB / 4.197 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/10.7, allocations: 51.86 kB / 4.197 GB, free: 36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/10.7, allocations: 31.86 kB / 4.197 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.552e-05/10.7, allocations: 12 kB / 4.197 GB, free: 35.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006834/10.7, allocations: 0.6845 MB / 4.197 GB, free: 35.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002851/10.7, allocations: 0.6205 MB / 4.198 GB, free: 34.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/10.7, allocations: 1.035 MB / 4.199 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009715/10.7, allocations: 0.73 MB / 4.2 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/10.7, allocations: 4 kB / 4.2 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/10.7, allocations: 186.9 kB / 4.2 GB, free: 32.68 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/10.71, allocations: 379.6 kB / 4.2 GB, free: 32.31 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/10.71, allocations: 1.375 MB / 4.202 GB, free: 30.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/10.71, allocations: 1.275 MB / 4.203 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/10.71, allocations: 4 kB / 4.203 GB, free: 29.58 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)