Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.00139/0.001391, allocations: 181.3 kB / 366.3 MB, free: 1.969 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.719/1.719, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.0009786/0.0009787, allocations: 82.03 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.086e-05, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7119/0.7119, allocations: 116.3 MB / 0.9726 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.65/5.362, allocations: 2.095 GB / 3.067 GB, free: 354.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/5.363, allocations: 89.95 kB / 3.067 GB, free: 354.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 10.05/15.41, allocations: 2.816 GB / 5.884 GB, free: 70 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0002238/15.42, allocations: 71.64 kB / 5.884 GB, free: 69.99 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.01128/15.43, allocations: 3.555 MB / 5.887 GB, free: 68.38 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/15.43, allocations: 7.562 kB / 5.887 GB, free: 68.38 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/15.44, allocations: 1.545 MB / 5.889 GB, free: 68.22 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008132/15.45, allocations: 2.605 MB / 5.891 GB, free: 67.62 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00122/15.45, allocations: 381.5 kB / 5.892 GB, free: 67.62 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006675/15.45, allocations: 136.5 kB / 5.892 GB, free: 67.62 MB / 1.042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004707/15.45, allocations: 2.548 MB / 5.894 GB, free: 67.6 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003898/15.46, allocations: 2.413 MB / 5.897 GB, free: 67.19 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.425e-05/15.46, allocations: 3.938 kB / 5.897 GB, free: 67.19 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002326/15.46, allocations: 7.406 kB / 5.897 GB, free: 67.19 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-05/15.46, allocations: 87.12 kB / 5.897 GB, free: 67.18 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/15.48, allocations: 13.86 MB / 5.91 GB, free: 59.66 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/15.48, allocations: 1.414 MB / 5.912 GB, free: 59.44 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/15.48, allocations: 0.6333 MB / 5.912 GB, free: 59.43 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/15.48, allocations: 0.6437 MB / 5.913 GB, free: 58.77 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/15.48, allocations: 50.97 kB / 5.913 GB, free: 58.73 MB / 1.042 GB Notification: Performance of pre-optimization done (n=110): time 3.226e-06/15.48, allocations: 0 / 5.913 GB, free: 58.73 MB / 1.042 GB Notification: Performance of matching and sorting (n=110): time 0.003825/15.49, allocations: 1.642 MB / 5.915 GB, free: 58.56 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/15.49, allocations: 64.12 kB / 5.915 GB, free: 58.5 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002123/15.49, allocations: 1.565 MB / 5.916 GB, free: 58.27 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002205/15.49, allocations: 30.05 kB / 5.916 GB, free: 58.24 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006614/15.49, allocations: 0.9516 MB / 5.917 GB, free: 57.67 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/15.49, allocations: 372.2 kB / 5.918 GB, free: 57.43 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/15.49, allocations: 2.25 kB / 5.918 GB, free: 57.43 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001367/15.49, allocations: 373.5 kB / 5.918 GB, free: 57.13 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/15.49, allocations: 0.6918 MB / 5.919 GB, free: 57.12 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/15.49, allocations: 1.341 MB / 5.92 GB, free: 56.35 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/15.49, allocations: 1.233 MB / 5.921 GB, free: 56.31 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/15.49, allocations: 6.062 kB / 5.921 GB, free: 56.31 MB / 1.042 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004692/15.5, allocations: 2.437 MB / 5.924 GB, free: 56.09 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.001189/15.5, allocations: 5.563 MB / 5.929 GB, free: 50.28 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/15.5, allocations: 17.52 kB / 5.929 GB, free: 50.28 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.71e-05/15.5, allocations: 23.56 kB / 5.929 GB, free: 50.28 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003044/15.5, allocations: 0.5857 MB / 5.93 GB, free: 50.25 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/15.5, allocations: 2.416 MB / 5.932 GB, free: 47.89 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/15.51, allocations: 0.5015 MB / 5.932 GB, free: 47.8 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/15.51, allocations: 94.77 kB / 5.933 GB, free: 47.8 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/15.51, allocations: 6.156 kB / 5.933 GB, free: 47.8 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004014/15.51, allocations: 2.187 MB / 5.935 GB, free: 47.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/15.51, allocations: 12.62 kB / 5.935 GB, free: 47.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/15.51, allocations: 23.66 kB / 5.935 GB, free: 47.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/15.52, allocations: 0.5477 MB / 5.935 GB, free: 47.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-05/15.52, allocations: 37.67 kB / 5.935 GB, free: 47.67 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/15.52, allocations: 390.5 kB / 5.936 GB, free: 47.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/15.52, allocations: 101.9 kB / 5.936 GB, free: 47.61 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.0006845/15.52, allocations: 159.3 kB / 5.936 GB, free: 47.47 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007259/15.52, allocations: 220.8 kB / 5.936 GB, free: 47.36 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/15.53, allocations: 1.693 MB / 5.938 GB, free: 47.25 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/15.53, allocations: 10.19 kB / 5.938 GB, free: 47.25 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/15.53, allocations: 0 / 5.938 GB, free: 47.25 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/15.53, allocations: 9.594 kB / 5.938 GB, free: 47.25 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008307/15.53, allocations: 4.045 MB / 5.942 GB, free: 46.67 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/15.53, allocations: 7.531 kB / 5.942 GB, free: 46.67 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/15.54, allocations: 316.8 kB / 5.942 GB, free: 46.66 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/15.54, allocations: 10.47 kB / 5.942 GB, free: 46.66 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-05/15.54, allocations: 21.39 kB / 5.942 GB, free: 46.66 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007545/15.54, allocations: 2.382 MB / 5.944 GB, free: 44.31 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/15.54, allocations: 9.969 kB / 5.944 GB, free: 44.31 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002759/15.54, allocations: 2.239 MB / 5.947 GB, free: 43.25 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/15.54, allocations: 0.5129 MB / 5.947 GB, free: 43.02 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/15.54, allocations: 10.91 kB / 5.947 GB, free: 43.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002344/15.54, allocations: 262.2 kB / 5.947 GB, free: 43.01 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/15.54, allocations: 69.58 kB / 5.947 GB, free: 43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001485/15.54, allocations: 69.75 kB / 5.947 GB, free: 43 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.001613/15.54, allocations: 1.153 MB / 5.949 GB, free: 42.86 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.005211/15.55, allocations: 1.747 MB / 5.95 GB, free: 42.68 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.01073/15.56, allocations: 8.277 MB / 5.958 GB, free: 38.4 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.006215/15.57, allocations: 2.823 MB / 5.961 GB, free: 38.16 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/15.57, allocations: 6.516 kB / 5.961 GB, free: 38.15 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/15.57, allocations: 0.6553 MB / 5.962 GB, free: 38.12 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/15.57, allocations: 0.7012 MB / 5.962 GB, free: 38.09 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007235/15.58, allocations: 3.259 MB / 5.966 GB, free: 37.08 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/15.58, allocations: 1.968 MB / 5.968 GB, free: 36.32 MB / 1.042 GB Notification: Performance of SimCode: time 1.553e-06/15.58, allocations: 0 / 5.968 GB, free: 36.32 MB / 1.042 GB Notification: Performance of Templates: time 0.1279/15.71, allocations: 81.62 MB / 6.047 GB, free: 12.23 MB / 1.073 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)