Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",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.619/2.619, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2502/2.869, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/3.174, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.038/10.21, allocations: 2.587 GB / 2.933 GB, free: 106.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/10.21, allocations: 86.02 kB / 2.933 GB, free: 106.2 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 1.83/12.04, allocations: 309.7 MB / 3.235 GB, free: 56.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/12.04, allocations: 11.22 kB / 3.235 GB, free: 56.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00317/12.05, allocations: 223.5 kB / 3.236 GB, free: 56.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/12.05, allocations: 354 kB / 3.236 GB, free: 55.81 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/12.05, allocations: 17.56 kB / 3.236 GB, free: 55.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.986e-05/12.05, allocations: 15.12 kB / 3.236 GB, free: 55.81 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008144/12.05, allocations: 226.3 kB / 3.236 GB, free: 55.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007949/12.05, allocations: 322.5 kB / 3.236 GB, free: 55.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/12.05, allocations: 2.594 kB / 3.236 GB, free: 55.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/12.05, allocations: 0 / 3.236 GB, free: 55.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/12.05, allocations: 10.83 kB / 3.236 GB, free: 55.68 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/12.05, allocations: 2.24 MB / 3.239 GB, free: 53.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/12.05, allocations: 126.7 kB / 3.239 GB, free: 53.93 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/12.05, allocations: 53.92 kB / 3.239 GB, free: 53.93 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08044/12.13, allocations: 15.82 MB / 3.254 GB, free: 46.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.263e-05/12.13, allocations: 39.33 kB / 3.254 GB, free: 46.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 3.657e-06/12.13, allocations: 0 / 3.254 GB, free: 46.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.001551/12.14, allocations: 265.6 kB / 3.255 GB, free: 46.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/12.14, allocations: 109 kB / 3.255 GB, free: 45.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004743/12.14, allocations: 229.8 kB / 3.255 GB, free: 45.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/12.14, allocations: 25.7 kB / 3.255 GB, free: 45.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/12.14, allocations: 197.3 kB / 3.255 GB, free: 45.71 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/12.14, allocations: 50.34 kB / 3.255 GB, free: 45.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/12.14, allocations: 0 / 3.255 GB, free: 45.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/12.14, allocations: 340.5 kB / 3.255 GB, free: 45.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/12.14, allocations: 56.45 kB / 3.256 GB, free: 45.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/12.14, allocations: 194 kB / 3.256 GB, free: 45.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005097/12.14, allocations: 97.75 kB / 3.256 GB, free: 45.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/12.14, allocations: 3.625 kB / 3.256 GB, free: 45.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00161/12.14, allocations: 373 kB / 3.256 GB, free: 45.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/12.14, allocations: 9.562 kB / 3.256 GB, free: 45.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/12.14, allocations: 3.938 kB / 3.256 GB, free: 45.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.068e-05/12.14, allocations: 7.031 kB / 3.256 GB, free: 45.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/12.14, allocations: 81.27 kB / 3.256 GB, free: 45.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/12.14, allocations: 12.45 kB / 3.256 GB, free: 45.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/12.14, allocations: 48.44 kB / 3.256 GB, free: 45.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/12.14, allocations: 14.44 kB / 3.256 GB, free: 45.14 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 (34): * Single equations (assignments): 34 * 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.0001394/12.14, allocations: 120.2 kB / 3.256 GB, free: 45.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/12.14, allocations: 129.1 kB / 3.257 GB, free: 45.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/12.14, allocations: 0.8361 MB / 3.257 GB, free: 44.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.249e-05/12.14, allocations: 10.64 kB / 3.257 GB, free: 44.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/12.14, allocations: 0 / 3.257 GB, free: 44.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/12.14, allocations: 0 / 3.257 GB, free: 44.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002265/12.15, allocations: 1.221 MB / 3.259 GB, free: 44.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/12.15, allocations: 3.719 kB / 3.259 GB, free: 44.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/12.15, allocations: 49.69 kB / 3.259 GB, free: 44.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/12.15, allocations: 3.438 kB / 3.259 GB, free: 44.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/12.15, allocations: 0 / 3.259 GB, free: 44.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/12.15, allocations: 4.188 kB / 3.259 GB, free: 44.64 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/12.15, allocations: 3.609 kB / 3.259 GB, free: 44.64 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001692/12.15, allocations: 0.749 MB / 3.259 GB, free: 44.47 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001956/12.15, allocations: 1.184 MB / 3.261 GB, free: 43.93 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/12.15, allocations: 113.5 kB / 3.261 GB, free: 43.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/12.15, allocations: 0 / 3.261 GB, free: 43.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/12.15, allocations: 28.11 kB / 3.261 GB, free: 43.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/12.15, allocations: 20.06 kB / 3.261 GB, free: 43.81 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/12.15, allocations: 9.031 kB / 3.261 GB, free: 43.81 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002687/12.15, allocations: 176.8 kB / 3.261 GB, free: 43.73 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006433/12.16, allocations: 0.9557 MB / 3.262 GB, free: 43.62 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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01087/12.17, allocations: 1.438 MB / 3.263 GB, free: 43.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008902/12.17, allocations: 386.4 kB / 3.264 GB, free: 43.38 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/12.17, allocations: 0 / 3.264 GB, free: 43.38 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004902/12.17, allocations: 341.7 kB / 3.264 GB, free: 43.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/12.17, allocations: 129.8 kB / 3.264 GB, free: 43.37 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/12.17, allocations: 0.6238 MB / 3.265 GB, free: 43.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005435/12.17, allocations: 0.877 MB / 3.265 GB, free: 42.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.433e-06/12.17, allocations: 0.8438 kB / 3.265 GB, free: 42.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat