Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",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.183/2.183, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.002732/0.002732, allocations: 194.9 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001309/0.001308, allocations: 93.55 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.482/0.4834, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.7219, allocations: 106.2 MB / 0.8835 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.581/6.303, allocations: 2.208 GB / 3.091 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/6.304, allocations: 82.11 kB / 3.091 GB, free: 157.9 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.776/11.08, allocations: 0.9703 GB / 4.061 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/11.08, allocations: 7.5 kB / 4.061 GB, free: 145.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006581/11.09, allocations: 0.5917 MB / 4.062 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004273/11.09, allocations: 1.053 MB / 4.063 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/11.09, allocations: 183.4 kB / 4.063 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/11.09, allocations: 54.73 kB / 4.063 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003442/11.1, allocations: 1.058 MB / 4.064 GB, free: 144.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/11.1, allocations: 1.036 MB / 4.065 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/11.1, allocations: 3.531 kB / 4.065 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/11.1, allocations: 0 / 4.065 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-05/11.1, allocations: 52.03 kB / 4.065 GB, free: 144.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/11.11, allocations: 4.091 MB / 4.069 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003089/11.11, allocations: 0.7209 MB / 4.07 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/11.12, allocations: 0.5078 MB / 4.071 GB, free: 143.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/11.12, allocations: 0.6208 MB / 4.071 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/11.12, allocations: 38.56 kB / 4.071 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=76): time 5.771e-06/11.12, allocations: 0 / 4.071 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=76): time 0.00702/11.13, allocations: 1.191 MB / 4.072 GB, free: 142.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/11.13, allocations: 59.47 kB / 4.072 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/11.13, allocations: 0.5648 MB / 4.073 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003975/11.13, allocations: 29.17 kB / 4.073 GB, free: 142.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/11.13, allocations: 333.1 kB / 4.073 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004979/11.13, allocations: 251.1 kB / 4.074 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/11.13, allocations: 2.5 kB / 4.074 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001168/11.13, allocations: 339.4 kB / 4.074 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/11.13, allocations: 411 kB / 4.074 GB, free: 141.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/11.13, allocations: 0.5342 MB / 4.075 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002211/11.14, allocations: 0.6168 MB / 4.075 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/11.14, allocations: 0 / 4.075 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004156/11.14, allocations: 1.22 MB / 4.077 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001589/11.14, allocations: 452.5 kB / 4.077 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/11.14, allocations: 0 / 4.077 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/11.14, allocations: 7.344 kB / 4.077 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/11.14, allocations: 291.7 kB / 4.077 GB, free: 140.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000992/11.14, allocations: 1.204 MB / 4.079 GB, free: 139.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/11.15, allocations: 183.2 kB / 4.079 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003511/11.15, allocations: 43.08 kB / 4.079 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/11.15, allocations: 3.406 kB / 4.079 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00407/11.15, allocations: 1.091 MB / 4.08 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/11.15, allocations: 7.188 kB / 4.08 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/11.15, allocations: 7.844 kB / 4.08 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/11.16, allocations: 268 kB / 4.08 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/11.16, allocations: 6.344 kB / 4.08 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00325/11.16, allocations: 186.4 kB / 4.08 GB, free: 139.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003918/11.16, allocations: 40.06 kB / 4.08 GB, free: 139.7 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.0004193/11.16, allocations: 121.7 kB / 4.08 GB, free: 139.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004482/11.16, allocations: 92.19 kB / 4.08 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005143/11.16, allocations: 1.27 MB / 4.082 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/11.17, allocations: 7.719 kB / 4.082 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/11.17, allocations: 0 / 4.082 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/11.17, allocations: 3.844 kB / 4.082 GB, free: 139.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008461/11.17, allocations: 2.659 MB / 4.084 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/11.17, allocations: 3.906 kB / 4.084 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002874/11.18, allocations: 269.9 kB / 4.085 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.151e-05/11.18, allocations: 6.938 kB / 4.085 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002666/11.18, allocations: 18.45 kB / 4.085 GB, free: 139 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007932/11.18, allocations: 1.202 MB / 4.086 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/11.18, allocations: 3.906 kB / 4.086 GB, free: 137.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004206/11.18, allocations: 1.543 MB / 4.087 GB, free: 137.3 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005783/11.19, allocations: 2.059 MB / 4.089 GB, free: 136.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001828/11.19, allocations: 306 kB / 4.09 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006496/11.19, allocations: 7.719 kB / 4.09 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004946/11.2, allocations: 166.8 kB / 4.09 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004138/11.2, allocations: 54.69 kB / 4.09 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002961/11.2, allocations: 38.69 kB / 4.09 GB, free: 136.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001524/11.2, allocations: 445.6 kB / 4.09 GB, free: 136.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008093/11.21, allocations: 1.284 MB / 4.092 GB, free: 136 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.005109/11.21, allocations: 2.629 MB / 4.094 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.005711/11.22, allocations: 1.607 MB / 4.096 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/11.22, allocations: 4.5 kB / 4.096 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001877/11.22, allocations: 0.5431 MB / 4.096 GB, free: 135.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004522/11.22, allocations: 420.8 kB / 4.097 GB, free: 135 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03569/11.26, allocations: 2.402 MB / 4.099 GB, free: 134.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001916/11.26, allocations: 1.233 MB / 4.1 GB, free: 133.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.643e-06/11.26, allocations: 0 / 4.1 GB, free: 133.8 MB / 0.8855 GB