Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefault",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.593/2.593, allocations: 235 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1831/2.776, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/3.079, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.1/10.18, allocations: 2.612 GB / 2.958 GB, free: 79.88 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003487/10.18, allocations: 91.44 kB / 2.958 GB, free: 79.83 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 2.299/12.48, allocations: 434.7 MB / 3.382 GB, free: 6.305 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/12.48, allocations: 12 kB / 3.382 GB, free: 6.293 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/12.48, allocations: 342.7 kB / 3.383 GB, free: 5.957 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/12.49, allocations: 0.5872 MB / 3.383 GB, free: 5.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/12.49, allocations: 24 kB / 3.383 GB, free: 5.316 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/12.49, allocations: 32 kB / 3.383 GB, free: 5.285 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001846/12.49, allocations: 0.5414 MB / 3.384 GB, free: 4.742 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/12.49, allocations: 0.6517 MB / 3.384 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/12.49, allocations: 0 / 3.384 GB, free: 4.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/12.49, allocations: 8 kB / 3.384 GB, free: 4.02 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.164e-05/12.49, allocations: 21 kB / 3.384 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3894/12.88, allocations: 36.94 MB / 3.42 GB, free: 80.48 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008016/12.88, allocations: 295.3 kB / 3.421 GB, free: 80.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/12.88, allocations: 195.6 kB / 3.421 GB, free: 80.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0753/12.96, allocations: 20.09 MB / 3.44 GB, free: 67.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.022e-05/12.96, allocations: 38.86 kB / 3.441 GB, free: 67.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=39): time 4.448e-06/12.96, allocations: 0 / 3.441 GB, free: 67.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.05002/13.01, allocations: 3.323 MB / 3.444 GB, free: 67.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/13.01, allocations: 112.9 kB / 3.444 GB, free: 66.99 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/13.01, allocations: 407.8 kB / 3.444 GB, free: 66.87 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/13.01, allocations: 29.27 kB / 3.444 GB, free: 66.84 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000215/13.01, allocations: 303 kB / 3.445 GB, free: 66.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/13.01, allocations: 187.4 kB / 3.445 GB, free: 66.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/13.01, allocations: 0 / 3.445 GB, free: 66.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/13.01, allocations: 364.8 kB / 3.445 GB, free: 66.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009086/13.01, allocations: 295.7 kB / 3.445 GB, free: 66.26 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/13.01, allocations: 497.5 kB / 3.446 GB, free: 66.02 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004047/13.01, allocations: 446.8 kB / 3.446 GB, free: 66.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/13.01, allocations: 2.906 kB / 3.446 GB, free: 66.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.01021/13.02, allocations: 1.383 MB / 3.448 GB, free: 65.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007207/13.02, allocations: 2.43 MB / 3.45 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/13.02, allocations: 3.656 kB / 3.45 GB, free: 63.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00683/13.03, allocations: 0.5775 MB / 3.451 GB, free: 63.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/13.03, allocations: 167.5 kB / 3.451 GB, free: 63.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/13.04, allocations: 1.838 MB / 3.453 GB, free: 62.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/13.04, allocations: 109.2 kB / 3.453 GB, free: 62.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/13.04, allocations: 53.95 kB / 3.453 GB, free: 62.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/13.04, allocations: 3.906 kB / 3.453 GB, free: 62.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01017/13.05, allocations: 1.006 MB / 3.454 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.372e-05/13.06, allocations: 6.844 kB / 3.454 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/13.06, allocations: 371.5 kB / 3.454 GB, free: 62.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001936/13.06, allocations: 167.5 kB / 3.454 GB, free: 62.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005095/13.07, allocations: 1.57 MB / 3.456 GB, free: 61.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002411/13.07, allocations: 94.25 kB / 3.456 GB, free: 61.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/13.07, allocations: 38.81 kB / 3.456 GB, free: 61.22 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005771/13.07, allocations: 131.3 kB / 3.456 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002452/13.07, allocations: 271.9 kB / 3.456 GB, free: 61.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/13.08, allocations: 3.034 MB / 3.459 GB, free: 60.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/13.08, allocations: 27.69 kB / 3.459 GB, free: 60.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/13.08, allocations: 0 / 3.459 GB, free: 60.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/13.08, allocations: 3.141 kB / 3.459 GB, free: 60.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/13.1, allocations: 4.083 MB / 3.463 GB, free: 60.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/13.1, allocations: 3.938 kB / 3.463 GB, free: 60.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/13.1, allocations: 88.55 kB / 3.463 GB, free: 60.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005821/13.1, allocations: 1.038 MB / 3.464 GB, free: 60.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/13.1, allocations: 22.39 kB / 3.464 GB, free: 60.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005025/13.11, allocations: 2.258 MB / 3.467 GB, free: 59.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.403e-06/13.11, allocations: 1.875 kB / 3.467 GB, free: 59.36 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00718/13.12, allocations: 2.49 MB / 3.469 GB, free: 59 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007697/13.12, allocations: 2.962 MB / 3.472 GB, free: 58.28 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/13.12, allocations: 280.1 kB / 3.472 GB, free: 58.14 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002672/13.13, allocations: 7.344 kB / 3.472 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/13.13, allocations: 85.91 kB / 3.472 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002062/13.13, allocations: 57.81 kB / 3.472 GB, free: 58.13 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/13.13, allocations: 28.19 kB / 3.472 GB, free: 58.13 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007987/13.13, allocations: 358.3 kB / 3.473 GB, free: 58.05 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01248/13.14, allocations: 1.804 MB / 3.474 GB, free: 58.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01524/13.16, allocations: 1.995 MB / 3.476 GB, free: 57.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007015/13.16, allocations: 1.839 MB / 3.478 GB, free: 57.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/13.16, allocations: 0 / 3.478 GB, free: 57.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002719/13.17, allocations: 1.175 MB / 3.479 GB, free: 57.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/13.17, allocations: 249 kB / 3.48 GB, free: 57.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07657/13.25, allocations: 15.15 MB / 3.494 GB, free: 57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/13.25, allocations: 1.145 MB / 3.495 GB, free: 56.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.343e-06/13.25, allocations: 4 kB / 3.495 GB, free: 56.27 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefault_res.mat does not exist to compare? outputFormat=mat