Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpVariableSpeed",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.396/2.396, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1728/2.569, allocations: 57.2 MB / 299.2 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/2.867, allocations: 54.85 MB / 354.1 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.176/10.04, allocations: 2.612 GB / 2.958 GB, free: 79.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004791/10.04, allocations: 83.14 kB / 2.958 GB, free: 79.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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 2.568/12.61, allocations: 434.9 MB / 3.382 GB, free: 7.695 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/12.61, allocations: 8 kB / 3.382 GB, free: 7.688 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005016/12.62, allocations: 350.7 kB / 3.383 GB, free: 7.344 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/12.62, allocations: 0.5871 MB / 3.383 GB, free: 6.727 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/12.62, allocations: 24 kB / 3.383 GB, free: 6.703 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/12.62, allocations: 32 kB / 3.383 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002053/12.62, allocations: 0.5375 MB / 3.384 GB, free: 6.133 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/12.62, allocations: 0.6555 MB / 3.384 GB, free: 5.414 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/12.62, allocations: 4 kB / 3.384 GB, free: 5.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/12.62, allocations: 4 kB / 3.384 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/12.62, allocations: 28.92 kB / 3.384 GB, free: 5.379 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5716/13.2, allocations: 68.96 MB / 3.452 GB, free: 65.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009862/13.2, allocations: 312.2 kB / 3.452 GB, free: 65.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/13.2, allocations: 170.8 kB / 3.452 GB, free: 65 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1186/13.32, allocations: 17.03 MB / 3.469 GB, free: 53.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/13.32, allocations: 40.19 kB / 3.469 GB, free: 53.69 MB / 490.7 MB Notification: Performance of pre-optimization done (n=37): time 6.402e-06/13.32, allocations: 0 / 3.469 GB, free: 53.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=54): time 0.06813/13.38, allocations: 3.433 MB / 3.472 GB, free: 53.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/13.38, allocations: 114 kB / 3.472 GB, free: 52.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/13.39, allocations: 424.5 kB / 3.473 GB, free: 52.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001959/13.39, allocations: 25.7 kB / 3.473 GB, free: 52.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/13.39, allocations: 319.4 kB / 3.473 GB, free: 52.55 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/13.39, allocations: 174 kB / 3.473 GB, free: 52.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/13.39, allocations: 3.594 kB / 3.473 GB, free: 52.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/13.39, allocations: 371.5 kB / 3.474 GB, free: 52.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00103/13.39, allocations: 283.1 kB / 3.474 GB, free: 52.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001202/13.39, allocations: 0.496 MB / 3.474 GB, free: 51.89 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003279/13.39, allocations: 455.5 kB / 3.475 GB, free: 51.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/13.39, allocations: 3.594 kB / 3.475 GB, free: 51.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.007747/13.4, allocations: 1.446 MB / 3.476 GB, free: 51.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006181/13.4, allocations: 2.609 MB / 3.479 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/13.4, allocations: 3.906 kB / 3.479 GB, free: 49.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005848/13.41, allocations: 0.5671 MB / 3.479 GB, free: 49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/13.41, allocations: 184.2 kB / 3.48 GB, free: 49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007689/13.42, allocations: 1.913 MB / 3.481 GB, free: 47.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003069/13.42, allocations: 133 kB / 3.482 GB, free: 47.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/13.42, allocations: 50.69 kB / 3.482 GB, free: 47.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/13.42, allocations: 5.219 kB / 3.482 GB, free: 47.93 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005845/13.43, allocations: 0.9343 MB / 3.483 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/13.43, allocations: 10.59 kB / 3.483 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003796/13.43, allocations: 367.2 kB / 3.483 GB, free: 47.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/13.43, allocations: 196.6 kB / 3.483 GB, free: 47.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/13.43, allocations: 1.567 MB / 3.485 GB, free: 46.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/13.44, allocations: 117.9 kB / 3.485 GB, free: 46.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/13.44, allocations: 38.39 kB / 3.485 GB, free: 46.79 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: 30 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.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 (68): * Single equations (assignments): 66 * 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.0004924/13.44, allocations: 137.7 kB / 3.485 GB, free: 46.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/13.44, allocations: 274.3 kB / 3.485 GB, free: 46.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008441/13.45, allocations: 2.344 MB / 3.487 GB, free: 46.45 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/13.45, allocations: 18.58 kB / 3.487 GB, free: 46.45 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/13.45, allocations: 0 / 3.487 GB, free: 46.45 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/13.45, allocations: 6.5 kB / 3.487 GB, free: 46.45 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009209/13.46, allocations: 3.312 MB / 3.491 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/13.46, allocations: 3.719 kB / 3.491 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009137/13.46, allocations: 102.6 kB / 3.491 GB, free: 46.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005206/13.46, allocations: 1.009 MB / 3.492 GB, free: 45.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/13.46, allocations: 21.09 kB / 3.492 GB, free: 45.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005503/13.47, allocations: 2.305 MB / 3.494 GB, free: 44.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/13.47, allocations: 7.344 kB / 3.494 GB, free: 44.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006126/13.47, allocations: 1.971 MB / 3.496 GB, free: 44.49 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006606/13.48, allocations: 2.417 MB / 3.498 GB, free: 43.72 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000954/13.48, allocations: 291.4 kB / 3.499 GB, free: 43.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/13.48, allocations: 3.25 kB / 3.499 GB, free: 43.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/13.48, allocations: 93.48 kB / 3.499 GB, free: 43.57 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002238/13.48, allocations: 57.12 kB / 3.499 GB, free: 43.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/13.48, allocations: 24.98 kB / 3.499 GB, free: 43.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001034/13.49, allocations: 443.8 kB / 3.499 GB, free: 43.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01223/13.5, allocations: 1.804 MB / 3.501 GB, free: 43.46 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 8,2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01453/13.51, allocations: 1.977 MB / 3.503 GB, free: 43.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006749/13.52, allocations: 1.512 MB / 3.504 GB, free: 43.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/13.52, allocations: 0 / 3.504 GB, free: 43.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002541/13.52, allocations: 0.8232 MB / 3.505 GB, free: 43.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/13.53, allocations: 231.7 kB / 3.505 GB, free: 43.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08114/13.61, allocations: 15.91 MB / 3.521 GB, free: 42.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/13.61, allocations: 1.11 MB / 3.522 GB, free: 41.46 MB / 490.7 MB Notification: Performance of SimCode: time 1.783e-06/13.61, allocations: 1.875 kB / 3.522 GB, free: 41.46 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpVariableSpeed_res.mat does not exist to compare? outputFormat=mat