Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",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.558/2.558, allocations: 235.1 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1835/2.741, allocations: 57.19 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/3.041, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.035/11.08, allocations: 2.908 GB / 3.254 GB, free: 104.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/11.08, allocations: 72.58 kB / 3.254 GB, free: 104.5 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 1.159/12.24, allocations: 208.9 MB / 3.458 GB, free: 89.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/12.24, allocations: 11.25 kB / 3.458 GB, free: 89.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000257/12.24, allocations: 29.17 kB / 3.458 GB, free: 89.24 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/12.24, allocations: 223.9 kB / 3.458 GB, free: 89.04 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/12.24, allocations: 119 kB / 3.458 GB, free: 88.91 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/12.24, allocations: 14.47 kB / 3.458 GB, free: 88.91 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001241/12.24, allocations: 0.7199 MB / 3.459 GB, free: 88.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/12.24, allocations: 280.7 kB / 3.459 GB, free: 88.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/12.24, allocations: 0 / 3.459 GB, free: 88.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/12.24, allocations: 0 / 3.459 GB, free: 88.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.488e-05/12.24, allocations: 13.83 kB / 3.459 GB, free: 88.71 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/12.24, allocations: 3.508 MB / 3.462 GB, free: 85.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/12.24, allocations: 51.91 kB / 3.463 GB, free: 85.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/12.24, allocations: 12.77 kB / 3.463 GB, free: 85.06 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000824/12.24, allocations: 451.2 kB / 3.463 GB, free: 84.66 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/12.24, allocations: 34.41 kB / 3.463 GB, free: 84.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.766e-06/12.24, allocations: 0 / 3.463 GB, free: 84.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002771/12.24, allocations: 62.83 kB / 3.463 GB, free: 84.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/12.24, allocations: 51.41 kB / 3.463 GB, free: 84.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/12.24, allocations: 215.2 kB / 3.463 GB, free: 84.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/12.24, allocations: 25.7 kB / 3.463 GB, free: 84.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/12.24, allocations: 254.8 kB / 3.464 GB, free: 84.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.191e-05/12.24, allocations: 11.69 kB / 3.464 GB, free: 84.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/12.24, allocations: 0 / 3.464 GB, free: 84.1 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/12.24, allocations: 325.8 kB / 3.464 GB, free: 83.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/12.24, allocations: 31.59 kB / 3.464 GB, free: 83.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/12.24, allocations: 347.2 kB / 3.464 GB, free: 83.35 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/12.25, allocations: 116.1 kB / 3.464 GB, free: 83.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/12.25, allocations: 3.938 kB / 3.464 GB, free: 83.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001143/12.25, allocations: 344.6 kB / 3.465 GB, free: 83.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/12.25, allocations: 7.75 kB / 3.465 GB, free: 83.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/12.25, allocations: 18.89 kB / 3.465 GB, free: 83.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/12.25, allocations: 19.44 kB / 3.465 GB, free: 83.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/12.25, allocations: 94.27 kB / 3.465 GB, free: 83.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/12.25, allocations: 22.64 kB / 3.465 GB, free: 83.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/12.25, allocations: 49.38 kB / 3.465 GB, free: 83.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/12.25, allocations: 29.78 kB / 3.465 GB, free: 83.15 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0001109/12.25, allocations: 128.6 kB / 3.465 GB, free: 83.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.859e-05/12.25, allocations: 22.38 kB / 3.465 GB, free: 83.01 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/12.25, allocations: 16.42 kB / 3.465 GB, free: 83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/12.25, allocations: 3.812 kB / 3.465 GB, free: 83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/12.25, allocations: 3.656 kB / 3.465 GB, free: 83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/12.25, allocations: 0 / 3.465 GB, free: 83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/12.25, allocations: 171.2 kB / 3.465 GB, free: 82.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/12.25, allocations: 3.172 kB / 3.465 GB, free: 82.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/12.25, allocations: 0 / 3.465 GB, free: 82.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.892e-06/12.25, allocations: 6.219 kB / 3.465 GB, free: 82.83 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/12.25, allocations: 0 / 3.465 GB, free: 82.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/12.25, allocations: 0 / 3.465 GB, free: 82.83 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/12.25, allocations: 0 / 3.465 GB, free: 82.83 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001961/12.25, allocations: 155.8 kB / 3.465 GB, free: 82.68 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004843/12.25, allocations: 0.5747 MB / 3.466 GB, free: 82.11 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/12.25, allocations: 106.9 kB / 3.466 GB, free: 82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/12.25, allocations: 7.75 kB / 3.466 GB, free: 82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/12.25, allocations: 3.609 kB / 3.466 GB, free: 82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/12.25, allocations: 0 / 3.466 GB, free: 82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/12.25, allocations: 7.25 kB / 3.466 GB, free: 82 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001704/12.25, allocations: 144.9 kB / 3.466 GB, free: 81.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002003/12.25, allocations: 116.3 kB / 3.466 GB, free: 81.87 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0005698/12.25, allocations: 310 kB / 3.467 GB, free: 81.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004437/12.25, allocations: 139.5 kB / 3.467 GB, free: 81.72 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/12.25, allocations: 0 / 3.467 GB, free: 81.72 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.399e-05/12.25, allocations: 7.297 kB / 3.467 GB, free: 81.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/12.25, allocations: 18.75 kB / 3.467 GB, free: 81.71 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4638/12.72, allocations: 96.15 MB / 3.561 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/12.72, allocations: 0.7475 MB / 3.561 GB, free: 11.65 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/12.72, allocations: 0 / 3.561 GB, free: 11.65 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat