Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000983/0.000983, allocations: 181.2 kB / 316 MB, free: 3.531 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.107/1.107, allocations: 205.2 MB / 0.5667 GB, free: 15.58 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008535/0.0008536, allocations: 90.95 kB / 0.671 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3229/0.3238, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.4781, allocations: 106.3 MB / 0.8846 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.474/3.952, allocations: 2.185 GB / 3.069 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/3.952, allocations: 83.95 kB / 3.069 GB, free: 220.8 MB / 0.8698 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 2.541/6.493, allocations: 0.9403 GB / 4.01 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/6.493, allocations: 7.719 kB / 4.01 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008687/6.494, allocations: 191.3 kB / 4.01 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/6.497, allocations: 1.393 MB / 4.011 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/6.497, allocations: 19.38 kB / 4.011 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/6.498, allocations: 36.97 kB / 4.011 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006654/6.498, allocations: 0.5045 MB / 4.012 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007381/6.499, allocations: 0.7079 MB / 4.012 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/6.499, allocations: 8.344 kB / 4.012 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/6.499, allocations: 7.438 kB / 4.012 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/6.499, allocations: 17 kB / 4.012 GB, free: 242.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/6.502, allocations: 4.153 MB / 4.017 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/6.503, allocations: 462.8 kB / 4.017 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002976/6.503, allocations: 330.9 kB / 4.017 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/6.503, allocations: 200.2 kB / 4.017 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/6.503, allocations: 283.7 kB / 4.018 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 1.714e-06/6.503, allocations: 0 / 4.018 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.00083/6.504, allocations: 0.5215 MB / 4.018 GB, free: 239.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/6.504, allocations: 84.11 kB / 4.018 GB, free: 239 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008047/6.505, allocations: 0.8793 MB / 4.019 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.705e-05/6.505, allocations: 29.61 kB / 4.019 GB, free: 238.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/6.505, allocations: 328.2 kB / 4.02 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/6.505, allocations: 114.3 kB / 4.02 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/6.505, allocations: 0 / 4.02 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/6.506, allocations: 329.3 kB / 4.02 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/6.506, allocations: 201.2 kB / 4.02 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/6.506, allocations: 0.5123 MB / 4.021 GB, free: 238 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/6.506, allocations: 300.9 kB / 4.021 GB, free: 238 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/6.506, allocations: 3.188 kB / 4.021 GB, free: 238 MB / 0.8698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007555/6.507, allocations: 0.6427 MB / 4.022 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003683/6.508, allocations: 2.097 MB / 4.024 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/6.508, allocations: 7.781 kB / 4.024 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/6.508, allocations: 9.531 kB / 4.024 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/6.509, allocations: 297.2 kB / 4.024 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/6.512, allocations: 6.234 MB / 4.03 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/6.513, allocations: 107.6 kB / 4.03 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.784e-05/6.513, allocations: 23.75 kB / 4.03 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/6.513, allocations: 3.281 kB / 4.03 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005965/6.514, allocations: 452.8 kB / 4.031 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/6.514, allocations: 3.812 kB / 4.031 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/6.514, allocations: 7.875 kB / 4.031 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/6.514, allocations: 155.4 kB / 4.031 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/6.514, allocations: 14.16 kB / 4.031 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007008/6.515, allocations: 93.42 kB / 4.031 GB, free: 229.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.87e-05/6.515, allocations: 31.66 kB / 4.031 GB, free: 229.8 MB / 0.8698 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.000125/6.515, allocations: 123.1 kB / 4.031 GB, free: 229.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/6.515, allocations: 100.9 kB / 4.031 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008071/6.516, allocations: 497 kB / 4.032 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/6.516, allocations: 2.719 kB / 4.032 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/6.516, allocations: 1.203 kB / 4.032 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/6.516, allocations: 5.125 kB / 4.032 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/6.518, allocations: 1.354 MB / 4.033 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/6.518, allocations: 6.312 kB / 4.033 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/6.519, allocations: 157.7 kB / 4.033 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/6.519, allocations: 3.719 kB / 4.033 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/6.519, allocations: 3.25 kB / 4.033 GB, free: 228.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/6.521, allocations: 6.088 MB / 4.039 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/6.521, allocations: 7.156 kB / 4.039 GB, free: 223 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006802/6.521, allocations: 0.6788 MB / 4.04 GB, free: 222.5 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006849/6.522, allocations: 1.097 MB / 4.041 GB, free: 221.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003475/6.523, allocations: 216.3 kB / 4.041 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/6.523, allocations: 6.859 kB / 4.041 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006486/6.523, allocations: 66.25 kB / 4.041 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/6.523, allocations: 33.91 kB / 4.041 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/6.523, allocations: 15.16 kB / 4.041 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007787/6.524, allocations: 0.6865 MB / 4.042 GB, free: 221.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002853/6.527, allocations: 0.6613 MB / 4.042 GB, free: 221 MB / 0.8698 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.001368/6.528, allocations: 1.102 MB / 4.043 GB, free: 220.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003126/6.532, allocations: 1.016 MB / 4.044 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/6.532, allocations: 0 / 4.044 GB, free: 220.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008395/6.532, allocations: 310.9 kB / 4.045 GB, free: 220.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/6.535, allocations: 0.5417 MB / 4.045 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/6.538, allocations: 1.409 MB / 4.047 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/6.539, allocations: 1.276 MB / 4.048 GB, free: 219 MB / 0.8698 GB Notification: Performance of SimCode: time 8.82e-07/6.539, allocations: 0 / 4.048 GB, free: 219 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)