Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.224/1.224, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.0009828/0.0009828, allocations: 193.2 kB / 316 MB, free: 3.539 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.141/1.141, allocations: 205.1 MB / 0.5667 GB, free: 15.61 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.0008523/0.0008523, allocations: 87.34 kB / 0.671 GB, free: 4.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3468/0.3477, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.52, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.155/4.675, allocations: 2.182 GB / 3.067 GB, free: 223.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/4.676, allocations: 87.94 kB / 3.067 GB, free: 223.6 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 2.735/7.411, allocations: 0.9291 GB / 3.996 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/7.411, allocations: 7.906 kB / 3.996 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007079/7.412, allocations: 189.9 kB / 3.996 GB, free: 238.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00184/7.414, allocations: 1.091 MB / 3.997 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/7.414, allocations: 17.06 kB / 3.997 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.57e-05/7.414, allocations: 36.19 kB / 3.997 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006204/7.415, allocations: 499.9 kB / 3.997 GB, free: 238.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007234/7.415, allocations: 0.6805 MB / 3.998 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/7.415, allocations: 6.719 kB / 3.998 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.929e-05/7.415, allocations: 3.438 kB / 3.998 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/7.415, allocations: 15.09 kB / 3.998 GB, free: 238.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/7.418, allocations: 4.667 MB / 4.003 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/7.419, allocations: 447.1 kB / 4.003 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/7.419, allocations: 250.7 kB / 4.003 GB, free: 234.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/7.419, allocations: 194.9 kB / 4.004 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/7.42, allocations: 274.3 kB / 4.004 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/7.42, allocations: 3.828 kB / 4.004 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0007966/7.42, allocations: 0.4888 MB / 4.004 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/7.42, allocations: 88.03 kB / 4.004 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/7.421, allocations: 0.8699 MB / 4.005 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/7.421, allocations: 32.8 kB / 4.005 GB, free: 234.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/7.421, allocations: 332.9 kB / 4.006 GB, free: 234 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.08e-05/7.421, allocations: 110.6 kB / 4.006 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/7.421, allocations: 0 / 4.006 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.18e-05/7.422, allocations: 326.1 kB / 4.006 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/7.422, allocations: 190.5 kB / 4.006 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/7.422, allocations: 0.5061 MB / 4.007 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/7.422, allocations: 273.7 kB / 4.007 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/7.422, allocations: 3.875 kB / 4.007 GB, free: 233.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007051/7.423, allocations: 0.626 MB / 4.008 GB, free: 233.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003338/7.424, allocations: 2.094 MB / 4.01 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/7.424, allocations: 8.031 kB / 4.01 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/7.424, allocations: 9.781 kB / 4.01 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/7.425, allocations: 288.9 kB / 4.01 GB, free: 231 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/7.428, allocations: 6.231 MB / 4.016 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007558/7.428, allocations: 82.58 kB / 4.016 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/7.428, allocations: 31.14 kB / 4.016 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/7.428, allocations: 9.719 kB / 4.016 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005314/7.429, allocations: 411.5 kB / 4.017 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/7.429, allocations: 7.156 kB / 4.017 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/7.429, allocations: 10.53 kB / 4.017 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/7.43, allocations: 151.3 kB / 4.017 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/7.43, allocations: 14.48 kB / 4.017 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/7.43, allocations: 71.3 kB / 4.017 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/7.43, allocations: 26.41 kB / 4.017 GB, free: 225.1 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 (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.000115/7.43, allocations: 128.7 kB / 4.017 GB, free: 225 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/7.43, allocations: 96.94 kB / 4.017 GB, free: 225 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006338/7.431, allocations: 461.3 kB / 4.017 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/7.431, allocations: 2.938 kB / 4.017 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/7.431, allocations: 3.125 kB / 4.017 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/7.431, allocations: 3.469 kB / 4.017 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/7.433, allocations: 1.275 MB / 4.019 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/7.433, allocations: 6.688 kB / 4.019 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/7.433, allocations: 165 kB / 4.019 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/7.433, allocations: 3.812 kB / 4.019 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/7.433, allocations: 6.5 kB / 4.019 GB, free: 224.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001782/7.435, allocations: 6.084 MB / 4.025 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/7.435, allocations: 3 kB / 4.025 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004966/7.436, allocations: 0.6385 MB / 4.025 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006625/7.436, allocations: 1.066 MB / 4.026 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002464/7.436, allocations: 210.8 kB / 4.027 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/7.437, allocations: 7.719 kB / 4.027 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/7.437, allocations: 55.75 kB / 4.027 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.94e-05/7.437, allocations: 26.36 kB / 4.027 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/7.437, allocations: 11.66 kB / 4.027 GB, free: 217.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006601/7.438, allocations: 0.6831 MB / 4.027 GB, free: 217.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002486/7.44, allocations: 0.6321 MB / 4.028 GB, free: 217.3 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 (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.001099/7.441, allocations: 1.035 MB / 4.029 GB, free: 217.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002611/7.444, allocations: 0.9555 MB / 4.03 GB, free: 217 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/7.444, allocations: 3.844 kB / 4.03 GB, free: 217 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/7.445, allocations: 280.7 kB / 4.03 GB, free: 217 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/7.446, allocations: 377.9 kB / 4.031 GB, free: 217 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/7.448, allocations: 1.396 MB / 4.032 GB, free: 216.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005956/7.449, allocations: 1.264 MB / 4.033 GB, free: 215.9 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/7.449, allocations: 0 / 4.033 GB, free: 215.9 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)