Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",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 loadModel(ModelicaTest): time 2.234/2.234, allocations: 235 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1852/2.419, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/2.689, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9387/3.627, allocations: 329.5 MB / 0.6675 GB, free: 110.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/3.628, allocations: 81.3 kB / 0.6675 GB, free: 110.3 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.8179/4.446, allocations: 142.1 MB / 0.8063 GB, free: 108.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/4.446, allocations: 15.19 kB / 0.8063 GB, free: 108.3 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008291/4.446, allocations: 107.1 kB / 0.8064 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/4.449, allocations: 0.7093 MB / 0.8071 GB, free: 108 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/4.449, allocations: 85.5 kB / 0.8072 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002612/4.45, allocations: 37.84 kB / 0.8073 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002402/4.452, allocations: 0.8394 MB / 0.8081 GB, free: 107.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/4.454, allocations: 0.9375 MB / 0.809 GB, free: 107.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/4.454, allocations: 0 / 0.809 GB, free: 107.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/4.454, allocations: 7.219 kB / 0.809 GB, free: 107.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.416e-05/4.455, allocations: 50.41 kB / 0.809 GB, free: 107.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/4.465, allocations: 3.926 MB / 0.8129 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/4.466, allocations: 0.5218 MB / 0.8134 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008609/4.467, allocations: 389.3 kB / 0.8138 GB, free: 106.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005013/4.472, allocations: 2.378 MB / 0.8161 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008526/4.473, allocations: 426.9 kB / 0.8165 GB, free: 104.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=47): time 4.047e-06/4.473, allocations: 2.75 kB / 0.8165 GB, free: 104.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=52): time 0.01203/4.485, allocations: 2.465 MB / 0.8189 GB, free: 104.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/4.485, allocations: 165.4 kB / 0.8191 GB, free: 103.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/4.486, allocations: 0.5453 MB / 0.8196 GB, free: 103.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/4.487, allocations: 28.98 kB / 0.8196 GB, free: 103.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/4.487, allocations: 358.5 kB / 0.82 GB, free: 103.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/4.487, allocations: 167.6 kB / 0.8201 GB, free: 103.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.588e-05/4.487, allocations: 0 / 0.8201 GB, free: 103.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/4.488, allocations: 389 kB / 0.8205 GB, free: 103.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008928/4.489, allocations: 351.4 kB / 0.8208 GB, free: 103.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/4.49, allocations: 0.6202 MB / 0.8214 GB, free: 102.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008208/4.498, allocations: 1.096 MB / 0.8225 GB, free: 102.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/4.498, allocations: 5.031 kB / 0.8225 GB, free: 102.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.01047/4.508, allocations: 1.836 MB / 0.8243 GB, free: 102.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007419/4.509, allocations: 3.393 MB / 0.8276 GB, free: 99.13 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/4.509, allocations: 12.25 kB / 0.8276 GB, free: 99.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/4.511, allocations: 331.7 kB / 0.8279 GB, free: 99.12 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/4.512, allocations: 157.3 kB / 0.8281 GB, free: 99.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/4.516, allocations: 1.666 MB / 0.8297 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/4.517, allocations: 37.05 kB / 0.8298 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/4.518, allocations: 50.19 kB / 0.8298 GB, free: 98.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/4.518, allocations: 3.844 kB / 0.8298 GB, free: 98.07 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008377/4.526, allocations: 1.469 MB / 0.8312 GB, free: 98.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/4.526, allocations: 7.906 kB / 0.8312 GB, free: 98.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/4.527, allocations: 250.7 kB / 0.8315 GB, free: 98.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/4.529, allocations: 163.7 kB / 0.8316 GB, free: 98.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/4.531, allocations: 2.166 MB / 0.8338 GB, free: 96.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/4.532, allocations: 34.42 kB / 0.8338 GB, free: 96.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/4.533, allocations: 49.42 kB / 0.8338 GB, free: 96.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004067/4.533, allocations: 168 kB / 0.834 GB, free: 96.15 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/4.533, allocations: 80.97 kB / 0.8341 GB, free: 96.11 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005765/4.539, allocations: 1.196 MB / 0.8352 GB, free: 96.04 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/4.539, allocations: 10.39 kB / 0.8352 GB, free: 96.04 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/4.539, allocations: 0 / 0.8352 GB, free: 96.04 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/4.539, allocations: 3.938 kB / 0.8353 GB, free: 96.04 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007159/4.547, allocations: 1.938 MB / 0.8371 GB, free: 95.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/4.547, allocations: 3.094 kB / 0.8371 GB, free: 95.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007955/4.547, allocations: 72.02 kB / 0.8372 GB, free: 95.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001133/4.549, allocations: 307 kB / 0.8375 GB, free: 95.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/4.549, allocations: 13.28 kB / 0.8375 GB, free: 95.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/4.553, allocations: 1.636 MB / 0.8391 GB, free: 94.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/4.553, allocations: 3.797 kB / 0.8391 GB, free: 94.68 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005455/4.558, allocations: 1.661 MB / 0.8407 GB, free: 94.48 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007327/4.566, allocations: 2.545 MB / 0.8432 GB, free: 93.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007509/4.566, allocations: 246.3 kB / 0.8435 GB, free: 93.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/4.567, allocations: 6.719 kB / 0.8435 GB, free: 93.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/4.568, allocations: 29.78 kB / 0.8435 GB, free: 93.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/4.568, allocations: 46.27 kB / 0.8435 GB, free: 93.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/4.568, allocations: 32.12 kB / 0.8436 GB, free: 93.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007594/4.569, allocations: 417.1 kB / 0.844 GB, free: 93.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006849/4.576, allocations: 0.7067 MB / 0.8447 GB, free: 93.56 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002158/4.578, allocations: 0.6154 MB / 0.8453 GB, free: 93.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004033/4.582, allocations: 1.46 MB / 0.8467 GB, free: 93.18 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/4.582, allocations: 0 / 0.8467 GB, free: 93.18 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/4.584, allocations: 440.9 kB / 0.8471 GB, free: 93.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/4.586, allocations: 252.5 kB / 0.8474 GB, free: 93.12 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005113/4.591, allocations: 1.368 MB / 0.8487 GB, free: 92.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000981/4.592, allocations: 1.113 MB / 0.8498 GB, free: 92.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/4.592, allocations: 0 / 0.8498 GB, free: 92.13 MB / 474.7 MB