Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.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.ParallelDp,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.035/2.035, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001151/0.001151, allocations: 184.6 kB / 487 MB, free: 5.375 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.498/1.498, allocations: 221.3 MB / 0.7819 GB, free: 1.379 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.001344/0.001344, allocations: 92.75 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6487/0.6501, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.9359, allocations: 142.3 MB / 1.205 GB, free: 26.05 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.587/5.522, allocations: 1.871 GB / 3.076 GB, free: 435.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/5.523, allocations: 91.97 kB / 3.076 GB, free: 435.2 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 3.241/8.764, allocations: 0.9817 GB / 4.058 GB, free: 348.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/8.764, allocations: 12.34 kB / 4.058 GB, free: 348.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/8.766, allocations: 190 kB / 4.058 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004612/8.77, allocations: 1.404 MB / 4.06 GB, free: 347.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/8.77, allocations: 16 kB / 4.06 GB, free: 347.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/8.77, allocations: 36 kB / 4.06 GB, free: 347.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007729/8.771, allocations: 0.5056 MB / 4.06 GB, free: 346.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/8.772, allocations: 0.7115 MB / 4.061 GB, free: 346.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/8.772, allocations: 0 / 4.061 GB, free: 346.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.155e-05/8.772, allocations: 4 kB / 4.061 GB, free: 346.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/8.772, allocations: 12 kB / 4.061 GB, free: 346.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004059/8.776, allocations: 4.17 MB / 4.065 GB, free: 341.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004798/8.777, allocations: 454.5 kB / 4.065 GB, free: 341.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/8.777, allocations: 323.7 kB / 4.066 GB, free: 341 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/8.777, allocations: 196.6 kB / 4.066 GB, free: 340.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/8.778, allocations: 282.1 kB / 4.066 GB, free: 340.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/8.778, allocations: 0 / 4.066 GB, free: 340.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.00105/8.779, allocations: 0.5276 MB / 4.067 GB, free: 339.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/8.779, allocations: 83.27 kB / 4.067 GB, free: 339.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009498/8.78, allocations: 0.8749 MB / 4.068 GB, free: 338.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/8.78, allocations: 33.81 kB / 4.068 GB, free: 338.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/8.78, allocations: 332.4 kB / 4.068 GB, free: 338.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/8.78, allocations: 113.8 kB / 4.068 GB, free: 338.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/8.78, allocations: 2.281 kB / 4.068 GB, free: 338.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/8.78, allocations: 322 kB / 4.068 GB, free: 338.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/8.78, allocations: 200.9 kB / 4.069 GB, free: 338 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/8.781, allocations: 0.5259 MB / 4.069 GB, free: 337.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/8.781, allocations: 290.4 kB / 4.069 GB, free: 337 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/8.781, allocations: 4 kB / 4.069 GB, free: 337 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007941/8.782, allocations: 0.6464 MB / 4.07 GB, free: 336.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003911/8.782, allocations: 2.101 MB / 4.072 GB, free: 334.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/8.782, allocations: 4 kB / 4.072 GB, free: 334.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/8.782, allocations: 8 kB / 4.072 GB, free: 334.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001849/8.784, allocations: 293.4 kB / 4.072 GB, free: 333.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/8.787, allocations: 6.243 MB / 4.078 GB, free: 327.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/8.788, allocations: 106.6 kB / 4.078 GB, free: 327.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-05/8.788, allocations: 27.91 kB / 4.079 GB, free: 327.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/8.788, allocations: 4 kB / 4.079 GB, free: 327.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005481/8.789, allocations: 458.8 kB / 4.079 GB, free: 326.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.86e-06/8.789, allocations: 4 kB / 4.079 GB, free: 326.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/8.789, allocations: 8 kB / 4.079 GB, free: 326.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005715/8.789, allocations: 153.9 kB / 4.079 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/8.789, allocations: 15.92 kB / 4.079 GB, free: 326.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007235/8.79, allocations: 93.05 kB / 4.079 GB, free: 326.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/8.79, allocations: 24 kB / 4.079 GB, free: 326.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_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.0001447/8.79, allocations: 136.2 kB / 4.079 GB, free: 326.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/8.79, allocations: 90.88 kB / 4.079 GB, free: 326.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007389/8.791, allocations: 490.8 kB / 4.08 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/8.791, allocations: 4 kB / 4.08 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/8.791, allocations: 4 kB / 4.08 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/8.791, allocations: 3.984 kB / 4.08 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/8.793, allocations: 1.362 MB / 4.081 GB, free: 324.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/8.793, allocations: 4 kB / 4.081 GB, free: 324.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006836/8.794, allocations: 167.5 kB / 4.081 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/8.794, allocations: 3.938 kB / 4.081 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/8.794, allocations: 11.03 kB / 4.081 GB, free: 324.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002076/8.796, allocations: 6.081 MB / 4.087 GB, free: 317.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/8.796, allocations: 3.938 kB / 4.087 GB, free: 317.9 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006744/8.796, allocations: 0.6723 MB / 4.088 GB, free: 317.2 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008961/8.797, allocations: 1.097 MB / 4.089 GB, free: 316 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/8.798, allocations: 215.8 kB / 4.089 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/8.798, allocations: 4 kB / 4.089 GB, free: 315.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/8.799, allocations: 70.2 kB / 4.089 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/8.799, allocations: 31.95 kB / 4.089 GB, free: 315.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.938e-05/8.799, allocations: 8 kB / 4.089 GB, free: 315.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0007662/8.8, allocations: 0.6913 MB / 4.09 GB, free: 315 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002971/8.802, allocations: 0.6633 MB / 4.091 GB, free: 314.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_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.001483/8.804, allocations: 1.11 MB / 4.092 GB, free: 313.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003048/8.807, allocations: 1.021 MB / 4.093 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/8.807, allocations: 3.938 kB / 4.093 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007864/8.808, allocations: 313.5 kB / 4.093 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/8.811, allocations: 0.5306 MB / 4.094 GB, free: 311.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/8.813, allocations: 1.41 MB / 4.095 GB, free: 310.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006877/8.814, allocations: 1.268 MB / 4.096 GB, free: 308.8 MB / 1.151 GB Notification: Performance of SimCode: time 2.144e-06/8.814, allocations: 0 / 4.096 GB, free: 308.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)