Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.363/1.363, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009917/0.0009916, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.088/1.088, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008015/0.0008014, allocations: 95.86 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2236/0.2244, allocations: 121.5 MB / 0.8512 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5795/0.804, allocations: 115.3 MB / 0.9638 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.505/4.309, allocations: 2.063 GB / 3.026 GB, free: 93.34 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/4.309, allocations: 89.11 kB / 3.027 GB, free: 93.26 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.025/7.334, allocations: 0.9624 GB / 3.989 GB, free: 239.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/7.335, allocations: 12 kB / 3.989 GB, free: 239.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009869/7.336, allocations: 186.5 kB / 3.989 GB, free: 239.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002454/7.338, allocations: 1.087 MB / 3.99 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/7.338, allocations: 20 kB / 3.99 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/7.338, allocations: 47.88 kB / 3.99 GB, free: 238.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007445/7.339, allocations: 489.7 kB / 3.991 GB, free: 237.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007673/7.34, allocations: 0.6817 MB / 3.991 GB, free: 237.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/7.34, allocations: 7.938 kB / 3.991 GB, free: 237.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.211e-05/7.34, allocations: 0 / 3.991 GB, free: 237.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/7.34, allocations: 19.91 kB / 3.991 GB, free: 237.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/7.343, allocations: 4.66 MB / 3.996 GB, free: 232.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004465/7.344, allocations: 446.5 kB / 3.996 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/7.344, allocations: 252.7 kB / 3.997 GB, free: 231.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002721/7.344, allocations: 201.8 kB / 3.997 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/7.345, allocations: 263.2 kB / 3.997 GB, free: 230.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/7.345, allocations: 0 / 3.997 GB, free: 230.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0008895/7.345, allocations: 0.4943 MB / 3.998 GB, free: 230.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/7.345, allocations: 89.03 kB / 3.998 GB, free: 230.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/7.346, allocations: 0.8675 MB / 3.998 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/7.346, allocations: 29.7 kB / 3.998 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/7.347, allocations: 339.9 kB / 3.999 GB, free: 229.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/7.347, allocations: 106.4 kB / 3.999 GB, free: 229 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.039e-05/7.347, allocations: 0 / 3.999 GB, free: 229 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.83e-05/7.347, allocations: 330 kB / 3.999 GB, free: 228.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/7.347, allocations: 188.8 kB / 3.999 GB, free: 228.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/7.347, allocations: 0.5036 MB / 4 GB, free: 227.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/7.348, allocations: 273.9 kB / 4 GB, free: 227.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/7.348, allocations: 4 kB / 4 GB, free: 227.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007731/7.349, allocations: 0.6294 MB / 4.001 GB, free: 226.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003444/7.349, allocations: 2.096 MB / 4.003 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/7.349, allocations: 4 kB / 4.003 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/7.349, allocations: 12.22 kB / 4.003 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/7.351, allocations: 283.2 kB / 4.003 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/7.353, allocations: 6.243 MB / 4.009 GB, free: 217.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007598/7.354, allocations: 83.56 kB / 4.009 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/7.354, allocations: 27.98 kB / 4.009 GB, free: 217.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.211e-06/7.354, allocations: 4 kB / 4.009 GB, free: 217.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004799/7.354, allocations: 415.3 kB / 4.01 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/7.354, allocations: 4 kB / 4.01 GB, free: 217.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/7.354, allocations: 12.66 kB / 4.01 GB, free: 217.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005288/7.355, allocations: 152 kB / 4.01 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/7.355, allocations: 11.98 kB / 4.01 GB, free: 217.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/7.356, allocations: 75.64 kB / 4.01 GB, free: 217.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/7.356, allocations: 27.98 kB / 4.01 GB, free: 217.1 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.0001162/7.356, allocations: 128.5 kB / 4.01 GB, free: 217 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.406e-05/7.356, allocations: 94.88 kB / 4.01 GB, free: 216.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005669/7.356, allocations: 455.8 kB / 4.011 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/7.356, allocations: 4 kB / 4.011 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/7.356, allocations: 8 kB / 4.011 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/7.356, allocations: 3.938 kB / 4.011 GB, free: 216.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/7.358, allocations: 1.281 MB / 4.012 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/7.358, allocations: 0 / 4.012 GB, free: 215.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/7.359, allocations: 163.5 kB / 4.012 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/7.359, allocations: 4 kB / 4.012 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/7.359, allocations: 4 kB / 4.012 GB, free: 214.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/7.36, allocations: 6.087 MB / 4.018 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/7.36, allocations: 0 / 4.018 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000489/7.361, allocations: 0.6479 MB / 4.019 GB, free: 207.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006409/7.361, allocations: 1.065 MB / 4.02 GB, free: 206.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/7.362, allocations: 215.8 kB / 4.02 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/7.362, allocations: 0 / 4.02 GB, free: 206.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/7.362, allocations: 51.8 kB / 4.02 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/7.363, allocations: 31.89 kB / 4.02 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/7.363, allocations: 23.94 kB / 4.02 GB, free: 206.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006149/7.363, allocations: 0.6806 MB / 4.021 GB, free: 205.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002546/7.366, allocations: 0.6283 MB / 4.021 GB, free: 205 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.001154/7.367, allocations: 1.036 MB / 4.022 GB, free: 204.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00246/7.369, allocations: 0.9394 MB / 4.023 GB, free: 203.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/7.369, allocations: 4 kB / 4.023 GB, free: 203.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000706/7.37, allocations: 280 kB / 4.023 GB, free: 202.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/7.372, allocations: 374.3 kB / 4.024 GB, free: 202.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/7.374, allocations: 1.389 MB / 4.025 GB, free: 201.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006952/7.375, allocations: 1.275 MB / 4.026 GB, free: 199.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.51e-07/7.375, allocations: 0 / 4.026 GB, free: 199.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)