Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.001092/0.001092, allocations: 185.4 kB / 7.801 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4684/0.4684, allocations: 90.84 MB / 99.06 MB, free: 14.95 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.433/1.433, allocations: 221.4 MB / 342.8 MB, free: 5.215 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.001119/0.001119, allocations: 93.08 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2275/0.2287, allocations: 78.46 MB / 494 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4964/0.7251, allocations: 72.3 MB / 0.553 GB, free: 73.25 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.209/4.935, allocations: 1.824 GB / 2.377 GB, free: 237.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/4.935, allocations: 89.19 kB / 2.378 GB, free: 237.1 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 6.028/10.96, allocations: 1.815 GB / 4.193 GB, free: 44.58 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/10.96, allocations: 12 kB / 4.193 GB, free: 44.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001166/10.96, allocations: 186.5 kB / 4.193 GB, free: 44.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/10.97, allocations: 1.112 MB / 4.194 GB, free: 43.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.28e-05/10.97, allocations: 19.98 kB / 4.194 GB, free: 43.2 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/10.97, allocations: 40 kB / 4.194 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000817/10.97, allocations: 485.7 kB / 4.195 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/10.97, allocations: 0.685 MB / 4.195 GB, free: 41.92 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/10.97, allocations: 3.938 kB / 4.195 GB, free: 41.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.862e-05/10.97, allocations: 11.89 kB / 4.195 GB, free: 41.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/10.97, allocations: 15.94 kB / 4.195 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/10.97, allocations: 4.669 MB / 4.2 GB, free: 36.86 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/10.97, allocations: 446.5 kB / 4.2 GB, free: 36.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/10.97, allocations: 242.2 kB / 4.2 GB, free: 36.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/10.97, allocations: 198.2 kB / 4.201 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/10.97, allocations: 263.1 kB / 4.201 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.545e-06/10.97, allocations: 0 / 4.201 GB, free: 35.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001697/10.98, allocations: 0.7662 MB / 4.202 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/10.98, allocations: 89.03 kB / 4.202 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/10.98, allocations: 0.8756 MB / 4.203 GB, free: 33.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/10.98, allocations: 33.69 kB / 4.203 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/10.98, allocations: 332.2 kB / 4.203 GB, free: 33.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.417e-05/10.98, allocations: 106.5 kB / 4.203 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/10.98, allocations: 4 kB / 4.203 GB, free: 33.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/10.98, allocations: 329.9 kB / 4.203 GB, free: 33.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/10.98, allocations: 184.8 kB / 4.204 GB, free: 32.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/10.98, allocations: 0.496 MB / 4.204 GB, free: 32.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/10.98, allocations: 278.1 kB / 4.204 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/10.98, allocations: 0 / 4.204 GB, free: 31.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001432/10.98, allocations: 0.9077 MB / 4.205 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003239/10.98, allocations: 2.089 MB / 4.207 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/10.98, allocations: 4 kB / 4.207 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003953/10.98, allocations: 239 kB / 4.207 GB, free: 28.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/10.98, allocations: 67.83 kB / 4.207 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009003/10.98, allocations: 1.142 MB / 4.209 GB, free: 27.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/10.98, allocations: 83.59 kB / 4.209 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/10.98, allocations: 24 kB / 4.209 GB, free: 27.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/10.98, allocations: 4 kB / 4.209 GB, free: 27.24 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009645/10.98, allocations: 0.5941 MB / 4.209 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/10.98, allocations: 8 kB / 4.209 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004615/10.98, allocations: 207.3 kB / 4.21 GB, free: 26.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/10.98, allocations: 67.94 kB / 4.21 GB, free: 26.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/10.99, allocations: 2.759 MB / 4.212 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/10.99, allocations: 79.69 kB / 4.212 GB, free: 23.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/10.99, allocations: 24 kB / 4.212 GB, free: 23.39 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 (34): * Single equations (assignments): 32 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001609/10.99, allocations: 120.8 kB / 4.212 GB, free: 23.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/10.99, allocations: 94.78 kB / 4.213 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/10.99, allocations: 0.6553 MB / 4.213 GB, free: 22.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/10.99, allocations: 4 kB / 4.213 GB, free: 22.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/10.99, allocations: 11.84 kB / 4.213 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/10.99, allocations: 3.938 kB / 4.213 GB, free: 22.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/10.99, allocations: 1.459 MB / 4.215 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/10.99, allocations: 11.92 kB / 4.215 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001177/10.99, allocations: 32.14 kB / 4.215 GB, free: 20.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000303/10.99, allocations: 191.8 kB / 4.215 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/10.99, allocations: 4 kB / 4.215 GB, free: 20.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007244/10.99, allocations: 1.013 MB / 4.216 GB, free: 19.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/10.99, allocations: 11.92 kB / 4.216 GB, free: 19.68 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008143/10.99, allocations: 0.8512 MB / 4.217 GB, free: 18.74 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001006/10.99, allocations: 1.278 MB / 4.218 GB, free: 17.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/10.99, allocations: 219.8 kB / 4.218 GB, free: 17.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/10.99, allocations: 4 kB / 4.218 GB, free: 17.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/11, allocations: 55.73 kB / 4.218 GB, free: 17.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/11, allocations: 31.95 kB / 4.218 GB, free: 17.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/11, allocations: 12 kB / 4.218 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006716/11, allocations: 0.6846 MB / 4.219 GB, free: 16.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002745/11, allocations: 0.6674 MB / 4.22 GB, free: 15.68 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 (12): * Single equations (assignments): 9 * 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/11, allocations: 1.102 MB / 4.221 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001419/11, allocations: 0.9091 MB / 4.222 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/11, allocations: 0 / 4.222 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/11, allocations: 210.7 kB / 4.222 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/11, allocations: 380.3 kB / 4.222 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/11.01, allocations: 1.386 MB / 4.223 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006214/11.01, allocations: 1.262 MB / 4.225 GB, free: 10.36 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/11.01, allocations: 4 kB / 4.225 GB, free: 10.35 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)