Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.0/package.mo): time 2.82/2.82, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001646/0.001645, allocations: 187.5 kB / 360.3 MB, free: 7.562 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.909/1.909, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001274/0.001273, allocations: 88.97 kB / 0.7317 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2883/0.2897, allocations: 121.4 MB / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6565/0.9462, allocations: 115.2 MB / 0.9627 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.135/6.081, allocations: 2.065 GB / 3.028 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/6.081, allocations: 94.98 kB / 3.028 GB, free: 273.2 MB / 0.9323 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 4.161/10.24, allocations: 0.9744 GB / 4.002 GB, free: 102.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/10.24, allocations: 8.5 kB / 4.002 GB, free: 102.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/10.25, allocations: 194.4 kB / 4.003 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007669/10.25, allocations: 1.124 MB / 4.004 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/10.25, allocations: 16 kB / 4.004 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/10.25, allocations: 39.94 kB / 4.004 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00217/10.26, allocations: 493.7 kB / 4.004 GB, free: 100.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/10.26, allocations: 0.6856 MB / 4.005 GB, free: 99.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.17e-05/10.26, allocations: 3.938 kB / 4.005 GB, free: 99.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/10.26, allocations: 4 kB / 4.005 GB, free: 99.84 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/10.26, allocations: 12 kB / 4.005 GB, free: 99.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/10.27, allocations: 4.672 MB / 4.009 GB, free: 94.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/10.27, allocations: 454.5 kB / 4.01 GB, free: 94.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007181/10.27, allocations: 244.7 kB / 4.01 GB, free: 94.09 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005885/10.27, allocations: 186.2 kB / 4.01 GB, free: 93.87 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007719/10.27, allocations: 269.6 kB / 4.011 GB, free: 93.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 4.599e-06/10.27, allocations: 0 / 4.011 GB, free: 93.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.004302/10.28, allocations: 0.764 MB / 4.011 GB, free: 92.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/10.28, allocations: 85.09 kB / 4.011 GB, free: 92.71 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003848/10.28, allocations: 0.8755 MB / 4.012 GB, free: 91.82 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/10.28, allocations: 29.7 kB / 4.012 GB, free: 91.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/10.28, allocations: 344.9 kB / 4.013 GB, free: 91.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/10.28, allocations: 106.5 kB / 4.013 GB, free: 91.34 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/10.28, allocations: 0 / 4.013 GB, free: 91.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/10.28, allocations: 318 kB / 4.013 GB, free: 91.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/10.28, allocations: 192.8 kB / 4.013 GB, free: 90.83 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000634/10.28, allocations: 0.496 MB / 4.014 GB, free: 90.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005618/10.28, allocations: 270.1 kB / 4.014 GB, free: 89.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/10.28, allocations: 8 kB / 4.014 GB, free: 89.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002844/10.29, allocations: 0.8915 MB / 4.015 GB, free: 89.02 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005045/10.29, allocations: 2.1 MB / 4.017 GB, free: 86.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/10.29, allocations: 8 kB / 4.017 GB, free: 86.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008266/10.29, allocations: 251.4 kB / 4.017 GB, free: 86.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/10.29, allocations: 67.84 kB / 4.017 GB, free: 86.44 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002922/10.29, allocations: 1.251 MB / 4.018 GB, free: 85.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/10.29, allocations: 83.47 kB / 4.019 GB, free: 85.08 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-05/10.29, allocations: 24 kB / 4.019 GB, free: 85.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/10.29, allocations: 4 kB / 4.019 GB, free: 85.05 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001762/10.29, allocations: 0.578 MB / 4.019 GB, free: 84.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/10.29, allocations: 4 kB / 4.019 GB, free: 84.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009858/10.3, allocations: 213.4 kB / 4.019 GB, free: 84.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004177/10.3, allocations: 63.91 kB / 4.019 GB, free: 84.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00495/10.3, allocations: 2.753 MB / 4.022 GB, free: 81.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/10.3, allocations: 71.75 kB / 4.022 GB, free: 81.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.664e-05/10.3, allocations: 27.98 kB / 4.022 GB, free: 81.23 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002281/10.3, allocations: 125 kB / 4.022 GB, free: 81.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/10.3, allocations: 102.8 kB / 4.022 GB, free: 81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/10.3, allocations: 0.6552 MB / 4.023 GB, free: 80.33 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/10.3, allocations: 4 kB / 4.023 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/10.3, allocations: 0 / 4.023 GB, free: 80.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/10.3, allocations: 11.89 kB / 4.023 GB, free: 80.31 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/10.31, allocations: 1.475 MB / 4.024 GB, free: 78.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/10.31, allocations: 0 / 4.024 GB, free: 78.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/10.31, allocations: 27.92 kB / 4.024 GB, free: 78.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/10.31, allocations: 208.9 kB / 4.025 GB, free: 78.53 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/10.31, allocations: 8 kB / 4.025 GB, free: 78.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/10.31, allocations: 1.097 MB / 4.026 GB, free: 77.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/10.31, allocations: 7.906 kB / 4.026 GB, free: 77.39 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001643/10.31, allocations: 0.8557 MB / 4.027 GB, free: 76.46 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001851/10.31, allocations: 1.273 MB / 4.028 GB, free: 75.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/10.31, allocations: 219.7 kB / 4.028 GB, free: 74.86 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/10.32, allocations: 3.984 kB / 4.028 GB, free: 74.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009837/10.32, allocations: 55.86 kB / 4.028 GB, free: 74.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/10.32, allocations: 35.89 kB / 4.028 GB, free: 74.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/10.32, allocations: 12 kB / 4.028 GB, free: 74.76 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001254/10.32, allocations: 0.6847 MB / 4.029 GB, free: 74.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004361/10.32, allocations: 0.679 MB / 4.029 GB, free: 73.38 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/10.32, allocations: 1.097 MB / 4.031 GB, free: 72.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003995/10.33, allocations: 1.028 MB / 4.032 GB, free: 71.24 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/10.33, allocations: 0 / 4.032 GB, free: 71.24 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/10.33, allocations: 265.1 kB / 4.032 GB, free: 70.98 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005821/10.34, allocations: 383.3 kB / 4.032 GB, free: 70.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/10.34, allocations: 1.386 MB / 4.034 GB, free: 69.16 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/10.34, allocations: 1.259 MB / 4.035 GB, free: 67.88 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/10.34, allocations: 0 / 4.035 GB, free: 67.88 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)