Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001543/0.001542, allocations: 184 kB / 366.3 MB, free: 1.945 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.756/1.756, allocations: 205.2 MB / 0.6256 GB, free: 5.852 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.001013/0.001013, allocations: 86.47 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.466e-06/8.687e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6726, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.908/4.581, allocations: 2.06 GB / 3.032 GB, free: 16.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/4.581, allocations: 80.61 kB / 3.032 GB, free: 16.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.8629/5.444, allocations: 214.7 MB / 3.242 GB, free: 183.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.02e-05/5.444, allocations: 7.984 kB / 3.242 GB, free: 183.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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001453/5.446, allocations: 0.5955 MB / 3.243 GB, free: 182.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/5.446, allocations: 8.031 kB / 3.243 GB, free: 182.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/5.446, allocations: 51.61 kB / 3.243 GB, free: 182.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/5.446, allocations: 286.9 kB / 3.243 GB, free: 182.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/5.446, allocations: 8 kB / 3.243 GB, free: 182.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/5.446, allocations: 8 kB / 3.243 GB, free: 182.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002609/5.447, allocations: 172.3 kB / 3.243 GB, free: 182.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/5.447, allocations: 202.9 kB / 3.243 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/5.447, allocations: 0 / 3.243 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/5.447, allocations: 0 / 3.243 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/5.447, allocations: 8 kB / 3.243 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/5.448, allocations: 0.8245 MB / 3.244 GB, free: 181 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/5.448, allocations: 130.5 kB / 3.244 GB, free: 180.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/5.448, allocations: 96.81 kB / 3.244 GB, free: 180.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002385/5.449, allocations: 194.2 kB / 3.245 GB, free: 180.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/5.449, allocations: 38.41 kB / 3.245 GB, free: 180.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/5.449, allocations: 0 / 3.245 GB, free: 180.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=14): time 0.0005263/5.449, allocations: 225.6 kB / 3.245 GB, free: 180.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.92e-05/5.449, allocations: 51.41 kB / 3.245 GB, free: 180.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/5.449, allocations: 157.8 kB / 3.245 GB, free: 180 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/5.449, allocations: 25.7 kB / 3.245 GB, free: 180 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.794e-05/5.449, allocations: 128.2 kB / 3.245 GB, free: 179.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/5.449, allocations: 47.2 kB / 3.245 GB, free: 179.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/5.449, allocations: 0 / 3.245 GB, free: 179.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.676e-05/5.45, allocations: 330.8 kB / 3.246 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/5.45, allocations: 75.91 kB / 3.246 GB, free: 179.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/5.45, allocations: 115.5 kB / 3.246 GB, free: 179.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/5.45, allocations: 72.7 kB / 3.246 GB, free: 179.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/5.45, allocations: 0 / 3.246 GB, free: 179.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002627/5.45, allocations: 206.3 kB / 3.246 GB, free: 179 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/5.45, allocations: 9.719 kB / 3.246 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/5.45, allocations: 7.984 kB / 3.246 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/5.45, allocations: 0 / 3.246 GB, free: 179 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/5.45, allocations: 35.97 kB / 3.246 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/5.45, allocations: 0 / 3.246 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001932/5.451, allocations: 27.83 kB / 3.246 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/5.451, allocations: 19.97 kB / 3.246 GB, free: 178.9 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 6.442e-05/5.451, allocations: 104.9 kB / 3.246 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/5.451, allocations: 19.72 kB / 3.246 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.224e-05/5.451, allocations: 25.45 kB / 3.246 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/5.451, allocations: 4 kB / 3.246 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/5.451, allocations: 4 kB / 3.246 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/5.451, allocations: 8 kB / 3.246 GB, free: 178.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/5.452, allocations: 0.6491 MB / 3.247 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/5.452, allocations: 0 / 3.247 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002003/5.452, allocations: 35.97 kB / 3.247 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/5.452, allocations: 4 kB / 3.247 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/5.452, allocations: 7.906 kB / 3.247 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/5.452, allocations: 3.938 kB / 3.247 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/5.452, allocations: 11.92 kB / 3.247 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002884/5.452, allocations: 435.2 kB / 3.247 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/5.452, allocations: 116.8 kB / 3.247 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/5.452, allocations: 0 / 3.247 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/5.453, allocations: 23.97 kB / 3.247 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/5.453, allocations: 8 kB / 3.247 GB, free: 177.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/5.453, allocations: 11.98 kB / 3.248 GB, free: 177.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.964e-05/5.453, allocations: 119.3 kB / 3.248 GB, free: 177.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004869/5.453, allocations: 119.8 kB / 3.248 GB, free: 177 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.001037/5.454, allocations: 1.009 MB / 3.249 GB, free: 176 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002556/5.454, allocations: 163.8 kB / 3.249 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/5.455, allocations: 0 / 3.249 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/5.455, allocations: 99.88 kB / 3.249 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/5.455, allocations: 73.09 kB / 3.249 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/5.456, allocations: 317.3 kB / 3.249 GB, free: 175.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/5.456, allocations: 0.7837 MB / 3.25 GB, free: 174.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/5.456, allocations: 4 kB / 3.25 GB, free: 174.5 MB / 0.948 GB Notification: Performance of Templates: time 0.01169/5.468, allocations: 8.696 MB / 3.259 GB, free: 165.9 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)