Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.153/2.153, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001839/0.001839, allocations: 192.5 kB / 487 MB, free: 5.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.3 MB / 0.7819 GB, free: 1.492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 95.2 kB / 0.9213 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6754/0.6766, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.9829, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.847/5.83, allocations: 1.869 GB / 3.074 GB, free: 436.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/5.83, allocations: 93.19 kB / 3.074 GB, free: 436.7 MB / 1.151 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 3.375/9.205, allocations: 1.082 GB / 4.156 GB, free: 250.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/9.205, allocations: 8 kB / 4.156 GB, free: 250.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/9.206, allocations: 210.3 kB / 4.156 GB, free: 250.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/9.21, allocations: 1.429 MB / 4.157 GB, free: 249.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/9.21, allocations: 16 kB / 4.157 GB, free: 249.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/9.21, allocations: 40 kB / 4.157 GB, free: 249 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009507/9.211, allocations: 0.7209 MB / 4.158 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009667/9.212, allocations: 0.8682 MB / 4.159 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/9.212, allocations: 3.938 kB / 4.159 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/9.212, allocations: 4 kB / 4.159 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/9.212, allocations: 12 kB / 4.159 GB, free: 247.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003672/9.216, allocations: 4.736 MB / 4.163 GB, free: 242.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/9.216, allocations: 0.519 MB / 4.164 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/9.217, allocations: 445.2 kB / 4.164 GB, free: 241.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002864/9.217, allocations: 198.5 kB / 4.165 GB, free: 241.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/9.217, allocations: 305 kB / 4.165 GB, free: 240.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 1.964e-06/9.217, allocations: 0 / 4.165 GB, free: 240.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.001936/9.219, allocations: 0.9569 MB / 4.166 GB, free: 239.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/9.219, allocations: 89.09 kB / 4.166 GB, free: 239.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/9.22, allocations: 0.9139 MB / 4.167 GB, free: 238.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/9.22, allocations: 33.7 kB / 4.167 GB, free: 238.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/9.22, allocations: 353.3 kB / 4.167 GB, free: 238.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.132e-05/9.22, allocations: 114.2 kB / 4.167 GB, free: 238.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/9.22, allocations: 0 / 4.167 GB, free: 238.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/9.221, allocations: 330 kB / 4.168 GB, free: 237.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/9.221, allocations: 224.9 kB / 4.168 GB, free: 237.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/9.221, allocations: 0.5576 MB / 4.168 GB, free: 237 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/9.222, allocations: 321.6 kB / 4.169 GB, free: 236.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/9.222, allocations: 0 / 4.169 GB, free: 236.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001679/9.223, allocations: 1.086 MB / 4.17 GB, free: 235.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003878/9.224, allocations: 2.112 MB / 4.172 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/9.224, allocations: 4 kB / 4.172 GB, free: 233.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/9.224, allocations: 358.6 kB / 4.172 GB, free: 233 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/9.225, allocations: 71.91 kB / 4.172 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/9.226, allocations: 1.42 MB / 4.174 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/9.227, allocations: 115.4 kB / 4.174 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.393e-05/9.228, allocations: 27.98 kB / 4.174 GB, free: 231.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/9.228, allocations: 7.938 kB / 4.174 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001182/9.229, allocations: 0.7656 MB / 4.174 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/9.229, allocations: 8 kB / 4.174 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/9.229, allocations: 301.7 kB / 4.175 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/9.23, allocations: 67.84 kB / 4.175 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003836/9.233, allocations: 3.469 MB / 4.178 GB, free: 226.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009257/9.234, allocations: 103.6 kB / 4.178 GB, free: 226.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/9.234, allocations: 24 kB / 4.178 GB, free: 226.5 MB / 1.151 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_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 (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 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/9.235, allocations: 125.1 kB / 4.178 GB, free: 226.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/9.235, allocations: 102.7 kB / 4.179 GB, free: 226.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/9.236, allocations: 0.8623 MB / 4.179 GB, free: 225.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/9.236, allocations: 7.938 kB / 4.179 GB, free: 225.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/9.236, allocations: 3.906 kB / 4.179 GB, free: 225.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/9.236, allocations: 0 / 4.179 GB, free: 225.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/9.238, allocations: 1.781 MB / 4.181 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/9.238, allocations: 4 kB / 4.181 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/9.238, allocations: 27.92 kB / 4.181 GB, free: 223.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005541/9.239, allocations: 324.2 kB / 4.181 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/9.239, allocations: 4 kB / 4.181 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/9.24, allocations: 1.267 MB / 4.183 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/9.24, allocations: 4 kB / 4.183 GB, free: 221.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001086/9.241, allocations: 1.049 MB / 4.184 GB, free: 220.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001281/9.242, allocations: 1.472 MB / 4.185 GB, free: 219.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003343/9.243, allocations: 227.8 kB / 4.185 GB, free: 218.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/9.243, allocations: 0 / 4.185 GB, free: 218.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006988/9.244, allocations: 87.66 kB / 4.185 GB, free: 218.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/9.244, allocations: 27.95 kB / 4.186 GB, free: 218.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/9.244, allocations: 16 kB / 4.186 GB, free: 218.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006944/9.244, allocations: 0.7177 MB / 4.186 GB, free: 218.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003176/9.248, allocations: 0.7921 MB / 4.187 GB, free: 217.3 MB / 1.151 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_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 (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 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001525/9.249, allocations: 1.212 MB / 4.188 GB, free: 216.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002163/9.251, allocations: 1.195 MB / 4.189 GB, free: 214.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/9.251, allocations: 0 / 4.189 GB, free: 214.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/9.252, allocations: 316.3 kB / 4.19 GB, free: 214.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/9.255, allocations: 0.5702 MB / 4.19 GB, free: 214 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/9.257, allocations: 1.491 MB / 4.192 GB, free: 212.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007112/9.258, allocations: 1.295 MB / 4.193 GB, free: 211.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/9.258, allocations: 0 / 4.193 GB, free: 211.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)