Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.299/2.299, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001733/0.001732, allocations: 185.2 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.998/1.998, allocations: 205.2 MB / 0.6188 GB, free: 12.4 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00123/0.00123, allocations: 90.48 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.373e-05/1.389e-05, allocations: 4 kB / 0.8502 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.597/0.597, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.18/5.777, allocations: 2.094 GB / 3.056 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003638/5.778, allocations: 90.83 kB / 3.057 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 13.42/19.2, allocations: 2.816 GB / 5.873 GB, free: 72.62 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0003797/19.2, allocations: 73.55 kB / 5.873 GB, free: 72.61 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.01493/19.22, allocations: 3.553 MB / 5.876 GB, free: 70.87 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/19.22, allocations: 11.17 kB / 5.876 GB, free: 70.87 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01983/19.24, allocations: 1.55 MB / 5.878 GB, free: 70.7 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/19.25, allocations: 2.604 MB / 5.881 GB, free: 70.11 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002513/19.25, allocations: 382.3 kB / 5.881 GB, free: 70.11 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/19.25, allocations: 133.9 kB / 5.881 GB, free: 70.11 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008829/19.26, allocations: 2.552 MB / 5.884 GB, free: 70.09 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008169/19.27, allocations: 2.406 MB / 5.886 GB, free: 69.68 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/19.27, allocations: 6.906 kB / 5.886 GB, free: 69.68 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000437/19.27, allocations: 1.938 kB / 5.886 GB, free: 69.68 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/19.27, allocations: 97.06 kB / 5.886 GB, free: 69.67 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03818/19.31, allocations: 13.85 MB / 5.9 GB, free: 62.16 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004049/19.31, allocations: 1.411 MB / 5.901 GB, free: 61.93 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/19.31, allocations: 0.635 MB / 5.902 GB, free: 61.91 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/19.31, allocations: 0.6458 MB / 5.902 GB, free: 61.26 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.858e-05/19.31, allocations: 54.62 kB / 5.902 GB, free: 61.21 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 3.537e-06/19.31, allocations: 0.8125 kB / 5.902 GB, free: 61.21 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.007317/19.32, allocations: 1.645 MB / 5.904 GB, free: 61.05 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/19.32, allocations: 63.97 kB / 5.904 GB, free: 60.98 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004577/19.33, allocations: 1.566 MB / 5.905 GB, free: 60.75 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005526/19.33, allocations: 32.39 kB / 5.905 GB, free: 60.72 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/19.33, allocations: 0.9527 MB / 5.906 GB, free: 60.16 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006634/19.33, allocations: 374.4 kB / 5.907 GB, free: 59.92 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002738/19.33, allocations: 2.969 kB / 5.907 GB, free: 59.92 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001574/19.33, allocations: 371.8 kB / 5.907 GB, free: 59.61 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0023/19.33, allocations: 0.6927 MB / 5.908 GB, free: 59.61 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/19.33, allocations: 1.344 MB / 5.909 GB, free: 58.83 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004847/19.34, allocations: 1.223 MB / 5.91 GB, free: 58.79 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.129e-05/19.34, allocations: 4.281 kB / 5.91 GB, free: 58.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00909/19.35, allocations: 2.44 MB / 5.913 GB, free: 58.57 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001333/19.35, allocations: 5.566 MB / 5.918 GB, free: 52.76 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.566e-05/19.35, allocations: 13.84 kB / 5.918 GB, free: 52.76 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.081e-05/19.35, allocations: 25.28 kB / 5.918 GB, free: 52.76 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006501/19.36, allocations: 0.5806 MB / 5.919 GB, free: 52.73 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/19.36, allocations: 2.417 MB / 5.921 GB, free: 50.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007346/19.36, allocations: 0.5009 MB / 5.922 GB, free: 50.29 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000696/19.37, allocations: 91.88 kB / 5.922 GB, free: 50.29 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.442e-05/19.37, allocations: 3.875 kB / 5.922 GB, free: 50.29 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009225/19.37, allocations: 2.186 MB / 5.924 GB, free: 49.79 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.972e-05/19.38, allocations: 19.89 kB / 5.924 GB, free: 49.79 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.889e-05/19.38, allocations: 25.44 kB / 5.924 GB, free: 49.79 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005632/19.38, allocations: 0.5539 MB / 5.924 GB, free: 49.75 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.703e-05/19.38, allocations: 33.11 kB / 5.924 GB, free: 49.74 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006345/19.39, allocations: 397.8 kB / 5.925 GB, free: 49.68 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007185/19.39, allocations: 89.88 kB / 5.925 GB, free: 49.67 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007845/19.39, allocations: 157.9 kB / 5.925 GB, free: 49.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009287/19.39, allocations: 219.3 kB / 5.925 GB, free: 49.41 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00588/19.4, allocations: 1.691 MB / 5.927 GB, free: 48.81 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/19.4, allocations: 10.5 kB / 5.927 GB, free: 48.81 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/19.4, allocations: 5.625 kB / 5.927 GB, free: 48.81 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/19.4, allocations: 7.812 kB / 5.927 GB, free: 48.81 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01276/19.41, allocations: 4.043 MB / 5.931 GB, free: 47.1 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/19.41, allocations: 5.344 kB / 5.931 GB, free: 47.1 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003483/19.41, allocations: 325.4 kB / 5.931 GB, free: 47.07 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.872e-05/19.41, allocations: 20.72 kB / 5.931 GB, free: 47.07 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/19.41, allocations: 14.73 kB / 5.931 GB, free: 47.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/19.41, allocations: 2.374 MB / 5.933 GB, free: 44.7 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/19.41, allocations: 10 kB / 5.933 GB, free: 44.7 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00543/19.42, allocations: 2.246 MB / 5.936 GB, free: 43.2 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002154/19.42, allocations: 0.5132 MB / 5.936 GB, free: 42.87 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009592/19.42, allocations: 10.31 kB / 5.936 GB, free: 42.87 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005186/19.43, allocations: 265.2 kB / 5.936 GB, free: 42.86 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/19.43, allocations: 67.03 kB / 5.937 GB, free: 42.84 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003189/19.43, allocations: 64.69 kB / 5.937 GB, free: 42.83 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.002995/19.43, allocations: 1.156 MB / 5.938 GB, free: 42.32 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.008879/19.44, allocations: 1.74 MB / 5.939 GB, free: 41.8 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01484/19.45, allocations: 8.29 MB / 5.947 GB, free: 35.33 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.008866/19.46, allocations: 2.813 MB / 5.95 GB, free: 32.73 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/19.46, allocations: 7.859 kB / 5.95 GB, free: 32.73 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/19.47, allocations: 0.664 MB / 5.951 GB, free: 32.13 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006921/19.47, allocations: 0.7004 MB / 5.952 GB, free: 31.6 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/19.48, allocations: 3.243 MB / 5.955 GB, free: 28.55 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003688/19.49, allocations: 1.973 MB / 5.957 GB, free: 26.97 MB / 1.042 GB Notification: Performance of SimCode: time 1.513e-06/19.49, allocations: 0 / 5.957 GB, free: 26.97 MB / 1.042 GB Notification: Performance of Templates: time 0.7452/20.23, allocations: 81.61 MB / 6.036 GB, free: 179 MB / 1.057 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)