Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpPowerCharacteristic",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.384/2.384, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2341/2.618, allocations: 57.2 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/2.907, allocations: 54.85 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.311/10.22, allocations: 2.612 GB / 2.958 GB, free: 78.27 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003932/10.22, allocations: 86.83 kB / 2.958 GB, free: 78.22 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.419/12.64, allocations: 435.4 MB / 3.383 GB, free: 5.816 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/12.64, allocations: 8 kB / 3.383 GB, free: 5.809 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/12.64, allocations: 350.7 kB / 3.383 GB, free: 5.465 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/12.64, allocations: 0.5832 MB / 3.384 GB, free: 4.852 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.179e-05/12.64, allocations: 28 kB / 3.384 GB, free: 4.824 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/12.64, allocations: 32 kB / 3.384 GB, free: 4.793 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001981/12.65, allocations: 0.5376 MB / 3.384 GB, free: 4.254 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/12.65, allocations: 0.6673 MB / 3.385 GB, free: 3.523 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.127e-05/12.65, allocations: 7.938 kB / 3.385 GB, free: 3.516 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/12.65, allocations: 3.906 kB / 3.385 GB, free: 3.512 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.461e-05/12.65, allocations: 21 kB / 3.385 GB, free: 3.492 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/12.66, allocations: 5.993 MB / 3.391 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/12.67, allocations: 319 kB / 3.391 GB, free: 12.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007155/12.67, allocations: 226.3 kB / 3.392 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6332/13.3, allocations: 82.01 MB / 3.472 GB, free: 47.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/13.3, allocations: 39.09 kB / 3.472 GB, free: 47.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 5.841e-06/13.3, allocations: 4 kB / 3.472 GB, free: 47.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=51): time 0.01874/13.32, allocations: 1.825 MB / 3.473 GB, free: 47.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/13.32, allocations: 108.8 kB / 3.474 GB, free: 47.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/13.32, allocations: 395.6 kB / 3.474 GB, free: 47.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/13.32, allocations: 25.7 kB / 3.474 GB, free: 47.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/13.32, allocations: 278.6 kB / 3.474 GB, free: 46.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/13.32, allocations: 168.4 kB / 3.474 GB, free: 46.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/13.32, allocations: 0 / 3.474 GB, free: 46.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/13.32, allocations: 373.7 kB / 3.475 GB, free: 46.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/13.32, allocations: 208.9 kB / 3.475 GB, free: 46.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/13.32, allocations: 408.5 kB / 3.475 GB, free: 46.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004428/13.33, allocations: 356.6 kB / 3.476 GB, free: 46.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/13.33, allocations: 7.531 kB / 3.476 GB, free: 46.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.01035/13.34, allocations: 1.117 MB / 3.477 GB, free: 46.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007442/13.34, allocations: 2.176 MB / 3.479 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/13.34, allocations: 15.16 kB / 3.479 GB, free: 43.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003507/13.34, allocations: 305.3 kB / 3.479 GB, free: 43.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/13.34, allocations: 150.6 kB / 3.479 GB, free: 43.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005174/13.35, allocations: 1.007 MB / 3.48 GB, free: 43.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002611/13.35, allocations: 86.72 kB / 3.48 GB, free: 43.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003216/13.35, allocations: 43.92 kB / 3.48 GB, free: 43.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/13.35, allocations: 7.75 kB / 3.48 GB, free: 43.32 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00668/13.36, allocations: 0.7647 MB / 3.481 GB, free: 43.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.904e-05/13.36, allocations: 6.938 kB / 3.481 GB, free: 43.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/13.36, allocations: 281.8 kB / 3.481 GB, free: 43.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/13.37, allocations: 159.3 kB / 3.482 GB, free: 43.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00319/13.37, allocations: 0.9106 MB / 3.483 GB, free: 42.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/13.37, allocations: 81.31 kB / 3.483 GB, free: 42.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/13.37, allocations: 43.94 kB / 3.483 GB, free: 42.74 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.000438/13.37, allocations: 127.4 kB / 3.483 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002349/13.37, allocations: 267 kB / 3.483 GB, free: 42.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009244/13.38, allocations: 2.592 MB / 3.486 GB, free: 42.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-05/13.38, allocations: 29.53 kB / 3.486 GB, free: 42.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/13.38, allocations: 0 / 3.486 GB, free: 42.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.042e-05/13.38, allocations: 3.75 kB / 3.486 GB, free: 42.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/13.39, allocations: 3.442 MB / 3.489 GB, free: 41.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/13.39, allocations: 0 / 3.489 GB, free: 41.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/13.4, allocations: 159.9 kB / 3.489 GB, free: 41.99 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005976/13.4, allocations: 64.62 kB / 3.489 GB, free: 41.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/13.4, allocations: 14.67 kB / 3.489 GB, free: 41.98 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/13.4, allocations: 1.218 MB / 3.49 GB, free: 40.86 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/13.4, allocations: 0 / 3.49 GB, free: 40.86 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01014/13.41, allocations: 2.689 MB / 3.493 GB, free: 40.55 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01288/13.42, allocations: 3.748 MB / 3.497 GB, free: 39.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/13.42, allocations: 252.8 kB / 3.497 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/13.42, allocations: 11.17 kB / 3.497 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/13.42, allocations: 66.89 kB / 3.497 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/13.43, allocations: 55.98 kB / 3.497 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/13.43, allocations: 27.73 kB / 3.497 GB, free: 39.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007104/13.43, allocations: 329.5 kB / 3.497 GB, free: 39.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01146/13.44, allocations: 1.657 MB / 3.499 GB, free: 39.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01391/13.45, allocations: 1.896 MB / 3.501 GB, free: 39.41 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004866/13.46, allocations: 1.59 MB / 3.502 GB, free: 39.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/13.46, allocations: 2.188 kB / 3.502 GB, free: 39.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002784/13.46, allocations: 1.109 MB / 3.503 GB, free: 39.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/13.46, allocations: 256.6 kB / 3.504 GB, free: 39.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08697/13.55, allocations: 15.21 MB / 3.519 GB, free: 38.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/13.55, allocations: 1.171 MB / 3.52 GB, free: 37.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/13.55, allocations: 0 / 3.52 GB, free: 37.61 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat does not exist to compare? outputFormat=mat