Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_ReverseFlowMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.354/2.354, allocations: 248.6 MB / 255.9 MB, free: 7.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001686/0.001685, allocations: 185.2 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.1 MB / 0.5658 GB, free: 380 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00125/0.00125, allocations: 87.33 kB / 0.67 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4835/0.4847, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.7035, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.576/6.28, allocations: 2.213 GB / 3.096 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/6.28, allocations: 89.77 kB / 3.096 GB, free: 155.8 MB / 0.8698 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 14.08/20.36, allocations: 2.73 GB / 5.826 GB, free: 82.16 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/20.36, allocations: 8.812 kB / 5.826 GB, free: 82.16 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02228/20.38, allocations: 1.541 MB / 5.828 GB, free: 81.99 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01281/20.4, allocations: 2.601 MB / 5.83 GB, free: 81.53 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003065/20.4, allocations: 382.2 kB / 5.831 GB, free: 81.52 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/20.4, allocations: 134.7 kB / 5.831 GB, free: 81.52 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01016/20.41, allocations: 2.543 MB / 5.833 GB, free: 81.5 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01011/20.42, allocations: 2.433 MB / 5.836 GB, free: 81.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/20.42, allocations: 4.312 kB / 5.836 GB, free: 81.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001069/20.42, allocations: 6.875 kB / 5.836 GB, free: 81.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/20.42, allocations: 92.69 kB / 5.836 GB, free: 81.09 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04116/20.46, allocations: 13.82 MB / 5.849 GB, free: 73.69 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006357/20.47, allocations: 1.407 MB / 5.851 GB, free: 73.47 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002883/20.47, allocations: 0.6273 MB / 5.851 GB, free: 73.46 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/20.47, allocations: 0.6466 MB / 5.852 GB, free: 72.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.956e-05/20.47, allocations: 54.17 kB / 5.852 GB, free: 72.76 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=110): time 6.653e-06/20.47, allocations: 0 / 5.852 GB, free: 72.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=110): time 0.008984/20.48, allocations: 1.644 MB / 5.853 GB, free: 72.59 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/20.48, allocations: 62.09 kB / 5.854 GB, free: 72.53 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004872/20.49, allocations: 1.535 MB / 5.855 GB, free: 72.3 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005451/20.49, allocations: 32.33 kB / 5.855 GB, free: 72.27 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/20.49, allocations: 0.9455 MB / 5.856 GB, free: 71.71 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006508/20.49, allocations: 381.9 kB / 5.856 GB, free: 71.47 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/20.49, allocations: 2.219 kB / 5.856 GB, free: 71.47 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001387/20.49, allocations: 368.1 kB / 5.857 GB, free: 71.17 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002398/20.49, allocations: 0.6842 MB / 5.857 GB, free: 71.16 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/20.5, allocations: 1.281 MB / 5.859 GB, free: 70.46 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00461/20.5, allocations: 1.211 MB / 5.86 GB, free: 70.44 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.083e-05/20.5, allocations: 8.844 kB / 5.86 GB, free: 70.44 MB / 0.9792 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.009055/20.51, allocations: 2.434 MB / 5.862 GB, free: 70.28 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0014/20.51, allocations: 5.891 MB / 5.868 GB, free: 64.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.905e-05/20.51, allocations: 17.09 kB / 5.868 GB, free: 64.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.386e-05/20.51, allocations: 23.47 kB / 5.868 GB, free: 64.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009068/20.52, allocations: 0.5809 MB / 5.869 GB, free: 64.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/20.52, allocations: 2.412 MB / 5.871 GB, free: 61.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01094/20.53, allocations: 0.5014 MB / 5.871 GB, free: 61.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007481/20.53, allocations: 93.88 kB / 5.871 GB, free: 61.68 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/20.53, allocations: 5.531 kB / 5.871 GB, free: 61.68 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007622/20.54, allocations: 2.184 MB / 5.874 GB, free: 61.65 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-05/20.54, allocations: 18.58 kB / 5.874 GB, free: 61.65 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/20.54, allocations: 25.81 kB / 5.874 GB, free: 61.65 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00543/20.55, allocations: 0.5554 MB / 5.874 GB, free: 61.65 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.835e-05/20.55, allocations: 33.94 kB / 5.874 GB, free: 61.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007634/20.56, allocations: 399.7 kB / 5.875 GB, free: 61.59 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007143/20.56, allocations: 90.55 kB / 5.875 GB, free: 61.59 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.0007467/20.56, allocations: 159.7 kB / 5.875 GB, free: 61.47 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008574/20.56, allocations: 218.2 kB / 5.875 GB, free: 61.36 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005701/20.56, allocations: 1.696 MB / 5.877 GB, free: 61.27 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/20.56, allocations: 12.34 kB / 5.877 GB, free: 61.27 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/20.56, allocations: 0 / 5.877 GB, free: 61.27 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/20.56, allocations: 3.656 kB / 5.877 GB, free: 61.27 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/20.58, allocations: 4.051 MB / 5.881 GB, free: 60.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/20.58, allocations: 6.594 kB / 5.881 GB, free: 60.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003569/20.58, allocations: 328.1 kB / 5.881 GB, free: 60.72 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.882e-05/20.58, allocations: 11.22 kB / 5.881 GB, free: 60.72 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/20.58, allocations: 15.22 kB / 5.881 GB, free: 60.72 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/20.58, allocations: 2.382 MB / 5.883 GB, free: 58.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.156e-05/20.58, allocations: 10.53 kB / 5.883 GB, free: 58.38 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005151/20.59, allocations: 2.236 MB / 5.886 GB, free: 57.31 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007126/20.59, allocations: 3.069 MB / 5.889 GB, free: 55.88 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/20.6, allocations: 0.5168 MB / 5.889 GB, free: 55.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009127/20.6, allocations: 9.188 kB / 5.889 GB, free: 55.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/20.6, allocations: 272.4 kB / 5.889 GB, free: 55.65 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003962/20.6, allocations: 69.91 kB / 5.889 GB, free: 55.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003424/20.6, allocations: 68.67 kB / 5.889 GB, free: 55.64 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003775/20.61, allocations: 1.139 MB / 5.891 GB, free: 55.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0229/20.63, allocations: 3.6 MB / 5.894 GB, free: 55.31 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.01595/20.65, allocations: 8.282 MB / 5.902 GB, free: 51.05 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.009605/20.66, allocations: 2.811 MB / 5.905 GB, free: 50.9 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/20.66, allocations: 2.906 kB / 5.905 GB, free: 50.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002795/20.66, allocations: 0.6566 MB / 5.906 GB, free: 50.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01108/20.67, allocations: 0.7037 MB / 5.906 GB, free: 50.87 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/20.68, allocations: 3.159 MB / 5.909 GB, free: 49.91 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003581/20.69, allocations: 1.954 MB / 5.911 GB, free: 49.16 MB / 0.9792 GB Notification: Performance of SimCode: time 1.613e-06/20.69, allocations: 3.125 kB / 5.911 GB, free: 49.16 MB / 0.9792 GB