Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.158/2.158, allocations: 253.1 MB / 260.4 MB, free: 7.566 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.001699, allocations: 185.2 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001387/0.001386, allocations: 88.25 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.134e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.584/5.787, allocations: 2.213 GB / 3.101 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/5.787, allocations: 89.83 kB / 3.101 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 13.5/19.29, allocations: 2.726 GB / 5.827 GB, free: 84.73 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005303/19.29, allocations: 71.62 kB / 5.827 GB, free: 84.72 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.02109/19.31, allocations: 3.541 MB / 5.831 GB, free: 83.33 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/19.31, allocations: 5.938 kB / 5.831 GB, free: 83.33 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0305/19.34, allocations: 1.547 MB / 5.832 GB, free: 83.17 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01272/19.36, allocations: 2.594 MB / 5.835 GB, free: 82.66 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002635/19.36, allocations: 393 kB / 5.835 GB, free: 82.65 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/19.36, allocations: 132.8 kB / 5.835 GB, free: 82.65 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009723/19.37, allocations: 2.541 MB / 5.838 GB, free: 82.63 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009771/19.38, allocations: 2.432 MB / 5.84 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.993e-05/19.38, allocations: 3.938 kB / 5.84 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007396/19.38, allocations: 4.531 kB / 5.84 GB, free: 82.23 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/19.38, allocations: 95.39 kB / 5.84 GB, free: 82.22 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04009/19.42, allocations: 13.82 MB / 5.854 GB, free: 74.83 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/19.42, allocations: 1.411 MB / 5.855 GB, free: 74.61 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/19.43, allocations: 0.6275 MB / 5.856 GB, free: 74.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00107/19.43, allocations: 0.6431 MB / 5.856 GB, free: 73.94 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/19.43, allocations: 58.66 kB / 5.856 GB, free: 73.89 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 4.278e-06/19.43, allocations: 0 / 5.856 GB, free: 73.89 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.006638/19.43, allocations: 1.636 MB / 5.858 GB, free: 73.73 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/19.43, allocations: 63.31 kB / 5.858 GB, free: 73.67 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004124/19.44, allocations: 1.539 MB / 5.86 GB, free: 73.45 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005517/19.44, allocations: 39.3 kB / 5.86 GB, free: 73.41 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008161/19.44, allocations: 0.9466 MB / 5.861 GB, free: 72.85 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006482/19.44, allocations: 375.4 kB / 5.861 GB, free: 72.61 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002667/19.44, allocations: 3.812 kB / 5.861 GB, free: 72.61 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001441/19.44, allocations: 372.3 kB / 5.861 GB, free: 72.3 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/19.44, allocations: 0.6812 MB / 5.862 GB, free: 72.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002563/19.44, allocations: 1.279 MB / 5.863 GB, free: 71.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004528/19.45, allocations: 1.218 MB / 5.864 GB, free: 71.58 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-05/19.45, allocations: 7.375 kB / 5.864 GB, free: 71.58 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008826/19.46, allocations: 2.424 MB / 5.867 GB, free: 71.42 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001456/19.46, allocations: 5.89 MB / 5.873 GB, free: 65.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-05/19.46, allocations: 19.25 kB / 5.873 GB, free: 65.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-05/19.46, allocations: 27 kB / 5.873 GB, free: 65.25 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007242/19.47, allocations: 0.5848 MB / 5.873 GB, free: 65.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001966/19.47, allocations: 2.416 MB / 5.876 GB, free: 62.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01004/19.48, allocations: 0.5004 MB / 5.876 GB, free: 62.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009406/19.48, allocations: 104.7 kB / 5.876 GB, free: 62.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/19.48, allocations: 3.906 kB / 5.876 GB, free: 62.82 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0107/19.49, allocations: 2.173 MB / 5.878 GB, free: 62.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01182/19.5, allocations: 14.72 kB / 5.878 GB, free: 62.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.561e-05/19.5, allocations: 26.72 kB / 5.878 GB, free: 62.79 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007532/19.51, allocations: 0.5592 MB / 5.879 GB, free: 62.79 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.152e-05/19.51, allocations: 32.84 kB / 5.879 GB, free: 62.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01567/19.53, allocations: 404.5 kB / 5.879 GB, free: 62.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006024/19.53, allocations: 91.73 kB / 5.879 GB, free: 62.73 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.0009108/19.53, allocations: 157 kB / 5.879 GB, free: 62.61 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/19.53, allocations: 222.2 kB / 5.88 GB, free: 62.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007644/19.54, allocations: 1.682 MB / 5.881 GB, free: 62.41 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.209e-05/19.54, allocations: 11.19 kB / 5.881 GB, free: 62.41 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/19.54, allocations: 2.688 kB / 5.881 GB, free: 62.41 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/19.54, allocations: 3.703 kB / 5.881 GB, free: 62.41 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/19.55, allocations: 4.058 MB / 5.885 GB, free: 61.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.882e-05/19.55, allocations: 3.469 kB / 5.885 GB, free: 61.86 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004522/19.56, allocations: 328.6 kB / 5.886 GB, free: 61.86 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.205e-05/19.56, allocations: 9.188 kB / 5.886 GB, free: 61.86 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/19.56, allocations: 25.23 kB / 5.886 GB, free: 61.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/19.56, allocations: 2.378 MB / 5.888 GB, free: 59.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/19.56, allocations: 16.47 kB / 5.888 GB, free: 59.52 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005011/19.56, allocations: 2.229 MB / 5.89 GB, free: 58.46 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/19.57, allocations: 0.5186 MB / 5.891 GB, free: 58.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000548/19.57, allocations: 11 kB / 5.891 GB, free: 58.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00462/19.57, allocations: 263.7 kB / 5.891 GB, free: 58.23 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/19.57, allocations: 75.2 kB / 5.891 GB, free: 58.22 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002544/19.57, allocations: 65.14 kB / 5.891 GB, free: 58.22 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.002895/19.57, allocations: 1.135 MB / 5.892 GB, free: 58.07 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009021/19.58, allocations: 1.759 MB / 5.894 GB, free: 57.89 MB / 0.9792 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.01431/19.6, allocations: 8.285 MB / 5.902 GB, free: 53.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009086/19.61, allocations: 2.808 MB / 5.905 GB, free: 53.46 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.867e-05/19.61, allocations: 7.016 kB / 5.905 GB, free: 53.46 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/19.61, allocations: 0.6573 MB / 5.905 GB, free: 53.46 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007063/19.62, allocations: 0.7 MB / 5.906 GB, free: 53.43 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/19.63, allocations: 3.164 MB / 5.909 GB, free: 52.47 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003456/19.63, allocations: 1.953 MB / 5.911 GB, free: 51.73 MB / 0.9792 GB Notification: Performance of SimCode: time 1.442e-06/19.63, allocations: 0 / 5.911 GB, free: 51.73 MB / 0.9792 GB Notification: Performance of Templates: time 0.2595/19.89, allocations: 80.95 MB / 5.99 GB, free: 36.39 MB / 0.9792 GB