Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") [: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.611/1.611, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001286/0.001287, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.915/1.915, allocations: 205.1 MB / 0.6256 GB, free: 7.473 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.001062/0.001062, allocations: 89.09 kB / 0.7395 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.106e-05/1.108e-05, allocations: 4 kB / 0.859 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.812/0.812, allocations: 116.3 MB / 0.9726 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.607/5.419, allocations: 2.064 GB / 3.036 GB, free: 41.92 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/5.42, allocations: 98.28 kB / 3.036 GB, free: 41.82 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.912/11.33, allocations: 1.788 GB / 4.825 GB, free: 65.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.66e-05/11.33, allocations: 31.98 kB / 4.825 GB, free: 65.79 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 0.001696/11.33, allocations: 1.13 MB / 4.826 GB, free: 64.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/11.33, allocations: 8.031 kB / 4.826 GB, free: 64.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000768/11.33, allocations: 186.5 kB / 4.826 GB, free: 64.41 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/11.34, allocations: 1.092 MB / 4.827 GB, free: 63.26 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/11.34, allocations: 16 kB / 4.827 GB, free: 63.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.799e-05/11.34, allocations: 39.94 kB / 4.827 GB, free: 63.21 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006536/11.34, allocations: 489.7 kB / 4.828 GB, free: 62.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/11.34, allocations: 0.6889 MB / 4.828 GB, free: 61.96 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/11.34, allocations: 0 / 4.828 GB, free: 61.96 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.129e-05/11.34, allocations: 4 kB / 4.828 GB, free: 61.96 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/11.34, allocations: 12 kB / 4.828 GB, free: 61.95 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/11.34, allocations: 4.681 MB / 4.833 GB, free: 56.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/11.34, allocations: 440.5 kB / 4.833 GB, free: 56.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/11.34, allocations: 256.7 kB / 4.834 GB, free: 56.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003029/11.34, allocations: 194.2 kB / 4.834 GB, free: 55.98 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/11.34, allocations: 274.4 kB / 4.834 GB, free: 55.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.795e-06/11.34, allocations: 0 / 4.834 GB, free: 55.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.000881/11.34, allocations: 0.4941 MB / 4.834 GB, free: 55.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/11.34, allocations: 85.09 kB / 4.835 GB, free: 55.09 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/11.34, allocations: 0.8752 MB / 4.835 GB, free: 54.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/11.34, allocations: 29.7 kB / 4.835 GB, free: 54.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/11.34, allocations: 340.7 kB / 4.836 GB, free: 53.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/11.34, allocations: 102.5 kB / 4.836 GB, free: 53.72 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/11.34, allocations: 224 / 4.836 GB, free: 53.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/11.34, allocations: 325.9 kB / 4.836 GB, free: 53.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/11.35, allocations: 196.7 kB / 4.836 GB, free: 53.21 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/11.35, allocations: 0.5018 MB / 4.837 GB, free: 52.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000272/11.35, allocations: 278.1 kB / 4.837 GB, free: 52.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/11.35, allocations: 7.906 kB / 4.837 GB, free: 52.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007236/11.35, allocations: 0.6213 MB / 4.838 GB, free: 51.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003737/11.35, allocations: 2.093 MB / 4.84 GB, free: 49.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/11.35, allocations: 11.91 kB / 4.84 GB, free: 49.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/11.35, allocations: 8 kB / 4.84 GB, free: 49.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/11.35, allocations: 119.8 kB / 4.84 GB, free: 49.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/11.35, allocations: 8 kB / 4.84 GB, free: 49.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/11.35, allocations: 87.47 kB / 4.84 GB, free: 49.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.619e-05/11.35, allocations: 27.98 kB / 4.84 GB, free: 49.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.442e-06/11.35, allocations: 4.625 kB / 4.84 GB, free: 49.14 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005012/11.35, allocations: 415.3 kB / 4.84 GB, free: 48.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/11.35, allocations: 8 kB / 4.84 GB, free: 48.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.745e-06/11.35, allocations: 12 kB / 4.84 GB, free: 48.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/11.35, allocations: 116.5 kB / 4.841 GB, free: 48.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/11.35, allocations: 11.94 kB / 4.841 GB, free: 48.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/11.35, allocations: 75.62 kB / 4.841 GB, free: 48.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/11.35, allocations: 24 kB / 4.841 GB, free: 48.49 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): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001062/11.35, allocations: 132.7 kB / 4.841 GB, free: 48.36 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/11.35, allocations: 90.88 kB / 4.841 GB, free: 48.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/11.35, allocations: 462.6 kB / 4.841 GB, free: 47.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/11.35, allocations: 4 kB / 4.841 GB, free: 47.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/11.35, allocations: 3.984 kB / 4.841 GB, free: 47.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/11.35, allocations: 3.984 kB / 4.841 GB, free: 47.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001471/11.35, allocations: 1.274 MB / 4.843 GB, free: 46.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/11.35, allocations: 4 kB / 4.843 GB, free: 46.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/11.35, allocations: 80 kB / 4.843 GB, free: 46.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/11.35, allocations: 4 kB / 4.843 GB, free: 46.37 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/11.35, allocations: 7.984 kB / 4.843 GB, free: 46.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/11.35, allocations: 7.938 kB / 4.843 GB, free: 46.35 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/11.35, allocations: 0 / 4.843 GB, free: 46.35 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005122/11.35, allocations: 0.6477 MB / 4.843 GB, free: 45.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/11.35, allocations: 203.9 kB / 4.844 GB, free: 45.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/11.35, allocations: 7.984 kB / 4.844 GB, free: 45.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004673/11.35, allocations: 51.8 kB / 4.844 GB, free: 45.35 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/11.35, allocations: 31.88 kB / 4.844 GB, free: 45.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/11.35, allocations: 11.98 kB / 4.844 GB, free: 45.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006421/11.35, allocations: 0.6845 MB / 4.844 GB, free: 44.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001267/11.36, allocations: 443.4 kB / 4.845 GB, free: 44.18 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001253/11.36, allocations: 1.046 MB / 4.846 GB, free: 43.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009288/11.36, allocations: 0.7314 MB / 4.846 GB, free: 42.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/11.36, allocations: 0 / 4.846 GB, free: 42.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/11.36, allocations: 187.6 kB / 4.847 GB, free: 42.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/11.36, allocations: 375.4 kB / 4.847 GB, free: 41.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/11.36, allocations: 1.382 MB / 4.848 GB, free: 40.42 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/11.36, allocations: 1.275 MB / 4.85 GB, free: 39.12 MB / 0.948 GB Notification: Performance of SimCode: time 1.462e-06/11.36, allocations: 4 kB / 4.85 GB, free: 39.11 MB / 0.948 GB Notification: Performance of Templates: time 0.03123/11.39, allocations: 21.2 MB / 4.87 GB, free: 18.02 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)