Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MassExchangers_Validation_ConstantEffectivenessZeroFlowBothStreams",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.276/2.276, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.002446/0.002446, allocations: 181.2 kB / 315.1 MB, free: 4.297 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.922/1.922, allocations: 205.1 MB / 0.5658 GB, free: 312 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.001317/0.001316, allocations: 94.52 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5074/0.5087, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.7387, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.667/6.406, allocations: 2.208 GB / 3.091 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/6.406, allocations: 90.78 kB / 3.091 GB, free: 161.2 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 4.695/11.1, allocations: 0.9708 GB / 4.062 GB, free: 146 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/11.1, allocations: 7.781 kB / 4.062 GB, free: 146 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006083/11.11, allocations: 0.5921 MB / 4.063 GB, free: 145.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/11.11, allocations: 1.048 MB / 4.064 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/11.11, allocations: 180.8 kB / 4.064 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005257/11.11, allocations: 57.47 kB / 4.064 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003403/11.12, allocations: 1.057 MB / 4.065 GB, free: 145.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003295/11.12, allocations: 1.04 MB / 4.066 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/11.12, allocations: 0 / 4.066 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001805/11.12, allocations: 0 / 4.066 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/11.12, allocations: 47.45 kB / 4.066 GB, free: 145.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/11.13, allocations: 4.091 MB / 4.07 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/11.14, allocations: 0.7234 MB / 4.071 GB, free: 144 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/11.14, allocations: 0.5015 MB / 4.071 GB, free: 144 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001565/11.14, allocations: 0.6195 MB / 4.072 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/11.14, allocations: 41.75 kB / 4.072 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 4.849e-06/11.14, allocations: 0 / 4.072 GB, free: 143.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.004507/11.14, allocations: 1.193 MB / 4.073 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.237e-05/11.14, allocations: 59.84 kB / 4.073 GB, free: 143.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/11.14, allocations: 0.5629 MB / 4.074 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002913/11.14, allocations: 29.67 kB / 4.074 GB, free: 143.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/11.14, allocations: 331 kB / 4.074 GB, free: 142.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003453/11.15, allocations: 250.5 kB / 4.074 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/11.15, allocations: 3.781 kB / 4.074 GB, free: 142.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/11.15, allocations: 333.2 kB / 4.074 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/11.15, allocations: 413.5 kB / 4.075 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/11.15, allocations: 0.5302 MB / 4.075 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/11.15, allocations: 0.6181 MB / 4.076 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/11.15, allocations: 0 / 4.076 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0063/11.16, allocations: 1.223 MB / 4.077 GB, free: 142.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001849/11.16, allocations: 452.4 kB / 4.078 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/11.16, allocations: 0 / 4.078 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.59e-05/11.16, allocations: 3.969 kB / 4.078 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00534/11.16, allocations: 288.6 kB / 4.078 GB, free: 141.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/11.16, allocations: 1.212 MB / 4.079 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003222/11.17, allocations: 190.9 kB / 4.079 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/11.17, allocations: 47.8 kB / 4.079 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/11.17, allocations: 3.844 kB / 4.079 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003747/11.17, allocations: 1.094 MB / 4.08 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/11.17, allocations: 3.844 kB / 4.08 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/11.17, allocations: 3.531 kB / 4.08 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/11.17, allocations: 269 kB / 4.081 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/11.17, allocations: 7.812 kB / 4.081 GB, free: 140.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/11.18, allocations: 177.9 kB / 4.081 GB, free: 140.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/11.18, allocations: 39.56 kB / 4.081 GB, free: 140.5 MB / 0.8855 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.0003754/11.18, allocations: 123 kB / 4.081 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/11.18, allocations: 99.55 kB / 4.081 GB, free: 140.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004391/11.18, allocations: 1.274 MB / 4.082 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/11.18, allocations: 7.875 kB / 4.082 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/11.18, allocations: 0 / 4.082 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/11.18, allocations: 2.953 kB / 4.082 GB, free: 140.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007963/11.19, allocations: 2.656 MB / 4.085 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.92e-05/11.19, allocations: 3.406 kB / 4.085 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/11.19, allocations: 272.5 kB / 4.085 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/11.19, allocations: 7.125 kB / 4.085 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/11.19, allocations: 17.88 kB / 4.085 GB, free: 139.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000639/11.19, allocations: 1.199 MB / 4.086 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/11.19, allocations: 11.31 kB / 4.086 GB, free: 138.7 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004067/11.2, allocations: 1.539 MB / 4.088 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004891/11.2, allocations: 2.056 MB / 4.09 GB, free: 137.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/11.2, allocations: 306.9 kB / 4.09 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000702/11.2, allocations: 8.219 kB / 4.09 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003798/11.21, allocations: 170.5 kB / 4.09 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/11.21, allocations: 52.23 kB / 4.09 GB, free: 137 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/11.21, allocations: 41.05 kB / 4.09 GB, free: 137 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001075/11.21, allocations: 440 kB / 4.091 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007477/11.22, allocations: 1.293 MB / 4.092 GB, free: 136.9 MB / 0.8855 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.005079/11.22, allocations: 2.629 MB / 4.095 GB, free: 136 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005773/11.23, allocations: 1.607 MB / 4.096 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.526e-05/11.23, allocations: 1.531 kB / 4.096 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00327/11.23, allocations: 0.5444 MB / 4.097 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006655/11.24, allocations: 419.1 kB / 4.097 GB, free: 135.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03771/11.28, allocations: 2.393 MB / 4.1 GB, free: 135.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/11.28, allocations: 1.235 MB / 4.101 GB, free: 134.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.553e-06/11.28, allocations: 0 / 4.101 GB, free: 134.7 MB / 0.8855 GB