Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [: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.614/1.614, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001247/0.001247, allocations: 177.3 kB / 366.3 MB, free: 2 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.582/1.582, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008678/0.0008676, allocations: 94.53 kB / 0.7396 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.292e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.646, allocations: 116.3 MB / 0.9725 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.293/4.939, allocations: 2.062 GB / 3.035 GB, free: 42 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/4.939, allocations: 79.95 kB / 3.035 GB, free: 41.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.002/5.941, allocations: 219.5 MB / 3.249 GB, free: 202.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.574e-05/5.941, allocations: 4 kB / 3.249 GB, free: 202.3 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008864/5.942, allocations: 0.5644 MB / 3.25 GB, free: 201.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/5.942, allocations: 8.031 kB / 3.25 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003654/5.943, allocations: 63.56 kB / 3.25 GB, free: 201.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/5.943, allocations: 313.4 kB / 3.25 GB, free: 201.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/5.943, allocations: 8 kB / 3.25 GB, free: 201.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/5.943, allocations: 8 kB / 3.25 GB, free: 201.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001595/5.943, allocations: 83.98 kB / 3.25 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/5.944, allocations: 160.1 kB / 3.25 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/5.944, allocations: 3.938 kB / 3.25 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/5.944, allocations: 4 kB / 3.25 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/5.944, allocations: 0 / 3.25 GB, free: 201 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008589/5.945, allocations: 0.7479 MB / 3.251 GB, free: 200.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/5.945, allocations: 70.5 kB / 3.251 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/5.945, allocations: 56.89 kB / 3.251 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002466/5.945, allocations: 186.2 kB / 3.252 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/5.945, allocations: 30.56 kB / 3.252 GB, free: 199.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/5.945, allocations: 0 / 3.252 GB, free: 199.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0004581/5.946, allocations: 149.5 kB / 3.252 GB, free: 199.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/5.946, allocations: 51.41 kB / 3.252 GB, free: 199.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/5.946, allocations: 188.3 kB / 3.252 GB, free: 199.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/5.946, allocations: 25.7 kB / 3.252 GB, free: 199.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/5.946, allocations: 132.1 kB / 3.252 GB, free: 199.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/5.946, allocations: 27.56 kB / 3.252 GB, free: 199.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/5.946, allocations: 0 / 3.252 GB, free: 199.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/5.946, allocations: 334.9 kB / 3.252 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/5.946, allocations: 31.92 kB / 3.252 GB, free: 198.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/5.946, allocations: 82.86 kB / 3.253 GB, free: 198.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/5.946, allocations: 47.89 kB / 3.253 GB, free: 198.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/5.946, allocations: 3.938 kB / 3.253 GB, free: 198.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000161/5.946, allocations: 121.3 kB / 3.253 GB, free: 198.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-05/5.946, allocations: 363.9 kB / 3.253 GB, free: 198.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/5.946, allocations: 0 / 3.253 GB, free: 198.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/5.946, allocations: 0 / 3.253 GB, free: 198.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/5.947, allocations: 23.98 kB / 3.253 GB, free: 198.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/5.947, allocations: 7.938 kB / 3.253 GB, free: 198.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/5.947, allocations: 23.97 kB / 3.253 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/5.947, allocations: 4 kB / 3.253 GB, free: 198.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.26e-06/5.947, allocations: 4 kB / 3.253 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001082/5.947, allocations: 71.89 kB / 3.253 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-06/5.947, allocations: 0 / 3.253 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-06/5.947, allocations: 4 kB / 3.253 GB, free: 198.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/5.947, allocations: 31.92 kB / 3.253 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-06/5.947, allocations: 0 / 3.253 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/5.947, allocations: 23.91 kB / 3.253 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/5.947, allocations: 12.08 kB / 3.253 GB, free: 198 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 6.27e-05/5.947, allocations: 108.9 kB / 3.253 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/5.947, allocations: 23.72 kB / 3.253 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/5.948, allocations: 119.3 kB / 3.253 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/5.948, allocations: 3.938 kB / 3.253 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/5.948, allocations: 0 / 3.253 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/5.948, allocations: 12.17 kB / 3.253 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/5.948, allocations: 0.5163 MB / 3.254 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/5.948, allocations: 4 kB / 3.254 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/5.948, allocations: 32.14 kB / 3.254 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/5.948, allocations: 8 kB / 3.254 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/5.948, allocations: 0 / 3.254 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/5.948, allocations: 4.281 kB / 3.254 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/5.948, allocations: 0 / 3.254 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002177/5.949, allocations: 345.1 kB / 3.254 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.264e-05/5.949, allocations: 112.8 kB / 3.254 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.353e-05/5.949, allocations: 4 kB / 3.254 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/5.949, allocations: 19.92 kB / 3.254 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.947e-05/5.949, allocations: 23.83 kB / 3.255 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/5.949, allocations: 7.938 kB / 3.255 GB, free: 196.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.383e-05/5.949, allocations: 148.5 kB / 3.255 GB, free: 196.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006062/5.95, allocations: 155.8 kB / 3.255 GB, free: 196.2 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00131/5.951, allocations: 1.022 MB / 3.256 GB, free: 195.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002294/5.951, allocations: 133.2 kB / 3.256 GB, free: 195 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/5.951, allocations: 0 / 3.256 GB, free: 195 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.885e-05/5.951, allocations: 47.86 kB / 3.256 GB, free: 195 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/5.952, allocations: 96.81 kB / 3.256 GB, free: 194.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/5.953, allocations: 297.8 kB / 3.256 GB, free: 194.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002589/5.953, allocations: 0.779 MB / 3.257 GB, free: 193.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.21e-07/5.953, allocations: 4 kB / 3.257 GB, free: 193.8 MB / 0.948 GB Notification: Performance of Templates: time 0.01348/5.966, allocations: 8.979 MB / 3.266 GB, free: 184.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1)