Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",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.632/2.632, allocations: 235 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1917/2.823, allocations: 57.21 MB / 299.2 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/3.108, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/4.109, allocations: 315.1 MB / 0.6535 GB, free: 112.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003334/4.11, allocations: 86.2 kB / 0.6536 GB, free: 112.6 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.9072/5.017, allocations: 164 MB / 0.8138 GB, free: 107.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/5.017, allocations: 11 kB / 0.8138 GB, free: 107.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007322/5.018, allocations: 105.8 kB / 0.8139 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/5.02, allocations: 0.6248 MB / 0.8145 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/5.02, allocations: 21.12 kB / 0.8145 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/5.02, allocations: 32.22 kB / 0.8145 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002032/5.022, allocations: 0.6107 MB / 0.8151 GB, free: 106.9 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/5.024, allocations: 0.6548 MB / 0.8158 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.096e-05/5.024, allocations: 0 / 0.8158 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/5.024, allocations: 3.531 kB / 0.8158 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/5.024, allocations: 17.66 kB / 0.8158 GB, free: 106.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007818/5.032, allocations: 3.209 MB / 0.8189 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/5.033, allocations: 364.5 kB / 0.8193 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007546/5.034, allocations: 233.3 kB / 0.8195 GB, free: 105 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004775/5.034, allocations: 0.5782 MB / 0.8201 GB, free: 104.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/5.034, allocations: 37.91 kB / 0.8201 GB, free: 104.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=45): time 2.565e-06/5.035, allocations: 0 / 0.8201 GB, free: 104.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=63): time 0.1039/5.138, allocations: 5.035 MB / 0.825 GB, free: 103.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/5.139, allocations: 107.4 kB / 0.8251 GB, free: 103.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/5.14, allocations: 456.1 kB / 0.8255 GB, free: 103 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/5.14, allocations: 25.7 kB / 0.8256 GB, free: 103 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/5.14, allocations: 300.6 kB / 0.8259 GB, free: 102.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/5.14, allocations: 214.6 kB / 0.8261 GB, free: 102.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/5.14, allocations: 0 / 0.8261 GB, free: 102.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/5.141, allocations: 371.7 kB / 0.8264 GB, free: 102.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009145/5.142, allocations: 262.7 kB / 0.8267 GB, free: 102.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/5.143, allocations: 0.5058 MB / 0.8272 GB, free: 102.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006614/5.15, allocations: 0.6462 MB / 0.8278 GB, free: 102 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/5.15, allocations: 3.594 kB / 0.8278 GB, free: 102 MB / 474.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.01465/5.164, allocations: 1.325 MB / 0.8291 GB, free: 101.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006529/5.165, allocations: 2.949 MB / 0.832 GB, free: 98.87 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.21e-05/5.165, allocations: 8.844 kB / 0.832 GB, free: 98.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009671/5.175, allocations: 0.7186 MB / 0.8327 GB, free: 98.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/5.177, allocations: 223.8 kB / 0.8329 GB, free: 98.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008455/5.185, allocations: 1.84 MB / 0.8347 GB, free: 97.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/5.188, allocations: 101 kB / 0.8348 GB, free: 97.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/5.188, allocations: 64.8 kB / 0.8348 GB, free: 97.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/5.188, allocations: 3.875 kB / 0.8349 GB, free: 97.79 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007693/5.196, allocations: 1.032 MB / 0.8359 GB, free: 97.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/5.196, allocations: 7.062 kB / 0.8359 GB, free: 97.75 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002496/5.199, allocations: 248.1 kB / 0.8361 GB, free: 97.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002157/5.201, allocations: 242.6 kB / 0.8363 GB, free: 97.74 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007765/5.209, allocations: 3.647 MB / 0.8399 GB, free: 95.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/5.211, allocations: 93.58 kB / 0.84 GB, free: 95.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/5.211, allocations: 43.36 kB / 0.84 GB, free: 95.15 MB / 474.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {1 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004887/5.212, allocations: 131.3 kB / 0.8402 GB, free: 95.04 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003058/5.212, allocations: 79.44 kB / 0.8402 GB, free: 95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008321/5.22, allocations: 1.522 MB / 0.8417 GB, free: 94.85 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/5.22, allocations: 11.19 kB / 0.8417 GB, free: 94.85 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/5.22, allocations: 0 / 0.8417 GB, free: 94.85 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/5.22, allocations: 3.797 kB / 0.8417 GB, free: 94.85 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01041/5.231, allocations: 2.137 MB / 0.8438 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.971e-05/5.231, allocations: 0 / 0.8438 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/5.233, allocations: 166.8 kB / 0.844 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004314/5.237, allocations: 0.4941 MB / 0.8445 GB, free: 94.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/5.237, allocations: 14.75 kB / 0.8445 GB, free: 94.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003634/5.241, allocations: 1.606 MB / 0.846 GB, free: 93.45 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/5.241, allocations: 2.5 kB / 0.846 GB, free: 93.45 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008007/5.249, allocations: 1.587 MB / 0.8476 GB, free: 93.21 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009261/5.258, allocations: 2.365 MB / 0.8499 GB, free: 92.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/5.259, allocations: 234.2 kB / 0.8501 GB, free: 92.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/5.259, allocations: 10 kB / 0.8501 GB, free: 92.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/5.261, allocations: 87.77 kB / 0.8502 GB, free: 92.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/5.261, allocations: 55.92 kB / 0.8503 GB, free: 92.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/5.262, allocations: 37.25 kB / 0.8503 GB, free: 92.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006878/5.262, allocations: 341.1 kB / 0.8506 GB, free: 92.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006171/5.268, allocations: 0.6894 MB / 0.8513 GB, free: 92.31 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002425/5.271, allocations: 0.5477 MB / 0.8518 GB, free: 92.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006529/5.278, allocations: 1.369 MB / 0.8532 GB, free: 91.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/5.278, allocations: 3.281 kB / 0.8532 GB, free: 91.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/5.279, allocations: 409.8 kB / 0.8536 GB, free: 91.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/5.283, allocations: 278.8 kB / 0.8538 GB, free: 91.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/5.288, allocations: 1.209 MB / 0.855 GB, free: 91.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/5.289, allocations: 1.08 MB / 0.8561 GB, free: 90.88 MB / 474.7 MB Notification: Performance of SimCode: time 2.855e-06/5.289, allocations: 0 / 0.8561 GB, free: 90.88 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat