Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") [: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.604/1.604, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.00137/0.001371, allocations: 181.3 kB / 361.1 MB, free: 7.113 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.746/1.746, allocations: 205.1 MB / 0.6195 GB, free: 11.96 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.0009057/0.0009057, allocations: 89.59 kB / 0.7326 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.898e-06/9.919e-06, allocations: 4 kB / 0.8511 GB, free: 3.273 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6947/0.6947, allocations: 115.3 MB / 0.9637 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.834/4.528, allocations: 2.088 GB / 3.052 GB, free: 18.42 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/4.529, allocations: 84.7 kB / 3.052 GB, free: 18.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.497/8.025, allocations: 1.001 GB / 4.053 GB, free: 103.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.538e-05/8.025, allocations: 33.64 kB / 4.053 GB, free: 103.9 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.005157/8.031, allocations: 1.758 MB / 4.055 GB, free: 102.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/8.031, allocations: 12.53 kB / 4.055 GB, free: 102.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/8.034, allocations: 0.5954 MB / 4.055 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/8.036, allocations: 1.053 MB / 4.056 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006004/8.037, allocations: 185.9 kB / 4.057 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/8.037, allocations: 56 kB / 4.057 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001604/8.038, allocations: 1.05 MB / 4.058 GB, free: 99.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/8.04, allocations: 1.037 MB / 4.059 GB, free: 98.07 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/8.04, allocations: 0.6562 kB / 4.059 GB, free: 98.07 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/8.04, allocations: 0 / 4.059 GB, free: 98.07 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/8.04, allocations: 41.98 kB / 4.059 GB, free: 98.04 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006059/8.046, allocations: 4.104 MB / 4.063 GB, free: 93.74 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/8.047, allocations: 0.7203 MB / 4.064 GB, free: 93 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/8.048, allocations: 0.5066 MB / 4.064 GB, free: 92.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/8.049, allocations: 0.6215 MB / 4.065 GB, free: 91.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/8.049, allocations: 39.22 kB / 4.065 GB, free: 91.73 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.697e-06/8.049, allocations: 0 / 4.065 GB, free: 91.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002599/8.052, allocations: 1.194 MB / 4.066 GB, free: 90.52 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/8.052, allocations: 60.06 kB / 4.066 GB, free: 90.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007492/8.052, allocations: 0.5591 MB / 4.066 GB, free: 89.89 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.705e-05/8.053, allocations: 29.7 kB / 4.066 GB, free: 89.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/8.053, allocations: 340.2 kB / 4.067 GB, free: 89.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/8.053, allocations: 248.2 kB / 4.067 GB, free: 89.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/8.053, allocations: 0 / 4.067 GB, free: 89.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001302/8.053, allocations: 337.9 kB / 4.067 GB, free: 88.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000595/8.054, allocations: 409.4 kB / 4.068 GB, free: 88.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/8.055, allocations: 0.5309 MB / 4.068 GB, free: 87.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/8.056, allocations: 0.6275 MB / 4.069 GB, free: 87.32 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/8.056, allocations: 0 / 4.069 GB, free: 87.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002424/8.058, allocations: 1.218 MB / 4.07 GB, free: 86.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/8.059, allocations: 459.5 kB / 4.07 GB, free: 85.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/8.059, allocations: 0 / 4.07 GB, free: 85.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/8.059, allocations: 4 kB / 4.07 GB, free: 85.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/8.061, allocations: 288.3 kB / 4.071 GB, free: 85.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008928/8.061, allocations: 1.207 MB / 4.072 GB, free: 84.08 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/8.063, allocations: 183.5 kB / 4.072 GB, free: 83.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/8.063, allocations: 43.97 kB / 4.072 GB, free: 83.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/8.063, allocations: 12.61 kB / 4.072 GB, free: 83.84 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001995/8.065, allocations: 1.084 MB / 4.073 GB, free: 82.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/8.065, allocations: 4 kB / 4.073 GB, free: 82.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/8.065, allocations: 4 kB / 4.073 GB, free: 82.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/8.067, allocations: 279.6 kB / 4.073 GB, free: 82.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/8.067, allocations: 7.984 kB / 4.074 GB, free: 82.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/8.068, allocations: 179.4 kB / 4.074 GB, free: 82.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/8.068, allocations: 40.59 kB / 4.074 GB, free: 82.26 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.0003475/8.069, allocations: 120.8 kB / 4.074 GB, free: 82.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/8.069, allocations: 94.78 kB / 4.074 GB, free: 82.04 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/8.071, allocations: 1.263 MB / 4.075 GB, free: 80.77 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/8.071, allocations: 11.98 kB / 4.075 GB, free: 80.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/8.071, allocations: 0 / 4.075 GB, free: 80.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/8.071, allocations: 7.984 kB / 4.075 GB, free: 80.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/8.076, allocations: 2.647 MB / 4.078 GB, free: 78.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/8.076, allocations: 4 kB / 4.078 GB, free: 78.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/8.077, allocations: 268 kB / 4.078 GB, free: 77.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/8.077, allocations: 8 kB / 4.078 GB, free: 77.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/8.077, allocations: 19.97 kB / 4.078 GB, free: 77.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004642/8.078, allocations: 1.207 MB / 4.079 GB, free: 76.48 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/8.078, allocations: 7.938 kB / 4.079 GB, free: 76.48 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001977/8.08, allocations: 1.532 MB / 4.081 GB, free: 74.79 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005265/8.08, allocations: 307.7 kB / 4.081 GB, free: 74.47 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/8.08, allocations: 4 kB / 4.081 GB, free: 74.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/8.082, allocations: 171.7 kB / 4.081 GB, free: 74.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/8.082, allocations: 56.33 kB / 4.081 GB, free: 74.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.183e-05/8.082, allocations: 35.97 kB / 4.081 GB, free: 74.21 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005131/8.082, allocations: 447.1 kB / 4.082 GB, free: 73.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001996/8.084, allocations: 0.6823 MB / 4.082 GB, free: 73.09 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.003171/8.088, allocations: 2.635 MB / 4.085 GB, free: 70.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002702/8.09, allocations: 1.609 MB / 4.087 GB, free: 68.68 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/8.09, allocations: 0 / 4.087 GB, free: 68.68 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008105/8.091, allocations: 0.5379 MB / 4.087 GB, free: 68.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/8.093, allocations: 414.5 kB / 4.087 GB, free: 67.74 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/8.109, allocations: 2.42 MB / 4.09 GB, free: 65.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009661/8.11, allocations: 1.251 MB / 4.091 GB, free: 63.95 MB / 0.948 GB Notification: Performance of SimCode: time 9.82e-07/8.11, allocations: 0 / 4.091 GB, free: 63.95 MB / 0.948 GB Notification: Performance of Templates: time 0.0517/8.161, allocations: 38.37 MB / 4.128 GB, free: 25.73 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)