Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.654/2.654, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1694/2.824, allocations: 57.21 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/3.113, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.969/10.08, allocations: 2.586 GB / 2.932 GB, free: 106.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003137/10.08, allocations: 85.05 kB / 2.932 GB, free: 106.4 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 1.456/11.54, allocations: 288.2 MB / 3.214 GB, free: 13.73 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/11.54, allocations: 8 kB / 3.214 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/11.54, allocations: 123.5 kB / 3.214 GB, free: 13.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/11.54, allocations: 357.6 kB / 3.214 GB, free: 13.22 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.359e-05/11.54, allocations: 15.91 kB / 3.214 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/11.54, allocations: 12 kB / 3.214 GB, free: 13.19 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000658/11.54, allocations: 208.9 kB / 3.214 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007026/11.54, allocations: 305.3 kB / 3.215 GB, free: 12.65 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/11.54, allocations: 4 kB / 3.215 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.537e-05/11.54, allocations: 0 / 3.215 GB, free: 12.64 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.423e-05/11.54, allocations: 11.94 kB / 3.215 GB, free: 12.63 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/11.55, allocations: 2.195 MB / 3.217 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/11.55, allocations: 106.6 kB / 3.217 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/11.55, allocations: 44.84 kB / 3.217 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/11.55, allocations: 493.3 kB / 3.217 GB, free: 9.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/11.55, allocations: 34.56 kB / 3.218 GB, free: 9.477 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 2.815e-06/11.55, allocations: 0 / 3.218 GB, free: 9.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=12): time 0.001125/11.55, allocations: 221.3 kB / 3.218 GB, free: 9.254 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.363e-05/11.55, allocations: 110.8 kB / 3.218 GB, free: 9.121 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/11.55, allocations: 231.4 kB / 3.218 GB, free: 8.891 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/11.55, allocations: 25.7 kB / 3.218 GB, free: 8.859 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/11.55, allocations: 199.4 kB / 3.218 GB, free: 8.66 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/11.55, allocations: 39.39 kB / 3.218 GB, free: 8.621 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/11.55, allocations: 0 / 3.218 GB, free: 8.621 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/11.55, allocations: 338.8 kB / 3.219 GB, free: 8.281 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/11.55, allocations: 40 kB / 3.219 GB, free: 8.242 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/11.55, allocations: 187.4 kB / 3.219 GB, free: 7.992 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/11.55, allocations: 105 kB / 3.219 GB, free: 7.891 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/11.55, allocations: 0 / 3.219 GB, free: 7.891 MB / 474.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001207/11.55, allocations: 321.1 kB / 3.219 GB, free: 7.57 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/11.55, allocations: 9.812 kB / 3.219 GB, free: 7.562 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/11.55, allocations: 7.906 kB / 3.219 GB, free: 7.555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/11.55, allocations: 8 kB / 3.219 GB, free: 7.547 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/11.55, allocations: 76.34 kB / 3.219 GB, free: 7.473 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/11.55, allocations: 11.92 kB / 3.219 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/11.55, allocations: 39.73 kB / 3.219 GB, free: 7.422 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/11.55, allocations: 16 kB / 3.219 GB, free: 7.406 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.000102/11.55, allocations: 116.9 kB / 3.22 GB, free: 7.285 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004899/11.55, allocations: 103.5 kB / 3.22 GB, free: 7.184 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/11.56, allocations: 0.6393 MB / 3.22 GB, free: 6.535 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/11.56, allocations: 3.984 kB / 3.22 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/11.56, allocations: 0 / 3.22 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/11.56, allocations: 3.938 kB / 3.22 GB, free: 6.527 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/11.56, allocations: 395.4 kB / 3.221 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/11.56, allocations: 0 / 3.221 GB, free: 6.109 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003526/11.56, allocations: 43.97 kB / 3.221 GB, free: 6.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/11.56, allocations: 3.906 kB / 3.221 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/11.56, allocations: 4 kB / 3.221 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/11.56, allocations: 0 / 3.221 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/11.56, allocations: 0 / 3.221 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001361/11.56, allocations: 0.6105 MB / 3.221 GB, free: 5.43 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002263/11.56, allocations: 1.044 MB / 3.222 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/11.56, allocations: 104.7 kB / 3.222 GB, free: 4.242 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/11.56, allocations: 3.906 kB / 3.222 GB, free: 4.238 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/11.56, allocations: 23.98 kB / 3.222 GB, free: 4.215 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/11.56, allocations: 19.97 kB / 3.222 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/11.56, allocations: 7.984 kB / 3.222 GB, free: 4.188 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0003557/11.56, allocations: 175.1 kB / 3.223 GB, free: 4.02 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007984/11.57, allocations: 0.9444 MB / 3.224 GB, free: 3.074 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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.01117/11.58, allocations: 1.424 MB / 3.225 GB, free: 1.746 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007236/11.58, allocations: 311.7 kB / 3.225 GB, free: 1.441 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/11.58, allocations: 4 kB / 3.225 GB, free: 1.438 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004006/11.58, allocations: 259.9 kB / 3.225 GB, free: 1.184 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/11.58, allocations: 118.2 kB / 3.226 GB, free: 1.07 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/11.58, allocations: 0.5219 MB / 3.226 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2089/11.79, allocations: 0.8463 MB / 3.227 GB, free: 93.36 MB / 474.7 MB Notification: Performance of SimCode: time 1.803e-06/11.79, allocations: 2.625 kB / 3.227 GB, free: 93.36 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat