Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.432/2.432, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2199/2.652, allocations: 57.2 MB / 299.2 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/2.957, allocations: 54.86 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.16/21.11, allocations: 6.536 GB / 6.882 GB, free: 40.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/21.11, allocations: 82.27 kB / 6.882 GB, free: 40.76 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 1.907/23.02, allocations: 246.5 MB / 7.123 GB, free: 60.64 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/23.02, allocations: 7.812 kB / 7.123 GB, free: 60.64 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003478/23.02, allocations: 32.95 kB / 7.123 GB, free: 60.62 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004811/23.02, allocations: 256.9 kB / 7.123 GB, free: 60.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/23.02, allocations: 10.28 kB / 7.123 GB, free: 60.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/23.02, allocations: 19.38 kB / 7.123 GB, free: 60.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001643/23.02, allocations: 0.827 MB / 7.124 GB, free: 60.43 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009991/23.03, allocations: 453 kB / 7.124 GB, free: 60.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/23.03, allocations: 0 / 7.124 GB, free: 60.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.488e-05/23.03, allocations: 6.312 kB / 7.124 GB, free: 60.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.399e-05/23.03, allocations: 26.41 kB / 7.124 GB, free: 60.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008818/23.03, allocations: 3.884 MB / 7.128 GB, free: 56.97 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/23.03, allocations: 107.1 kB / 7.128 GB, free: 56.95 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/23.04, allocations: 52.8 kB / 7.128 GB, free: 56.94 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02399/23.06, allocations: 11.71 MB / 7.14 GB, free: 45.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003316/23.06, allocations: 109.1 kB / 7.14 GB, free: 45.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 3.507e-06/23.06, allocations: 3.75 kB / 7.14 GB, free: 45.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.002179/23.06, allocations: 301.3 kB / 7.14 GB, free: 45.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/23.06, allocations: 57.53 kB / 7.14 GB, free: 45.02 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/23.06, allocations: 225.9 kB / 7.14 GB, free: 44.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/23.06, allocations: 28.89 kB / 7.14 GB, free: 44.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/23.06, allocations: 247.6 kB / 7.14 GB, free: 44.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/23.06, allocations: 67.11 kB / 7.141 GB, free: 44.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/23.06, allocations: 3.344 kB / 7.141 GB, free: 44.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/23.06, allocations: 332.7 kB / 7.141 GB, free: 44.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/23.06, allocations: 74.47 kB / 7.141 GB, free: 44.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/23.06, allocations: 349.5 kB / 7.141 GB, free: 44.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/23.07, allocations: 241.5 kB / 7.141 GB, free: 44.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/23.07, allocations: 3.844 kB / 7.141 GB, free: 44.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003068/23.07, allocations: 0.5148 MB / 7.142 GB, free: 43.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/23.07, allocations: 7.812 kB / 7.142 GB, free: 43.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/23.07, allocations: 11.53 kB / 7.142 GB, free: 43.99 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.781e-05/23.07, allocations: 15.88 kB / 7.142 GB, free: 43.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/23.07, allocations: 179.8 kB / 7.142 GB, free: 43.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008043/23.07, allocations: 1.215 MB / 7.143 GB, free: 42.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/23.07, allocations: 11.44 kB / 7.143 GB, free: 42.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/23.07, allocations: 42.22 kB / 7.143 GB, free: 42.82 MB / 474.7 MB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002346/23.07, allocations: 131 kB / 7.144 GB, free: 42.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003207/23.07, allocations: 30.34 kB / 7.144 GB, free: 42.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/23.07, allocations: 238.8 kB / 7.144 GB, free: 42.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/23.07, allocations: 3.656 kB / 7.144 GB, free: 42.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/23.07, allocations: 0 / 7.144 GB, free: 42.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/23.07, allocations: 3.047 kB / 7.144 GB, free: 42.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/23.07, allocations: 0.4985 MB / 7.144 GB, free: 42.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/23.07, allocations: 0 / 7.144 GB, free: 42.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008099/23.08, allocations: 74.95 kB / 7.144 GB, free: 42.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/23.08, allocations: 0 / 7.144 GB, free: 42.36 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/23.08, allocations: 3.969 kB / 7.144 GB, free: 42.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007328/23.08, allocations: 1.197 MB / 7.146 GB, free: 41.19 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/23.08, allocations: 2.75 kB / 7.146 GB, free: 41.19 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009325/23.08, allocations: 295 kB / 7.146 GB, free: 41.02 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001485/23.08, allocations: 0.7673 MB / 7.147 GB, free: 40.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/23.08, allocations: 136.8 kB / 7.147 GB, free: 40.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/23.08, allocations: 3.094 kB / 7.147 GB, free: 40.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/23.08, allocations: 10.73 kB / 7.147 GB, free: 40.37 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/23.08, allocations: 12.78 kB / 7.147 GB, free: 40.37 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/23.08, allocations: 7.688 kB / 7.147 GB, free: 40.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0002467/23.08, allocations: 166 kB / 7.147 GB, free: 40.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01618/23.1, allocations: 2.22 MB / 7.149 GB, free: 40.01 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02428/23.12, allocations: 2.879 MB / 7.152 GB, free: 39.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00149/23.12, allocations: 282 kB / 7.152 GB, free: 39.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/23.12, allocations: 0 / 7.152 GB, free: 39.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007091/23.12, allocations: 104.5 kB / 7.152 GB, free: 39.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/23.12, allocations: 45.5 kB / 7.152 GB, free: 39.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.266/24.39, allocations: 228.5 MB / 7.375 GB, free: 99.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/24.39, allocations: 0.8345 MB / 7.376 GB, free: 98.37 MB / 490.7 MB Notification: Performance of SimCode: time 1.744e-06/24.39, allocations: 3.469 kB / 7.376 GB, free: 98.37 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat