Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_SimpleLiquidWater",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(Modelica): time 1.735/1.735, allocations: 171.2 MB / 178.1 MB, free: 8.273 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2245/1.96, allocations: 41.09 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/2.055, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.662/2.717, allocations: 262.7 MB / 0.5085 GB, free: 22.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/2.718, allocations: 64.59 kB / 0.5085 GB, free: 22.72 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.03446/2.752, allocations: 9.504 MB / 0.5178 GB, free: 14.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/2.752, allocations: 8 kB / 0.5178 GB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/2.753, allocations: 27.8 kB / 0.5178 GB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/2.753, allocations: 206.2 kB / 0.518 GB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/2.753, allocations: 7.906 kB / 0.518 GB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.302e-05/2.753, allocations: 15.06 kB / 0.5181 GB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003406/2.753, allocations: 109.6 kB / 0.5182 GB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/2.754, allocations: 180.2 kB / 0.5183 GB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/2.754, allocations: 4 kB / 0.5183 GB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/2.754, allocations: 0 / 0.5183 GB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/2.754, allocations: 4 kB / 0.5183 GB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/2.755, allocations: 0.9076 MB / 0.5192 GB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/2.756, allocations: 117.9 kB / 0.5193 GB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/2.756, allocations: 43.23 kB / 0.5194 GB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/2.757, allocations: 0.5091 MB / 0.5199 GB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/2.757, allocations: 41.88 kB / 0.5199 GB, free: 12.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.906e-06/2.757, allocations: 0 / 0.5199 GB, free: 12.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.003038/2.76, allocations: 0.5891 MB / 0.5205 GB, free: 12.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/2.76, allocations: 55.41 kB / 0.5205 GB, free: 12.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/2.76, allocations: 140.4 kB / 0.5207 GB, free: 12.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/2.76, allocations: 29.7 kB / 0.5207 GB, free: 12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/2.76, allocations: 131 kB / 0.5208 GB, free: 11.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.019e-05/2.76, allocations: 70 kB / 0.5209 GB, free: 11.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/2.76, allocations: 0 / 0.5209 GB, free: 11.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.861e-05/2.76, allocations: 329.7 kB / 0.5212 GB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/2.76, allocations: 57.61 kB / 0.5213 GB, free: 11.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/2.761, allocations: 167.1 kB / 0.5214 GB, free: 11.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/2.761, allocations: 76.53 kB / 0.5215 GB, free: 11.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/2.761, allocations: 0 / 0.5215 GB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006809/2.762, allocations: 258.2 kB / 0.5217 GB, free: 11 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/2.762, allocations: 8 kB / 0.5218 GB, free: 11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/2.762, allocations: 3.938 kB / 0.5218 GB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/2.762, allocations: 8 kB / 0.5218 GB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/2.763, allocations: 76.36 kB / 0.5218 GB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/2.763, allocations: 15.98 kB / 0.5219 GB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/2.763, allocations: 11.94 kB / 0.5219 GB, free: 10.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/2.763, allocations: 19.73 kB / 0.5219 GB, free: 10.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001141/2.763, allocations: 108.9 kB / 0.522 GB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.112e-05/2.763, allocations: 15.81 kB / 0.522 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000768/2.764, allocations: 196.8 kB / 0.5222 GB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/2.764, allocations: 11.91 kB / 0.5222 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/2.764, allocations: 0 / 0.5222 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/2.764, allocations: 0 / 0.5222 GB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/2.766, allocations: 0.5233 MB / 0.5227 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/2.766, allocations: 0 / 0.5227 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/2.766, allocations: 55.89 kB / 0.5228 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/2.766, allocations: 3.906 kB / 0.5228 GB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/2.766, allocations: 4 kB / 0.5228 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/2.766, allocations: 4 kB / 0.5228 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/2.766, allocations: 4 kB / 0.5228 GB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006996/2.767, allocations: 384.3 kB / 0.5232 GB, free: 9.613 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008561/2.768, allocations: 0.8292 MB / 0.524 GB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/2.768, allocations: 88.92 kB / 0.524 GB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/2.768, allocations: 0 / 0.524 GB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/2.769, allocations: 11.98 kB / 0.5241 GB, free: 8.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/2.769, allocations: 15.92 kB / 0.5241 GB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/2.769, allocations: 11.86 kB / 0.5241 GB, free: 8.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.374e-05/2.769, allocations: 102.1 kB / 0.5242 GB, free: 8.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001411/2.77, allocations: 71 kB / 0.5242 GB, free: 8.523 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0003073/2.77, allocations: 143.6 kB / 0.5244 GB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004726/2.771, allocations: 165.5 kB / 0.5245 GB, free: 8.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/2.771, allocations: 0 / 0.5245 GB, free: 8.258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/2.771, allocations: 74.91 kB / 0.5246 GB, free: 8.203 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/2.772, allocations: 34.45 kB / 0.5246 GB, free: 8.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/2.773, allocations: 281.1 kB / 0.5249 GB, free: 7.891 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/2.773, allocations: 0.7547 MB / 0.5257 GB, free: 7.113 MB / 346.7 MB Notification: Performance of SimCode: time 1.363e-06/2.773, allocations: 0 / 0.5257 GB, free: 7.113 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat