Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",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.246/2.246, allocations: 248.6 MB / 255.9 MB, free: 7.184 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.001679/0.001679, allocations: 187.5 kB / 315.1 MB, free: 4.305 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.049/2.049, allocations: 205.1 MB / 0.5658 GB, free: 336 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.001402/0.001402, allocations: 87.31 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4812/0.4827, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.7304, allocations: 106.3 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.671/6.401, allocations: 2.175 GB / 3.058 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.402, allocations: 94.12 kB / 3.058 GB, free: 190.7 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.1939/6.596, allocations: 40.45 MB / 3.098 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/6.596, allocations: 11.98 kB / 3.098 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/6.596, allocations: 39.78 kB / 3.098 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/6.596, allocations: 204 kB / 3.098 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/6.596, allocations: 4 kB / 3.098 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/6.596, allocations: 11.94 kB / 3.098 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002186/6.597, allocations: 62.86 kB / 3.098 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/6.597, allocations: 89.33 kB / 3.098 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/6.597, allocations: 4 kB / 3.098 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/6.597, allocations: 0 / 3.098 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/6.597, allocations: 0 / 3.098 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008533/6.598, allocations: 416.3 kB / 3.099 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/6.598, allocations: 76.88 kB / 3.099 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.368e-05/6.598, allocations: 27.98 kB / 3.099 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/6.598, allocations: 4 kB / 3.099 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/6.598, allocations: 34.72 kB / 3.099 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/6.598, allocations: 0 / 3.099 GB, free: 156.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0002757/6.598, allocations: 84.47 kB / 3.099 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/6.598, allocations: 51.41 kB / 3.099 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/6.599, allocations: 137.1 kB / 3.099 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/6.599, allocations: 25.7 kB / 3.099 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/6.599, allocations: 115.5 kB / 3.099 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/6.599, allocations: 23.34 kB / 3.099 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/6.599, allocations: 0 / 3.099 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/6.599, allocations: 326.4 kB / 3.1 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/6.599, allocations: 19.5 kB / 3.1 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/6.599, allocations: 19.44 kB / 3.1 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.083e-05/6.599, allocations: 19.06 kB / 3.1 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/6.599, allocations: 3.938 kB / 3.1 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002032/6.599, allocations: 80.41 kB / 3.1 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/6.599, allocations: 8 kB / 3.1 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/6.599, allocations: 7.984 kB / 3.1 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/6.599, allocations: 0 / 3.1 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/6.6, allocations: 19.98 kB / 3.1 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/6.6, allocations: 0 / 3.1 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/6.6, allocations: 15.84 kB / 3.1 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/6.6, allocations: 11.75 kB / 3.1 GB, free: 155.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/6.6, allocations: 104.9 kB / 3.1 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/6.6, allocations: 7.906 kB / 3.1 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/6.6, allocations: 93.08 kB / 3.1 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/6.6, allocations: 7.891 kB / 3.1 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/6.6, allocations: 4 kB / 3.1 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/6.6, allocations: 0 / 3.1 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/6.6, allocations: 188.4 kB / 3.1 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/6.601, allocations: 4 kB / 3.1 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/6.601, allocations: 19.98 kB / 3.1 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/6.601, allocations: 0 / 3.1 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/6.601, allocations: 4 kB / 3.1 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/6.601, allocations: 7.844 kB / 3.1 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/6.601, allocations: 0 / 3.1 GB, free: 155.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002146/6.601, allocations: 179.5 kB / 3.1 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003632/6.601, allocations: 0.5677 MB / 3.101 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.126e-05/6.601, allocations: 89.02 kB / 3.101 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/6.602, allocations: 0 / 3.101 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/6.602, allocations: 15.98 kB / 3.101 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/6.602, allocations: 3.938 kB / 3.101 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/6.602, allocations: 4 kB / 3.101 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001154/6.602, allocations: 113.4 kB / 3.101 GB, free: 154.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001406/6.603, allocations: 98.73 kB / 3.101 GB, free: 154.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008849/6.604, allocations: 0.6454 MB / 3.102 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002372/6.605, allocations: 49.05 kB / 3.102 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.259e-06/6.605, allocations: 4 kB / 3.102 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.344e-05/6.605, allocations: 32.31 kB / 3.102 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/6.605, allocations: 28.62 kB / 3.102 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/6.606, allocations: 145.5 kB / 3.102 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/6.606, allocations: 0.7364 MB / 3.103 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of SimCode: time 9.62e-07/6.606, allocations: 0 / 3.103 GB, free: 152.6 MB / 0.8698 GB