Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",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.65/2.65, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1831/2.833, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/3.133, allocations: 54.84 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.551/5.684, allocations: 0.7863 GB / 1.132 GB, free: 116.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/5.685, allocations: 88.17 kB / 1.132 GB, free: 116.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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 6.403/12.09, allocations: 1.143 GB / 2.275 GB, free: 50.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/12.09, allocations: 10.16 kB / 2.275 GB, free: 50.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009669/12.1, allocations: 469.5 kB / 2.275 GB, free: 50.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/12.1, allocations: 1.25 MB / 2.276 GB, free: 50.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.323e-05/12.1, allocations: 37.94 kB / 2.276 GB, free: 50.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006233/12.1, allocations: 64.28 kB / 2.277 GB, free: 50.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01145/12.12, allocations: 3.544 MB / 2.28 GB, free: 50.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007896/12.12, allocations: 2.44 MB / 2.282 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/12.12, allocations: 2.438 kB / 2.282 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004656/12.12, allocations: 3.344 kB / 2.282 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002322/12.12, allocations: 156.4 kB / 2.283 GB, free: 50.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02659/12.15, allocations: 8.122 MB / 2.29 GB, free: 47.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/12.15, allocations: 0.6355 MB / 2.291 GB, free: 47.08 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009986/12.15, allocations: 362.2 kB / 2.291 GB, free: 47.07 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002549/12.16, allocations: 1.115 MB / 2.293 GB, free: 46.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/12.16, allocations: 44.69 kB / 2.293 GB, free: 46.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 3.787e-06/12.16, allocations: 0 / 2.293 GB, free: 46.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=56): time 0.004743/12.16, allocations: 1.037 MB / 2.294 GB, free: 45.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/12.16, allocations: 136.2 kB / 2.294 GB, free: 45.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/12.16, allocations: 0.8097 MB / 2.295 GB, free: 45.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001808/12.16, allocations: 27.52 kB / 2.295 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/12.16, allocations: 0.6452 MB / 2.295 GB, free: 45.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002993/12.16, allocations: 197.4 kB / 2.295 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/12.16, allocations: 0 / 2.295 GB, free: 45.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001231/12.16, allocations: 356.6 kB / 2.296 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/12.17, allocations: 468.3 kB / 2.296 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/12.17, allocations: 0.8775 MB / 2.297 GB, free: 44.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02016/12.19, allocations: 2.101 MB / 2.299 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-05/12.19, allocations: 3.969 kB / 2.299 GB, free: 44.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.02446/12.21, allocations: 3.045 MB / 2.302 GB, free: 44.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001247/12.21, allocations: 5.302 MB / 2.307 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.37e-05/12.21, allocations: 11 kB / 2.307 GB, free: 38.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002993/12.22, allocations: 376.1 kB / 2.308 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/12.22, allocations: 251.1 kB / 2.308 GB, free: 38.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/12.22, allocations: 1.347 MB / 2.309 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002952/12.23, allocations: 143.9 kB / 2.309 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004123/12.23, allocations: 89.8 kB / 2.309 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/12.23, allocations: 3.438 kB / 2.309 GB, free: 38.09 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02333/12.25, allocations: 2.737 MB / 2.312 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.716e-05/12.25, allocations: 13.91 kB / 2.312 GB, free: 38.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00155/12.25, allocations: 167.7 kB / 2.312 GB, free: 38.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002696/12.26, allocations: 279.5 kB / 2.312 GB, free: 38.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005352/12.26, allocations: 2.053 MB / 2.314 GB, free: 36.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/12.26, allocations: 110 kB / 2.315 GB, free: 36.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004426/12.26, allocations: 92.38 kB / 2.315 GB, free: 36.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.0005799/12.27, allocations: 144.1 kB / 2.315 GB, free: 36.67 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/12.27, allocations: 104.2 kB / 2.315 GB, free: 36.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006544/12.27, allocations: 1.299 MB / 2.316 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/12.27, allocations: 6.75 kB / 2.316 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/12.27, allocations: 0 / 2.316 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/12.27, allocations: 8.672 kB / 2.316 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007164/12.28, allocations: 1.99 MB / 2.318 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/12.28, allocations: 0 / 2.318 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009701/12.28, allocations: 76.06 kB / 2.318 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003067/12.28, allocations: 361.9 kB / 2.319 GB, free: 36.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001889/12.28, allocations: 12.34 kB / 2.319 GB, free: 36.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003957/12.29, allocations: 1.243 MB / 2.32 GB, free: 35.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/12.29, allocations: 0 / 2.32 GB, free: 35.67 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004264/12.29, allocations: 1.083 MB / 2.321 GB, free: 35.44 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004813/12.3, allocations: 1.563 MB / 2.322 GB, free: 34.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006523/12.3, allocations: 190.4 kB / 2.323 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/12.3, allocations: 3.438 kB / 2.323 GB, free: 34.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/12.3, allocations: 45.75 kB / 2.323 GB, free: 34.68 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/12.3, allocations: 39.62 kB / 2.323 GB, free: 34.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/12.3, allocations: 35.81 kB / 2.323 GB, free: 34.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.00145/12.3, allocations: 0.6039 MB / 2.323 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01181/12.31, allocations: 2.172 MB / 2.325 GB, free: 34.14 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01125/12.32, allocations: 2.768 MB / 2.328 GB, free: 33.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007402/12.33, allocations: 1.885 MB / 2.33 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/12.33, allocations: 2.969 kB / 2.33 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001862/12.33, allocations: 399.2 kB / 2.33 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/12.34, allocations: 388.6 kB / 2.331 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/12.34, allocations: 1.796 MB / 2.332 GB, free: 32.99 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002551/12.35, allocations: 1.47 MB / 2.334 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of SimCode: time 2.715e-06/12.35, allocations: 0 / 2.334 GB, free: 32.26 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat