Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") [: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.605/1.605, 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.001389/0.001389, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.736/1.736, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.001038/0.001038, allocations: 89.75 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.182e-05, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8503/0.8503, allocations: 116.3 MB / 0.9725 GB, free: 68.85 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.033/5.884, allocations: 2.09 GB / 3.062 GB, free: 355.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/5.884, allocations: 85.5 kB / 3.062 GB, free: 355.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.034/8.918, allocations: 1.001 GB / 4.064 GB, free: 47.86 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001151/8.918, allocations: 28 kB / 4.064 GB, free: 47.84 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.0066/8.925, allocations: 1.763 MB / 4.065 GB, free: 46.02 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.958e-05/8.925, allocations: 12.03 kB / 4.065 GB, free: 46.01 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/8.929, allocations: 0.5877 MB / 4.066 GB, free: 45.42 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002684/8.931, allocations: 1.062 MB / 4.067 GB, free: 44.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006101/8.932, allocations: 181.9 kB / 4.067 GB, free: 44.13 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/8.932, allocations: 52 kB / 4.067 GB, free: 44.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001741/8.934, allocations: 1.05 MB / 4.068 GB, free: 43.03 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/8.935, allocations: 1.037 MB / 4.069 GB, free: 41.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/8.936, allocations: 0 / 4.069 GB, free: 41.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/8.936, allocations: 0 / 4.069 GB, free: 41.98 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/8.936, allocations: 49.98 kB / 4.069 GB, free: 41.93 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/8.943, allocations: 4.102 MB / 4.073 GB, free: 37.59 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/8.944, allocations: 0.7233 MB / 4.074 GB, free: 36.85 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006172/8.944, allocations: 0.5059 MB / 4.074 GB, free: 36.35 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/8.945, allocations: 0.6163 MB / 4.075 GB, free: 35.62 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/8.945, allocations: 39.22 kB / 4.075 GB, free: 35.57 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.767e-06/8.945, allocations: 0 / 4.075 GB, free: 35.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.00248/8.948, allocations: 1.197 MB / 4.076 GB, free: 34.37 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/8.948, allocations: 64.06 kB / 4.076 GB, free: 34.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/8.949, allocations: 0.563 MB / 4.077 GB, free: 33.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.629e-05/8.949, allocations: 29.7 kB / 4.077 GB, free: 33.69 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/8.949, allocations: 328.3 kB / 4.077 GB, free: 33.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/8.949, allocations: 248.2 kB / 4.077 GB, free: 33.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/8.949, allocations: 0 / 4.077 GB, free: 33.11 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000123/8.949, allocations: 334 kB / 4.078 GB, free: 32.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/8.95, allocations: 409.4 kB / 4.078 GB, free: 32.38 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006565/8.95, allocations: 0.5348 MB / 4.079 GB, free: 31.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/8.952, allocations: 0.6159 MB / 4.079 GB, free: 31.18 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/8.952, allocations: 3.938 kB / 4.079 GB, free: 31.18 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001977/8.954, allocations: 1.221 MB / 4.08 GB, free: 29.95 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/8.954, allocations: 459.5 kB / 4.081 GB, free: 29.47 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/8.954, allocations: 0 / 4.081 GB, free: 29.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/8.954, allocations: 4 kB / 4.081 GB, free: 29.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/8.956, allocations: 287.6 kB / 4.081 GB, free: 29.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006375/8.956, allocations: 1.211 MB / 4.082 GB, free: 27.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/8.958, allocations: 187.6 kB / 4.083 GB, free: 27.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/8.958, allocations: 39.97 kB / 4.083 GB, free: 27.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/8.958, allocations: 10.41 kB / 4.083 GB, free: 27.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001826/8.96, allocations: 1.088 MB / 4.084 GB, free: 26.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/8.96, allocations: 8.094 kB / 4.084 GB, free: 26.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.053e-06/8.96, allocations: 4 kB / 4.084 GB, free: 26.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/8.961, allocations: 267.7 kB / 4.084 GB, free: 26.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/8.961, allocations: 7.938 kB / 4.084 GB, free: 26.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/8.962, allocations: 179.4 kB / 4.084 GB, free: 26.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/8.962, allocations: 43.95 kB / 4.084 GB, free: 26.11 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002445/8.963, allocations: 128.8 kB / 4.084 GB, free: 25.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/8.963, allocations: 94.86 kB / 4.084 GB, free: 25.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/8.965, allocations: 1.267 MB / 4.086 GB, free: 24.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/8.965, allocations: 15.91 kB / 4.086 GB, free: 24.59 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/8.965, allocations: 0 / 4.086 GB, free: 24.59 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/8.965, allocations: 7.984 kB / 4.086 GB, free: 24.58 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003987/8.969, allocations: 2.63 MB / 4.088 GB, free: 21.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/8.969, allocations: 4 kB / 4.088 GB, free: 21.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001409/8.971, allocations: 276.1 kB / 4.088 GB, free: 21.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/8.971, allocations: 8 kB / 4.088 GB, free: 21.58 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.44e-05/8.971, allocations: 19.89 kB / 4.088 GB, free: 21.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004519/8.971, allocations: 1.199 MB / 4.09 GB, free: 20.32 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/8.971, allocations: 8.125 kB / 4.09 GB, free: 20.31 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00199/8.973, allocations: 1.536 MB / 4.091 GB, free: 18.62 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005143/8.974, allocations: 307.6 kB / 4.091 GB, free: 18.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/8.974, allocations: 7.906 kB / 4.091 GB, free: 18.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/8.975, allocations: 167.8 kB / 4.092 GB, free: 18.13 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/8.975, allocations: 60.33 kB / 4.092 GB, free: 18.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.165e-05/8.975, allocations: 43.97 kB / 4.092 GB, free: 18.03 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005349/8.976, allocations: 439.1 kB / 4.092 GB, free: 17.61 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002134/8.978, allocations: 0.6901 MB / 4.093 GB, free: 16.91 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003151/8.981, allocations: 2.627 MB / 4.095 GB, free: 14.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003977/8.985, allocations: 1.609 MB / 4.097 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/8.985, allocations: 4 kB / 4.097 GB, free: 12.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/8.987, allocations: 0.5379 MB / 4.097 GB, free: 11.92 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00359/8.99, allocations: 412.2 kB / 4.098 GB, free: 11.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02345/9.014, allocations: 2.424 MB / 4.1 GB, free: 9.004 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/9.015, allocations: 1.232 MB / 4.101 GB, free: 7.742 MB / 0.948 GB Notification: Performance of SimCode: time 3.126e-06/9.015, allocations: 0 / 4.101 GB, free: 7.742 MB / 0.948 GB Notification: Performance of Templates: time 0.5553/9.571, allocations: 38.36 MB / 4.139 GB, free: 231.2 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)