Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [: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.1-maint.8.0.x/package.mo): time 1.685/1.685, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001517/0.001517, allocations: 183.5 kB / 361.1 MB, free: 7.102 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.716/1.716, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0009924/0.0009923, allocations: 91.5 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.157e-05/1.197e-05, allocations: 4 kB / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7134, allocations: 115.3 MB / 0.9637 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.952/4.665, allocations: 2.059 GB / 3.023 GB, free: 82.03 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/4.666, allocations: 80.94 kB / 3.023 GB, free: 81.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9917/5.657, allocations: 214.6 MB / 3.232 GB, free: 252.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.46e-05/5.657, allocations: 8 kB / 3.232 GB, free: 252 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001626/5.659, allocations: 0.6067 MB / 3.233 GB, free: 251.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/5.659, allocations: 8.031 kB / 3.233 GB, free: 251.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002777/5.659, allocations: 51.67 kB / 3.233 GB, free: 251.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/5.66, allocations: 279.6 kB / 3.233 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/5.66, allocations: 4 kB / 3.233 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/5.66, allocations: 12 kB / 3.233 GB, free: 251 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002744/5.66, allocations: 168.3 kB / 3.233 GB, free: 250.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/5.66, allocations: 207.1 kB / 3.234 GB, free: 250.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/5.66, allocations: 7.984 kB / 3.234 GB, free: 250.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/5.66, allocations: 0 / 3.234 GB, free: 250.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/5.661, allocations: 8 kB / 3.234 GB, free: 250.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/5.662, allocations: 0.8268 MB / 3.234 GB, free: 249.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/5.662, allocations: 118.5 kB / 3.234 GB, free: 249.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/5.662, allocations: 96.81 kB / 3.235 GB, free: 249.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/5.662, allocations: 200 kB / 3.235 GB, free: 249.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/5.662, allocations: 30.56 kB / 3.235 GB, free: 249.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/5.662, allocations: 4 kB / 3.235 GB, free: 249.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0005905/5.663, allocations: 237.5 kB / 3.235 GB, free: 249 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/5.663, allocations: 51.41 kB / 3.235 GB, free: 249 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/5.663, allocations: 149.8 kB / 3.235 GB, free: 248.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/5.663, allocations: 33.64 kB / 3.235 GB, free: 248.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.883e-05/5.663, allocations: 128.2 kB / 3.235 GB, free: 248.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/5.663, allocations: 47.3 kB / 3.235 GB, free: 248.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/5.663, allocations: 0 / 3.235 GB, free: 248.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.267e-05/5.663, allocations: 330.7 kB / 3.236 GB, free: 248.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.143e-05/5.664, allocations: 71.95 kB / 3.236 GB, free: 248.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/5.664, allocations: 112.2 kB / 3.236 GB, free: 248.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/5.664, allocations: 79.53 kB / 3.236 GB, free: 248 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/5.664, allocations: 0 / 3.236 GB, free: 248 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002707/5.664, allocations: 205.3 kB / 3.236 GB, free: 247.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/5.664, allocations: 8.062 kB / 3.236 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/5.664, allocations: 3.984 kB / 3.236 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/5.664, allocations: 0 / 3.236 GB, free: 247.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/5.664, allocations: 39.91 kB / 3.236 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/5.664, allocations: 7.938 kB / 3.236 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/5.665, allocations: 23.83 kB / 3.236 GB, free: 247.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.979e-05/5.665, allocations: 11.98 kB / 3.236 GB, free: 247.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.876e-05/5.665, allocations: 109 kB / 3.236 GB, free: 247.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/5.665, allocations: 15.81 kB / 3.236 GB, free: 247.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/5.665, allocations: 25.45 kB / 3.236 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/5.665, allocations: 3.906 kB / 3.236 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/5.665, allocations: 0 / 3.236 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/5.665, allocations: 8 kB / 3.236 GB, free: 247.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/5.666, allocations: 0.6421 MB / 3.237 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/5.666, allocations: 8.031 kB / 3.237 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/5.666, allocations: 39.91 kB / 3.237 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/5.666, allocations: 0 / 3.237 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/5.666, allocations: 4 kB / 3.237 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/5.666, allocations: 4 kB / 3.237 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/5.666, allocations: 0 / 3.237 GB, free: 246.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003336/5.666, allocations: 445 kB / 3.238 GB, free: 246.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/5.667, allocations: 108.8 kB / 3.238 GB, free: 246.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.175e-05/5.667, allocations: 7.938 kB / 3.238 GB, free: 246.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/5.667, allocations: 19.89 kB / 3.238 GB, free: 246.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/5.667, allocations: 15.98 kB / 3.238 GB, free: 246.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/5.667, allocations: 7.984 kB / 3.238 GB, free: 246.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.157e-05/5.667, allocations: 128.3 kB / 3.238 GB, free: 245.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005408/5.667, allocations: 120.6 kB / 3.238 GB, free: 245.8 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 (14): * Single equations (assignments): 14 * 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.001366/5.669, allocations: 1.012 MB / 3.239 GB, free: 244.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003536/5.669, allocations: 167.8 kB / 3.239 GB, free: 244.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/5.669, allocations: 4 kB / 3.239 GB, free: 244.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/5.669, allocations: 100.6 kB / 3.239 GB, free: 244.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005466/5.67, allocations: 72.44 kB / 3.239 GB, free: 244.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/5.671, allocations: 325.9 kB / 3.24 GB, free: 244.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003093/5.671, allocations: 0.778 MB / 3.24 GB, free: 243.4 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/5.671, allocations: 4 kB / 3.24 GB, free: 243.4 MB / 0.948 GB Notification: Performance of Templates: time 0.01396/5.685, allocations: 8.679 MB / 3.249 GB, free: 234.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)