Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",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.209/2.209, allocations: 248.6 MB / 255.9 MB, free: 7.574 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 188.1 kB / 315.1 MB, free: 8.594 MB / 254.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.1 MB / 0.5658 GB, free: 4.105 MB / 414.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 91.31 kB / 0.67 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.4889/0.4903, allocations: 112.4 MB / 0.7797 GB, free: 107.4 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.7123, allocations: 106.2 MB / 0.8835 GB, free: 1.062 MB / 0.545 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.417/2.13, allocations: 401.5 MB / 1.276 GB, free: 253.1 MB / 0.8575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/2.13, allocations: 93.25 kB / 1.276 GB, free: 253.1 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 1.81/3.94, allocations: 402.7 MB / 1.669 GB, free: 234.7 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.142e-05/3.94, allocations: 7.719 kB / 1.669 GB, free: 234.7 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/3.942, allocations: 228.6 kB / 1.669 GB, free: 234.6 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01126/3.954, allocations: 2.091 MB / 1.671 GB, free: 234.2 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/3.954, allocations: 46.28 kB / 1.671 GB, free: 234.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007291/3.955, allocations: 93.28 kB / 1.671 GB, free: 234.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00672/3.961, allocations: 1.63 MB / 1.673 GB, free: 234.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007628/3.969, allocations: 1.67 MB / 1.675 GB, free: 234 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.5e-05/3.969, allocations: 4.438 kB / 1.675 GB, free: 234 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003036/3.97, allocations: 2.594 kB / 1.675 GB, free: 234 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.892e-05/3.97, allocations: 43.22 kB / 1.675 GB, free: 234 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02672/3.997, allocations: 7.184 MB / 1.682 GB, free: 230 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004687/4.001, allocations: 1.243 MB / 1.683 GB, free: 229.6 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002268/4.004, allocations: 0.6256 MB / 1.683 GB, free: 229.4 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/4.015, allocations: 3.438 MB / 1.687 GB, free: 227 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/4.015, allocations: 39.53 kB / 1.687 GB, free: 227 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=86): time 6.752e-06/4.015, allocations: 1.156 kB / 1.687 GB, free: 227 MB / 0.8731 GB Notification: Performance of matching and sorting (n=86): time 0.006983/4.022, allocations: 1.167 MB / 1.688 GB, free: 226.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/4.022, allocations: 64.62 kB / 1.688 GB, free: 226.6 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004832/4.027, allocations: 1.252 MB / 1.689 GB, free: 226.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000459/4.028, allocations: 29.48 kB / 1.689 GB, free: 226 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/4.029, allocations: 0.5944 MB / 1.69 GB, free: 225.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008159/4.03, allocations: 299.2 kB / 1.69 GB, free: 225.4 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/4.03, allocations: 0 / 1.69 GB, free: 225.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002259/4.03, allocations: 362.4 kB / 1.691 GB, free: 225 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/4.033, allocations: 0.6687 MB / 1.691 GB, free: 224.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/4.036, allocations: 1.002 MB / 1.692 GB, free: 224.2 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008644/4.045, allocations: 1.267 MB / 1.693 GB, free: 223.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-05/4.045, allocations: 2.219 kB / 1.693 GB, free: 223.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.0141/4.059, allocations: 2.228 MB / 1.696 GB, free: 223.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.001201/4.06, allocations: 3.479 MB / 1.699 GB, free: 219.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.461e-05/4.06, allocations: 13.73 kB / 1.699 GB, free: 219.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000105/4.061, allocations: 19.98 kB / 1.699 GB, free: 219.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004441/4.065, allocations: 339 kB / 1.699 GB, free: 219.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.952e-05/4.065, allocations: 21.78 kB / 1.699 GB, free: 219.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004057/4.069, allocations: 154.2 kB / 1.699 GB, free: 219.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006776/4.07, allocations: 62.16 kB / 1.7 GB, free: 219.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/4.07, allocations: 4 kB / 1.7 GB, free: 219.4 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01313/4.083, allocations: 2.059 MB / 1.702 GB, free: 218.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.664e-05/4.083, allocations: 8.969 kB / 1.702 GB, free: 218.9 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.625e-05/4.083, allocations: 17.88 kB / 1.702 GB, free: 218.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004372/4.088, allocations: 345.1 kB / 1.702 GB, free: 218.9 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.979e-05/4.088, allocations: 23.72 kB / 1.702 GB, free: 218.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/4.092, allocations: 127.8 kB / 1.702 GB, free: 218.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000593/4.092, allocations: 60.66 kB / 1.702 GB, free: 218.8 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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 0.0006462/4.093, allocations: 139.6 kB / 1.702 GB, free: 218.7 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/4.094, allocations: 126 kB / 1.702 GB, free: 218.6 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007699/4.102, allocations: 1.32 MB / 1.704 GB, free: 218.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-05/4.102, allocations: 9.828 kB / 1.704 GB, free: 218.2 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/4.102, allocations: 0 / 1.704 GB, free: 218.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006186/4.108, allocations: 1.372 MB / 1.705 GB, free: 217.5 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/4.122, allocations: 2.785 MB / 1.708 GB, free: 216.4 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/4.122, allocations: 2.047 kB / 1.708 GB, free: 216.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002685/4.125, allocations: 174.9 kB / 1.708 GB, free: 216.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.123e-05/4.125, allocations: 3.859 kB / 1.708 GB, free: 216.4 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002306/4.125, allocations: 19.89 kB / 1.708 GB, free: 216.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.717e-05/4.125, allocations: 7.781 kB / 1.708 GB, free: 216.4 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/4.125, allocations: 1.922 kB / 1.708 GB, free: 216.4 MB / 0.8731 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00918/4.134, allocations: 2.01 MB / 1.71 GB, free: 215.5 MB / 0.8731 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01246/4.147, allocations: 3.084 MB / 1.713 GB, free: 214.1 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/4.149, allocations: 388.5 kB / 1.713 GB, free: 213.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009558/4.15, allocations: 9.641 kB / 1.713 GB, free: 213.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002966/4.153, allocations: 33.64 kB / 1.713 GB, free: 213.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/4.154, allocations: 58.39 kB / 1.713 GB, free: 213.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/4.154, allocations: 33.52 kB / 1.713 GB, free: 213.8 MB / 0.8731 GB Notification: Performance of sort global known variables: time 0.00426/4.158, allocations: 0.963 MB / 1.714 GB, free: 213.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0121/4.17, allocations: 1.053 MB / 1.715 GB, free: 213.1 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002544/4.173, allocations: 493.8 kB / 1.716 GB, free: 213 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01042/4.184, allocations: 2.305 MB / 1.718 GB, free: 212.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/4.184, allocations: 0.9688 kB / 1.718 GB, free: 212.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.002102/4.186, allocations: 0.4988 MB / 1.719 GB, free: 212.1 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008855/4.195, allocations: 0.602 MB / 1.719 GB, free: 212 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/4.21, allocations: 3.053 MB / 1.722 GB, free: 209.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004526/4.215, allocations: 1.857 MB / 1.724 GB, free: 207.9 MB / 0.8731 GB Notification: Performance of SimCode: time 1.653e-06/4.215, allocations: 0 / 1.724 GB, free: 207.9 MB / 0.8731 GB