Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 289.8 MB / 297 MB, free: 6.629 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001802/0.001802, allocations: 169.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 87.78 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3398/0.3412, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8024/1.144, allocations: 116.3 MB / 0.9726 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.666/5.809, allocations: 2.064 GB / 3.036 GB, free: 12.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/5.81, allocations: 92.59 kB / 3.036 GB, free: 12.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 3.625/9.435, allocations: 0.9624 GB / 3.999 GB, free: 148.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/9.435, allocations: 8 kB / 3.999 GB, free: 148.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/9.436, allocations: 194.4 kB / 3.999 GB, free: 148.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/9.439, allocations: 1.093 MB / 4 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/9.439, allocations: 16 kB / 4 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/9.439, allocations: 36 kB / 4 GB, free: 146.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008687/9.44, allocations: 497.6 kB / 4.001 GB, free: 146.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/9.441, allocations: 0.6937 MB / 4.001 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/9.441, allocations: 0 / 4.001 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/9.441, allocations: 4 kB / 4.001 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/9.441, allocations: 12 kB / 4.001 GB, free: 145.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/9.446, allocations: 4.673 MB / 4.006 GB, free: 140.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005526/9.446, allocations: 453 kB / 4.006 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/9.447, allocations: 250.6 kB / 4.006 GB, free: 139.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/9.447, allocations: 194.2 kB / 4.007 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/9.447, allocations: 261.1 kB / 4.007 GB, free: 139.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.876e-06/9.447, allocations: 0 / 4.007 GB, free: 139.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001184/9.448, allocations: 0.4903 MB / 4.007 GB, free: 138.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/9.449, allocations: 89.09 kB / 4.007 GB, free: 138.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/9.45, allocations: 0.8791 MB / 4.008 GB, free: 137.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.919e-05/9.45, allocations: 25.7 kB / 4.008 GB, free: 137.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/9.45, allocations: 336.8 kB / 4.009 GB, free: 137.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.72e-05/9.45, allocations: 106.5 kB / 4.009 GB, free: 137.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/9.45, allocations: 0 / 4.009 GB, free: 137.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/9.45, allocations: 325.9 kB / 4.009 GB, free: 137.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/9.451, allocations: 189 kB / 4.009 GB, free: 136.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/9.451, allocations: 0.5038 MB / 4.01 GB, free: 136.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/9.452, allocations: 282.1 kB / 4.01 GB, free: 136 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/9.452, allocations: 3.938 kB / 4.01 GB, free: 136 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009148/9.452, allocations: 0.6212 MB / 4.011 GB, free: 135.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005041/9.453, allocations: 2.104 MB / 4.013 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/9.453, allocations: 4 kB / 4.013 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/9.453, allocations: 8 kB / 4.013 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/9.455, allocations: 283.6 kB / 4.013 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/9.457, allocations: 6.235 MB / 4.019 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/9.459, allocations: 83.56 kB / 4.019 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/9.459, allocations: 31.94 kB / 4.019 GB, free: 126.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/9.459, allocations: 4 kB / 4.019 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005298/9.459, allocations: 415.9 kB / 4.02 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/9.459, allocations: 4 kB / 4.02 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/9.459, allocations: 8 kB / 4.02 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/9.46, allocations: 155.8 kB / 4.02 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/9.46, allocations: 15.94 kB / 4.02 GB, free: 125.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007663/9.461, allocations: 75.69 kB / 4.02 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/9.461, allocations: 20 kB / 4.02 GB, free: 125.6 MB / 0.948 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 (53): * Single equations (assignments): 42 * 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.0001398/9.461, allocations: 128.8 kB / 4.02 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/9.461, allocations: 98.78 kB / 4.02 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/9.462, allocations: 454.7 kB / 4.02 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/9.462, allocations: 4 kB / 4.02 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/9.462, allocations: 4 kB / 4.02 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/9.462, allocations: 7.922 kB / 4.02 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/9.463, allocations: 1.274 MB / 4.022 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/9.463, allocations: 4 kB / 4.022 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006712/9.464, allocations: 160 kB / 4.022 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/9.464, allocations: 8 kB / 4.022 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/9.464, allocations: 4 kB / 4.022 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/9.466, allocations: 6.079 MB / 4.028 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/9.466, allocations: 12.25 kB / 4.028 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005738/9.466, allocations: 0.6477 MB / 4.028 GB, free: 116.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006638/9.467, allocations: 1.071 MB / 4.03 GB, free: 115.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003683/9.467, allocations: 211.8 kB / 4.03 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/9.468, allocations: 7.984 kB / 4.03 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/9.468, allocations: 55.8 kB / 4.03 GB, free: 114.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/9.468, allocations: 23.97 kB / 4.03 GB, free: 114.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/9.468, allocations: 11.98 kB / 4.03 GB, free: 114.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007063/9.469, allocations: 0.6806 MB / 4.03 GB, free: 114.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003056/9.472, allocations: 0.6283 MB / 4.031 GB, free: 113.5 MB / 0.948 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 (31): * Single equations (assignments): 19 * 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.001378/9.473, allocations: 1.05 MB / 4.032 GB, free: 112.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00307/9.477, allocations: 0.9362 MB / 4.033 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/9.477, allocations: 0 / 4.033 GB, free: 111.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000777/9.477, allocations: 297.1 kB / 4.033 GB, free: 111.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/9.479, allocations: 363.4 kB / 4.034 GB, free: 110.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/9.482, allocations: 1.386 MB / 4.035 GB, free: 109.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006666/9.483, allocations: 1.267 MB / 4.036 GB, free: 108.1 MB / 0.948 GB Notification: Performance of SimCode: time 8.52e-07/9.483, allocations: 0 / 4.036 GB, free: 108.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)