Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") [: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.576/1.576, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.00106/0.00106, allocations: 188.8 kB / 366.3 MB, free: 2.02 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.684/1.684, allocations: 205.1 MB / 0.6256 GB, free: 5.879 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.001048/0.001048, allocations: 91.12 kB / 0.7395 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.424e-06/7.454e-06, allocations: 0 / 0.859 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8419/0.8419, allocations: 116.3 MB / 0.9725 GB, free: 68.78 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.308/6.15, allocations: 2.09 GB / 3.062 GB, free: 355.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/6.15, allocations: 91.91 kB / 3.062 GB, free: 355.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.015/9.165, allocations: 1.001 GB / 4.064 GB, free: 46.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001057/9.165, allocations: 31.98 kB / 4.064 GB, free: 46.95 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.006391/9.171, allocations: 1.763 MB / 4.065 GB, free: 45.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/9.172, allocations: 12.03 kB / 4.065 GB, free: 45.12 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003386/9.175, allocations: 0.5877 MB / 4.066 GB, free: 44.53 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/9.177, allocations: 1.062 MB / 4.067 GB, free: 43.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005729/9.178, allocations: 181.9 kB / 4.067 GB, free: 43.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/9.178, allocations: 52 kB / 4.067 GB, free: 43.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00165/9.18, allocations: 1.054 MB / 4.068 GB, free: 42.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/9.181, allocations: 1.044 MB / 4.069 GB, free: 41.08 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/9.181, allocations: 0 / 4.069 GB, free: 41.08 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.511e-05/9.182, allocations: 0 / 4.069 GB, free: 41.08 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.145e-05/9.182, allocations: 45.98 kB / 4.069 GB, free: 41.04 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007382/9.189, allocations: 4.096 MB / 4.073 GB, free: 36.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/9.19, allocations: 0.7271 MB / 4.074 GB, free: 35.96 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006745/9.191, allocations: 0.4992 MB / 4.074 GB, free: 35.46 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/9.192, allocations: 0.6204 MB / 4.075 GB, free: 34.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/9.192, allocations: 43.2 kB / 4.075 GB, free: 34.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 3.537e-06/9.192, allocations: 0 / 4.075 GB, free: 34.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002724/9.195, allocations: 1.197 MB / 4.076 GB, free: 33.47 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/9.195, allocations: 60.06 kB / 4.076 GB, free: 33.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/9.196, allocations: 0.5552 MB / 4.077 GB, free: 32.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/9.196, allocations: 29.7 kB / 4.077 GB, free: 32.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/9.196, allocations: 328.3 kB / 4.077 GB, free: 32.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/9.196, allocations: 252.2 kB / 4.077 GB, free: 32.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/9.196, allocations: 4 kB / 4.077 GB, free: 32.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/9.196, allocations: 337.9 kB / 4.078 GB, free: 31.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/9.197, allocations: 405.4 kB / 4.078 GB, free: 31.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/9.197, allocations: 0.5387 MB / 4.079 GB, free: 30.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/9.199, allocations: 0.6159 MB / 4.079 GB, free: 30.29 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/9.199, allocations: 0 / 4.079 GB, free: 30.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00208/9.201, allocations: 1.217 MB / 4.08 GB, free: 29.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/9.201, allocations: 455.6 kB / 4.081 GB, free: 28.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/9.201, allocations: 4 kB / 4.081 GB, free: 28.58 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/9.201, allocations: 4 kB / 4.081 GB, free: 28.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/9.203, allocations: 291.6 kB / 4.081 GB, free: 28.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005782/9.203, allocations: 1.211 MB / 4.082 GB, free: 27.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/9.205, allocations: 183.5 kB / 4.083 GB, free: 26.86 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/9.205, allocations: 39.97 kB / 4.083 GB, free: 26.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/9.205, allocations: 7.906 kB / 4.083 GB, free: 26.81 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001814/9.207, allocations: 1.099 MB / 4.084 GB, free: 25.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/9.207, allocations: 4 kB / 4.084 GB, free: 25.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/9.207, allocations: 4 kB / 4.084 GB, free: 25.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001286/9.208, allocations: 263.8 kB / 4.084 GB, free: 25.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/9.208, allocations: 8 kB / 4.084 GB, free: 25.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/9.209, allocations: 183.4 kB / 4.084 GB, free: 25.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.601e-05/9.209, allocations: 39.97 kB / 4.084 GB, free: 25.22 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.0002383/9.21, allocations: 128.6 kB / 4.084 GB, free: 25.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/9.21, allocations: 90.88 kB / 4.084 GB, free: 25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/9.212, allocations: 1.275 MB / 4.086 GB, free: 23.71 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/9.212, allocations: 7.906 kB / 4.086 GB, free: 23.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/9.212, allocations: 4 kB / 4.086 GB, free: 23.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/9.212, allocations: 3.984 kB / 4.086 GB, free: 23.69 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004196/9.216, allocations: 2.634 MB / 4.088 GB, free: 20.97 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/9.216, allocations: 4 kB / 4.088 GB, free: 20.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/9.218, allocations: 267.7 kB / 4.088 GB, free: 20.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.365e-05/9.218, allocations: 8 kB / 4.088 GB, free: 20.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/9.218, allocations: 19.88 kB / 4.088 GB, free: 20.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004458/9.218, allocations: 1.203 MB / 4.09 GB, free: 19.43 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/9.218, allocations: 4 kB / 4.09 GB, free: 19.42 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001994/9.22, allocations: 1.536 MB / 4.091 GB, free: 17.74 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000548/9.221, allocations: 311.6 kB / 4.091 GB, free: 17.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/9.221, allocations: 7.906 kB / 4.091 GB, free: 17.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/9.222, allocations: 167.8 kB / 4.092 GB, free: 17.24 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/9.222, allocations: 64.34 kB / 4.092 GB, free: 17.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.689e-05/9.223, allocations: 39.97 kB / 4.092 GB, free: 17.14 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005128/9.223, allocations: 439.1 kB / 4.092 GB, free: 16.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002/9.225, allocations: 0.6901 MB / 4.093 GB, free: 16.02 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.003191/9.228, allocations: 2.622 MB / 4.095 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002755/9.231, allocations: 1.617 MB / 4.097 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.361e-06/9.231, allocations: 0 / 4.097 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008249/9.232, allocations: 0.5366 MB / 4.097 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/9.234, allocations: 416.2 kB / 4.098 GB, free: 10.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/9.249, allocations: 2.424 MB / 4.1 GB, free: 8.121 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009589/9.25, allocations: 1.236 MB / 4.101 GB, free: 6.852 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/9.25, allocations: 0 / 4.101 GB, free: 6.852 MB / 0.948 GB Notification: Performance of Templates: time 0.5669/9.817, allocations: 38.36 MB / 4.139 GB, free: 232.2 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)