Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.255/2.255, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001671/0.001671, allocations: 189.2 kB / 360.3 MB, free: 7.531 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.82/1.82, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001304/0.001303, allocations: 95.17 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2893/0.2906, allocations: 121.4 MB / 0.8502 GB, free: 3.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.9043, allocations: 115.2 MB / 0.9627 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.316/6.22, allocations: 2.063 GB / 3.025 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005031/6.22, allocations: 90.02 kB / 3.025 GB, free: 273.1 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 4.294/10.51, allocations: 0.9624 GB / 3.988 GB, free: 117.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/10.51, allocations: 12.5 kB / 3.988 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/10.52, allocations: 194.4 kB / 3.988 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/10.52, allocations: 1.085 MB / 3.989 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/10.52, allocations: 23.84 kB / 3.989 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/10.52, allocations: 39.94 kB / 3.989 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001272/10.52, allocations: 489.7 kB / 3.99 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001357/10.52, allocations: 0.6856 MB / 3.99 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/10.52, allocations: 7.938 kB / 3.99 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.546e-05/10.52, allocations: 0 / 3.99 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/10.52, allocations: 16 kB / 3.99 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005675/10.53, allocations: 4.675 MB / 3.995 GB, free: 110.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009279/10.53, allocations: 452.1 kB / 3.995 GB, free: 109.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/10.53, allocations: 248.7 kB / 3.995 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/10.53, allocations: 198.2 kB / 3.996 GB, free: 109.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004882/10.53, allocations: 257.6 kB / 3.996 GB, free: 108.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.364e-06/10.53, allocations: 0 / 3.996 GB, free: 108.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001653/10.53, allocations: 0.4981 MB / 3.996 GB, free: 108.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/10.53, allocations: 89.03 kB / 3.996 GB, free: 108.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/10.53, allocations: 0.8752 MB / 3.997 GB, free: 107.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/10.53, allocations: 29.7 kB / 3.997 GB, free: 107.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/10.54, allocations: 344.9 kB / 3.998 GB, free: 107 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/10.54, allocations: 98.78 kB / 3.998 GB, free: 106.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/10.54, allocations: 4 kB / 3.998 GB, free: 106.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/10.54, allocations: 325.9 kB / 3.998 GB, free: 106.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004316/10.54, allocations: 192.8 kB / 3.998 GB, free: 106.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/10.54, allocations: 0.5041 MB / 3.999 GB, free: 105.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/10.54, allocations: 275 kB / 3.999 GB, free: 105.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/10.54, allocations: 4 kB / 3.999 GB, free: 105.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00154/10.54, allocations: 0.6272 MB / 4 GB, free: 104.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004007/10.54, allocations: 2.097 MB / 4.002 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/10.54, allocations: 8 kB / 4.002 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/10.54, allocations: 8 kB / 4.002 GB, free: 102.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003579/10.54, allocations: 283.5 kB / 4.002 GB, free: 102.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/10.55, allocations: 6.235 MB / 4.008 GB, free: 95.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/10.55, allocations: 87.56 kB / 4.008 GB, free: 95.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/10.55, allocations: 27.98 kB / 4.008 GB, free: 95.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/10.55, allocations: 8 kB / 4.008 GB, free: 95.68 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009652/10.55, allocations: 416 kB / 4.009 GB, free: 95.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/10.55, allocations: 12.03 kB / 4.009 GB, free: 95.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/10.55, allocations: 8 kB / 4.009 GB, free: 95.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/10.55, allocations: 151.7 kB / 4.009 GB, free: 95.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/10.55, allocations: 15.98 kB / 4.009 GB, free: 95.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/10.55, allocations: 71.64 kB / 4.009 GB, free: 95.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.435e-05/10.55, allocations: 27.98 kB / 4.009 GB, free: 94.99 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.0002171/10.55, allocations: 124.8 kB / 4.009 GB, free: 94.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/10.55, allocations: 94.78 kB / 4.009 GB, free: 94.77 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/10.55, allocations: 466.4 kB / 4.009 GB, free: 94.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/10.55, allocations: 4 kB / 4.009 GB, free: 94.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.966e-06/10.55, allocations: 0 / 4.009 GB, free: 94.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/10.55, allocations: 7.844 kB / 4.009 GB, free: 94.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/10.56, allocations: 1.27 MB / 4.011 GB, free: 92.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/10.56, allocations: 4 kB / 4.011 GB, free: 92.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/10.56, allocations: 151.8 kB / 4.011 GB, free: 92.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.229e-05/10.56, allocations: 8.219 kB / 4.011 GB, free: 92.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.701e-05/10.56, allocations: 11.94 kB / 4.011 GB, free: 92.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003974/10.56, allocations: 6.083 MB / 4.017 GB, free: 86.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/10.56, allocations: 0 / 4.017 GB, free: 86.46 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001072/10.56, allocations: 0.6519 MB / 4.017 GB, free: 85.73 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001164/10.57, allocations: 1.065 MB / 4.019 GB, free: 84.59 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/10.57, allocations: 215.8 kB / 4.019 GB, free: 84.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/10.57, allocations: 4 kB / 4.019 GB, free: 84.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/10.57, allocations: 51.8 kB / 4.019 GB, free: 84.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/10.57, allocations: 43.73 kB / 4.019 GB, free: 84.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/10.57, allocations: 8 kB / 4.019 GB, free: 84.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001266/10.57, allocations: 0.6845 MB / 4.019 GB, free: 83.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004394/10.57, allocations: 0.6283 MB / 4.02 GB, free: 82.93 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.001705/10.57, allocations: 1.022 MB / 4.021 GB, free: 81.91 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005453/10.58, allocations: 0.9513 MB / 4.022 GB, free: 80.94 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/10.58, allocations: 4 kB / 4.022 GB, free: 80.94 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001552/10.58, allocations: 277.3 kB / 4.022 GB, free: 80.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/10.59, allocations: 378.8 kB / 4.023 GB, free: 80.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/10.59, allocations: 1.39 MB / 4.024 GB, free: 78.86 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/10.59, allocations: 1.271 MB / 4.025 GB, free: 77.56 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/10.59, allocations: 4 kB / 4.025 GB, free: 77.55 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)