Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8098/0.8098, allocations: 141.8 MB / 149.1 MB, free: 3.336 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 186.3 kB / 181.9 MB, free: 15.16 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.624/1.624, allocations: 221.4 MB / 436 MB, free: 8.238 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 101.6 kB / 0.507 GB, free: 24.34 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001911/0.001911, allocations: 276.1 kB / 0.5884 GB, free: 11.36 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.038e-05/1.059e-05, allocations: 4 kB / 0.6759 GB, free: 1.734 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5777, allocations: 82.77 MB / 0.7567 GB, free: 111.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.915/5.493, allocations: 1.855 GB / 2.612 GB, free: 205.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/5.493, allocations: 91.05 kB / 2.612 GB, free: 205.3 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.869/9.363, allocations: 1.01 GB / 3.623 GB, free: 99.88 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001192/9.363, allocations: 33 kB / 3.623 GB, free: 99.88 MB / 0.7138 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.007832/9.371, allocations: 1.824 MB / 3.624 GB, free: 99.43 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/9.371, allocations: 6.969 kB / 3.624 GB, free: 99.43 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003689/9.375, allocations: 0.5954 MB / 3.625 GB, free: 99.36 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/9.378, allocations: 1.09 MB / 3.626 GB, free: 99.09 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006167/9.378, allocations: 170.9 kB / 3.626 GB, free: 99.08 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/9.379, allocations: 51.81 kB / 3.626 GB, free: 99.08 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001836/9.38, allocations: 1.015 MB / 3.627 GB, free: 99.08 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/9.382, allocations: 1.044 MB / 3.628 GB, free: 99 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/9.382, allocations: 0 / 3.628 GB, free: 99 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.433e-05/9.382, allocations: 3.719 kB / 3.628 GB, free: 99 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.289e-05/9.382, allocations: 45.08 kB / 3.628 GB, free: 99 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007462/9.39, allocations: 4.098 MB / 3.632 GB, free: 97.5 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/9.391, allocations: 0.7206 MB / 3.633 GB, free: 97.48 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/9.392, allocations: 0.5054 MB / 3.633 GB, free: 97.47 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/9.393, allocations: 0.6167 MB / 3.634 GB, free: 96.91 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/9.393, allocations: 40.47 kB / 3.634 GB, free: 96.87 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=76): time 3.957e-06/9.393, allocations: 0 / 3.634 GB, free: 96.87 MB / 0.7138 GB Notification: Performance of matching and sorting (n=76): time 0.002709/9.395, allocations: 1.192 MB / 3.635 GB, free: 96.78 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/9.395, allocations: 61.25 kB / 3.635 GB, free: 96.72 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008512/9.396, allocations: 0.5609 MB / 3.636 GB, free: 96.59 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/9.396, allocations: 31.77 kB / 3.636 GB, free: 96.56 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/9.397, allocations: 328 kB / 3.636 GB, free: 96.41 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002861/9.397, allocations: 257.7 kB / 3.636 GB, free: 96.28 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.832e-05/9.397, allocations: 0 / 3.636 GB, free: 96.28 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001291/9.397, allocations: 336 kB / 3.637 GB, free: 95.97 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/9.398, allocations: 409.8 kB / 3.637 GB, free: 95.97 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007616/9.399, allocations: 0.5376 MB / 3.638 GB, free: 95.84 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/9.4, allocations: 0.6131 MB / 3.638 GB, free: 95.84 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/9.4, allocations: 0 / 3.638 GB, free: 95.84 MB / 0.7138 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002394/9.402, allocations: 1.217 MB / 3.639 GB, free: 95.75 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/9.403, allocations: 457.8 kB / 3.64 GB, free: 95.29 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/9.403, allocations: 6.719 kB / 3.64 GB, free: 95.29 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/9.403, allocations: 3.281 kB / 3.64 GB, free: 95.29 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/9.404, allocations: 297.3 kB / 3.64 GB, free: 95.29 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007554/9.405, allocations: 1.204 MB / 3.641 GB, free: 94.12 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/9.407, allocations: 188.7 kB / 3.642 GB, free: 94.11 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/9.407, allocations: 37.95 kB / 3.642 GB, free: 94.11 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/9.407, allocations: 3.531 kB / 3.642 GB, free: 94.11 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002087/9.409, allocations: 1.102 MB / 3.643 GB, free: 94.09 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/9.409, allocations: 3.438 kB / 3.643 GB, free: 94.09 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/9.409, allocations: 7.562 kB / 3.643 GB, free: 94.09 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/9.41, allocations: 269.1 kB / 3.643 GB, free: 94.09 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/9.41, allocations: 7.625 kB / 3.643 GB, free: 94.09 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/9.412, allocations: 184.1 kB / 3.643 GB, free: 94.08 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/9.412, allocations: 36.53 kB / 3.643 GB, free: 94.08 MB / 0.7138 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.0002625/9.412, allocations: 123.6 kB / 3.643 GB, free: 93.97 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/9.412, allocations: 95.19 kB / 3.643 GB, free: 93.92 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/9.415, allocations: 1.269 MB / 3.645 GB, free: 93.86 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/9.415, allocations: 7.438 kB / 3.645 GB, free: 93.86 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/9.415, allocations: 0 / 3.645 GB, free: 93.86 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/9.415, allocations: 3.891 kB / 3.645 GB, free: 93.86 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004418/9.419, allocations: 2.649 MB / 3.647 GB, free: 93.43 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/9.419, allocations: 2.656 kB / 3.647 GB, free: 93.43 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/9.421, allocations: 274.3 kB / 3.647 GB, free: 93.43 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/9.421, allocations: 9.969 kB / 3.648 GB, free: 93.43 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.636e-05/9.421, allocations: 18.2 kB / 3.648 GB, free: 93.43 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000492/9.421, allocations: 1.197 MB / 3.649 GB, free: 92.25 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/9.421, allocations: 8.625 kB / 3.649 GB, free: 92.25 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002384/9.424, allocations: 1.54 MB / 3.65 GB, free: 91.69 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007003/9.424, allocations: 309.2 kB / 3.65 GB, free: 91.55 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/9.425, allocations: 3.969 kB / 3.65 GB, free: 91.55 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/9.426, allocations: 168.8 kB / 3.651 GB, free: 91.54 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/9.426, allocations: 59.42 kB / 3.651 GB, free: 91.54 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/9.426, allocations: 40.2 kB / 3.651 GB, free: 91.54 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0007324/9.427, allocations: 441 kB / 3.651 GB, free: 91.45 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.00259/9.43, allocations: 0.689 MB / 3.652 GB, free: 91.4 MB / 0.7138 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.00412/9.434, allocations: 2.63 MB / 3.654 GB, free: 90.59 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.003073/9.437, allocations: 1.607 MB / 3.656 GB, free: 90.51 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/9.437, allocations: 0 / 3.656 GB, free: 90.51 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0009739/9.438, allocations: 0.5442 MB / 3.657 GB, free: 90.51 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/9.44, allocations: 413.5 kB / 3.657 GB, free: 90.5 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/9.456, allocations: 2.43 MB / 3.659 GB, free: 90.02 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/9.457, allocations: 1.239 MB / 3.66 GB, free: 89.31 MB / 0.7138 GB Notification: Performance of SimCode: time 1.232e-06/9.457, allocations: 0 / 3.66 GB, free: 89.31 MB / 0.7138 GB Notification: Performance of Templates: time 0.0587/9.516, allocations: 38.41 MB / 3.698 GB, free: 88.7 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)