Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp",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 10.0.0-master/package.mo): time 2.425/2.425, allocations: 390.4 MB / 397.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 181.3 kB / 490.8 MB, free: 6.445 MB / 398.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.829/1.829, allocations: 221.3 MB / 0.7863 GB, free: 1.859 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 92.61 kB / 0.9264 GB, free: 2.438 MB / 0.6856 GB Notification: Performance of FrontEnd - loaded program: time 0.8713/0.8724, allocations: 149.1 MB / 1.072 GB, free: 186.4 MB / 0.7637 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/1.233, allocations: 143 MB / 1.212 GB, free: 43.9 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.4/6.633, allocations: 1.872 GB / 3.083 GB, free: 438 MB / 1.154 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/6.633, allocations: 89.19 kB / 3.084 GB, free: 438 MB / 1.154 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.083/9.717, allocations: 0.9817 GB / 4.065 GB, free: 356.5 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/9.717, allocations: 8.25 kB / 4.065 GB, free: 356.5 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/9.718, allocations: 190.5 kB / 4.065 GB, free: 356.4 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/9.721, allocations: 1.395 MB / 4.067 GB, free: 355 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/9.722, allocations: 19.91 kB / 4.067 GB, free: 355 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.904e-05/9.722, allocations: 41.52 kB / 4.067 GB, free: 355 MB / 1.154 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006879/9.722, allocations: 0.5013 MB / 4.067 GB, free: 354.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/9.723, allocations: 0.7119 MB / 4.068 GB, free: 353.7 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/9.723, allocations: 7.688 kB / 4.068 GB, free: 353.7 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/9.723, allocations: 7.938 kB / 4.068 GB, free: 353.7 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/9.723, allocations: 12 kB / 4.068 GB, free: 353.7 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/9.726, allocations: 4.16 MB / 4.072 GB, free: 349.3 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/9.727, allocations: 465.1 kB / 4.072 GB, free: 348.9 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/9.727, allocations: 322.8 kB / 4.073 GB, free: 348.6 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/9.727, allocations: 193.2 kB / 4.073 GB, free: 348.3 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002752/9.728, allocations: 287.4 kB / 4.073 GB, free: 348 MB / 1.154 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/9.728, allocations: 0 / 4.073 GB, free: 348 MB / 1.154 GB Notification: Performance of matching and sorting (n=33): time 0.0008397/9.728, allocations: 0.5271 MB / 4.074 GB, free: 347.5 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/9.728, allocations: 84.86 kB / 4.074 GB, free: 347.4 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/9.729, allocations: 0.8778 MB / 4.075 GB, free: 346.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/9.729, allocations: 29.7 kB / 4.075 GB, free: 346.5 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/9.729, allocations: 343.7 kB / 4.075 GB, free: 346.2 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/9.729, allocations: 106.7 kB / 4.075 GB, free: 346.1 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/9.729, allocations: 0 / 4.075 GB, free: 346.1 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 5.365e-05/9.73, allocations: 322 kB / 4.075 GB, free: 345.8 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/9.73, allocations: 204.8 kB / 4.076 GB, free: 345.6 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/9.73, allocations: 0.5216 MB / 4.076 GB, free: 344.9 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/9.73, allocations: 282.3 kB / 4.076 GB, free: 344.6 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/9.73, allocations: 4 kB / 4.076 GB, free: 344.6 MB / 1.154 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007216/9.731, allocations: 0.6505 MB / 4.077 GB, free: 344 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003126/9.731, allocations: 2.097 MB / 4.079 GB, free: 341.7 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/9.731, allocations: 4 kB / 4.079 GB, free: 341.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/9.731, allocations: 8 kB / 4.079 GB, free: 341.7 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/9.733, allocations: 306 kB / 4.079 GB, free: 341.4 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/9.736, allocations: 6.233 MB / 4.086 GB, free: 335 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/9.737, allocations: 108.3 kB / 4.086 GB, free: 334.9 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/9.737, allocations: 24 kB / 4.086 GB, free: 334.9 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 7.203e-06/9.737, allocations: 4 kB / 4.086 GB, free: 334.9 MB / 1.154 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005198/9.737, allocations: 456.8 kB / 4.086 GB, free: 334.4 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/9.737, allocations: 7.406 kB / 4.086 GB, free: 334.4 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/9.737, allocations: 11.91 kB / 4.086 GB, free: 334.4 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000576/9.738, allocations: 151.7 kB / 4.086 GB, free: 334.3 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/9.738, allocations: 15.05 kB / 4.086 GB, free: 334.3 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006871/9.739, allocations: 86.95 kB / 4.086 GB, free: 334.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.8e-05/9.739, allocations: 27.98 kB / 4.086 GB, free: 334.2 MB / 1.154 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 (55): * Single equations (assignments): 44 * 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.0001107/9.739, allocations: 131.4 kB / 4.087 GB, free: 334 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.705e-05/9.739, allocations: 94.78 kB / 4.087 GB, free: 333.9 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/9.74, allocations: 494.8 kB / 4.087 GB, free: 333.4 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/9.74, allocations: 7.906 kB / 4.087 GB, free: 333.4 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/9.74, allocations: 0 / 4.087 GB, free: 333.4 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/9.74, allocations: 3.984 kB / 4.087 GB, free: 333.4 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/9.741, allocations: 1.36 MB / 4.088 GB, free: 332 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/9.741, allocations: 0 / 4.088 GB, free: 332 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006706/9.742, allocations: 159.4 kB / 4.089 GB, free: 331.9 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/9.742, allocations: 4 kB / 4.089 GB, free: 331.9 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/9.742, allocations: 4 kB / 4.089 GB, free: 331.9 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/9.743, allocations: 6.082 MB / 4.095 GB, free: 325.6 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/9.744, allocations: 3.531 kB / 4.095 GB, free: 325.6 MB / 1.154 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005258/9.744, allocations: 0.6746 MB / 4.095 GB, free: 324.8 MB / 1.154 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006987/9.745, allocations: 1.097 MB / 4.096 GB, free: 323.6 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/9.745, allocations: 219.8 kB / 4.096 GB, free: 323.4 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/9.745, allocations: 8 kB / 4.096 GB, free: 323.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006209/9.746, allocations: 74.2 kB / 4.097 GB, free: 323.3 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.347e-05/9.746, allocations: 27.95 kB / 4.097 GB, free: 323.3 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/9.746, allocations: 8 kB / 4.097 GB, free: 323.3 MB / 1.154 GB Notification: Performance of sort global known variables: time 0.0006028/9.747, allocations: 0.6921 MB / 4.097 GB, free: 322.6 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002505/9.749, allocations: 0.6632 MB / 4.098 GB, free: 321.9 MB / 1.154 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 (33): * Single equations (assignments): 21 * 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.001147/9.75, allocations: 1.099 MB / 4.099 GB, free: 321.1 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002738/9.753, allocations: 1.026 MB / 4.1 GB, free: 320 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/9.753, allocations: 1.375 kB / 4.1 GB, free: 320 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0007319/9.754, allocations: 312 kB / 4.1 GB, free: 319.7 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/9.756, allocations: 0.5376 MB / 4.101 GB, free: 319.2 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/9.758, allocations: 1.398 MB / 4.102 GB, free: 317.8 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000575/9.759, allocations: 1.268 MB / 4.103 GB, free: 316.5 MB / 1.154 GB Notification: Performance of SimCode: time 2.7e-07/9.759, allocations: 0 / 4.103 GB, free: 316.5 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)