Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",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.457/2.457, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1704/2.628, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/2.937, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/3.97, allocations: 332.6 MB / 0.6706 GB, free: 109.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000381/3.97, allocations: 94.94 kB / 0.6707 GB, free: 109.3 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 2.34/6.31, allocations: 449.1 MB / 1.109 GB, free: 27.62 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/6.31, allocations: 12 kB / 1.109 GB, free: 27.61 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002395/6.312, allocations: 229.8 kB / 1.109 GB, free: 27.39 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004767/6.317, allocations: 1.187 MB / 1.111 GB, free: 26.18 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/6.317, allocations: 44 kB / 1.111 GB, free: 26.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/6.318, allocations: 76 kB / 1.111 GB, free: 26.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004095/6.322, allocations: 1.372 MB / 1.112 GB, free: 24.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004658/6.326, allocations: 1.603 MB / 1.114 GB, free: 22.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.292e-05/6.327, allocations: 7.938 kB / 1.114 GB, free: 22.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003238/6.327, allocations: 11.47 kB / 1.114 GB, free: 22.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.471e-05/6.327, allocations: 36 kB / 1.114 GB, free: 22.84 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01756/6.345, allocations: 10.9 MB / 1.124 GB, free: 10.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/6.346, allocations: 0.4911 MB / 1.125 GB, free: 10.49 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007693/6.347, allocations: 291.1 kB / 1.125 GB, free: 10.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008011/6.355, allocations: 4.298 MB / 1.129 GB, free: 5.301 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/6.355, allocations: 38.56 kB / 1.129 GB, free: 5.254 MB / 474.7 MB Notification: Performance of pre-optimization done (n=41): time 4.298e-06/6.355, allocations: 0 / 1.129 GB, free: 5.254 MB / 474.7 MB Notification: Performance of matching and sorting (n=41): time 0.008796/6.364, allocations: 0.9908 MB / 1.13 GB, free: 4.254 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/6.364, allocations: 363.8 kB / 1.131 GB, free: 3.812 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002425/6.366, allocations: 1.02 MB / 1.132 GB, free: 2.785 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002083/6.367, allocations: 29.64 kB / 1.132 GB, free: 2.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007215/6.367, allocations: 0.8288 MB / 1.132 GB, free: 1.906 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000314/6.368, allocations: 165.9 kB / 1.133 GB, free: 1.742 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/6.368, allocations: 0 / 1.133 GB, free: 1.742 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/6.368, allocations: 369.9 kB / 1.133 GB, free: 1.375 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007809/6.369, allocations: 239.9 kB / 1.133 GB, free: 1.141 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/6.371, allocations: 1.295 MB / 1.134 GB, free: 15.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008115/6.379, allocations: 1.02 MB / 1.135 GB, free: 14.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.89e-05/6.379, allocations: 12 kB / 1.135 GB, free: 14.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.01202/6.391, allocations: 1.855 MB / 1.137 GB, free: 12.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/6.391, allocations: 4 kB / 1.137 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/6.391, allocations: 39.94 kB / 1.137 GB, free: 12.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/6.391, allocations: 56.66 kB / 1.137 GB, free: 12.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/6.402, allocations: 0.7105 MB / 1.138 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/6.405, allocations: 1.957 MB / 1.14 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004273/6.41, allocations: 234 kB / 1.14 GB, free: 9.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007161/6.41, allocations: 112 kB / 1.14 GB, free: 9.234 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000717/6.411, allocations: 196 kB / 1.141 GB, free: 9.031 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008561/6.412, allocations: 142.3 kB / 1.141 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0158/6.428, allocations: 1.801 MB / 1.142 GB, free: 7.082 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.475e-05/6.428, allocations: 4 kB / 1.142 GB, free: 7.078 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-05/6.428, allocations: 4 kB / 1.142 GB, free: 7.074 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/6.428, allocations: 3.984 kB / 1.142 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/6.432, allocations: 0.8255 MB / 1.143 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.417e-05/6.432, allocations: 0 / 1.143 GB, free: 6.223 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002326/6.434, allocations: 207.7 kB / 1.143 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005077/6.435, allocations: 40.83 kB / 1.143 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/6.435, allocations: 15.92 kB / 1.143 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/6.437, allocations: 1.802 MB / 1.145 GB, free: 4.086 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.27e-05/6.437, allocations: 3.938 kB / 1.145 GB, free: 4.082 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006385/6.444, allocations: 1.023 MB / 1.146 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00575/6.449, allocations: 1.501 MB / 1.148 GB, free: 1.512 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007939/6.45, allocations: 262.2 kB / 1.148 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004357/6.451, allocations: 0 / 1.148 GB, free: 1.238 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/6.452, allocations: 47.89 kB / 1.148 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/6.452, allocations: 48.5 kB / 1.148 GB, free: 1.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001489/6.452, allocations: 31.97 kB / 1.148 GB, free: 1.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.002153/6.455, allocations: 0.7576 MB / 1.149 GB, free: 368 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.2484/6.703, allocations: 0.8886 MB / 1.15 GB, free: 89.39 MB / 490.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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.004141/6.707, allocations: 1.106 MB / 1.151 GB, free: 89.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01251/6.72, allocations: 1.191 MB / 1.152 GB, free: 89.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/6.72, allocations: 0 / 1.152 GB, free: 89.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002075/6.722, allocations: 385.5 kB / 1.152 GB, free: 89.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006065/6.728, allocations: 0.5112 MB / 1.153 GB, free: 89.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/6.736, allocations: 1.992 MB / 1.155 GB, free: 88.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001781/6.738, allocations: 1.442 MB / 1.156 GB, free: 88.02 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/6.738, allocations: 0 / 1.156 GB, free: 88.02 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases_res.mat does not exist to compare? outputFormat=mat