Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_Continuous_SteadyState",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.492/2.492, allocations: 235.1 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1702/2.663, allocations: 57.18 MB / 299.2 MB, free: 372 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/2.954, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/3.127, allocations: 89.08 MB / 443.2 MB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/3.128, allocations: 71.97 kB / 443.2 MB, free: 4.102 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.3119/3.439, allocations: 19.58 MB / 462.8 MB, free: 82.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/3.44, allocations: 9 kB / 462.8 MB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004992/3.44, allocations: 85.16 kB / 462.9 MB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/3.442, allocations: 0.5169 MB / 463.4 MB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/3.442, allocations: 13.09 kB / 463.4 MB, free: 81.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/3.442, allocations: 40.7 kB / 463.5 MB, free: 81.72 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001289/3.444, allocations: 324.4 kB / 463.8 MB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/3.445, allocations: 424.2 kB / 464.2 MB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.203e-05/3.445, allocations: 0 / 464.2 MB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.425e-05/3.445, allocations: 4 kB / 464.2 MB, free: 81.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/3.445, allocations: 8 kB / 464.2 MB, free: 81.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005526/3.451, allocations: 1.839 MB / 466 MB, free: 79.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/3.452, allocations: 436.8 kB / 466.5 MB, free: 78.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004928/3.452, allocations: 186.9 kB / 466.7 MB, free: 78.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.307e-05/3.453, allocations: 8.031 kB / 466.7 MB, free: 78.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/3.453, allocations: 42.91 kB / 466.7 MB, free: 78.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.426e-06/3.453, allocations: 0 / 466.7 MB, free: 78.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.002294/3.455, allocations: 0.7337 MB / 467.4 MB, free: 77.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/3.455, allocations: 140.3 kB / 467.6 MB, free: 77.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/3.456, allocations: 455.5 kB / 468 MB, free: 77.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/3.456, allocations: 25.7 kB / 468 MB, free: 77.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/3.456, allocations: 224.2 kB / 468.3 MB, free: 77.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/3.456, allocations: 161.6 kB / 468.4 MB, free: 76.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.793e-05/3.456, allocations: 4.062 kB / 468.4 MB, free: 76.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/3.456, allocations: 378.8 kB / 468.8 MB, free: 76.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005696/3.457, allocations: 185.3 kB / 469 MB, free: 76.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/3.458, allocations: 288.6 kB / 469.3 MB, free: 76.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/3.458, allocations: 201.3 kB / 469.5 MB, free: 75.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/3.458, allocations: 0 / 469.5 MB, free: 75.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001837/3.46, allocations: 0.612 MB / 470.1 MB, free: 75.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002321/3.46, allocations: 1.043 MB / 471.1 MB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/3.46, allocations: 8 kB / 471.1 MB, free: 74.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/3.461, allocations: 56.81 kB / 471.2 MB, free: 74.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002057/3.463, allocations: 199.7 kB / 471.4 MB, free: 73.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/3.465, allocations: 1.435 MB / 472.8 MB, free: 72.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/3.466, allocations: 83.8 kB / 472.9 MB, free: 72.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/3.466, allocations: 16 kB / 472.9 MB, free: 72.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/3.466, allocations: 7.984 kB / 472.9 MB, free: 72.17 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001577/3.468, allocations: 0.4924 MB / 473.4 MB, free: 71.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/3.468, allocations: 7.984 kB / 473.4 MB, free: 71.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000302/3.468, allocations: 52.81 kB / 473.5 MB, free: 71.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/3.47, allocations: 196 kB / 473.7 MB, free: 71.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/3.472, allocations: 1.431 MB / 475.1 MB, free: 69.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/3.473, allocations: 75.8 kB / 475.2 MB, free: 69.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/3.473, allocations: 20 kB / 475.2 MB, free: 69.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002288/3.473, allocations: 112.9 kB / 475.3 MB, free: 69.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/3.474, allocations: 67.16 kB / 475.4 MB, free: 69.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000293/3.474, allocations: 77.25 kB / 475.4 MB, free: 69.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/3.474, allocations: 4 kB / 475.4 MB, free: 69.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/3.474, allocations: 4 kB / 475.4 MB, free: 69.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/3.474, allocations: 7.906 kB / 475.4 MB, free: 69.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/3.477, allocations: 0.7182 MB / 476.2 MB, free: 68.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/3.477, allocations: 4 kB / 476.2 MB, free: 68.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/3.48, allocations: 119.8 kB / 476.3 MB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.427e-05/3.48, allocations: 4 kB / 476.3 MB, free: 68.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/3.48, allocations: 15.97 kB / 476.3 MB, free: 68.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/3.48, allocations: 8 kB / 476.3 MB, free: 68.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/3.48, allocations: 3.984 kB / 476.3 MB, free: 68.59 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003041/3.483, allocations: 0.9334 MB / 477.2 MB, free: 67.63 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004127/3.487, allocations: 1.58 MB / 478.8 MB, free: 66.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007478/3.488, allocations: 188.1 kB / 479 MB, free: 65.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002718/3.488, allocations: 4 kB / 479 MB, free: 65.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002096/3.49, allocations: 67.94 kB / 479.1 MB, free: 65.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/3.491, allocations: 31.94 kB / 479.1 MB, free: 65.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/3.491, allocations: 12 kB / 479.1 MB, free: 65.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001024/3.492, allocations: 355.2 kB / 479.5 MB, free: 65.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005316/3.497, allocations: 175.8 kB / 479.6 MB, free: 65.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003472/3.498, allocations: 119.2 kB / 479.8 MB, free: 65.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002852/3.501, allocations: 0.9393 MB / 480.7 MB, free: 64.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.964e-06/3.501, allocations: 0 / 480.7 MB, free: 64.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006879/3.501, allocations: 211.8 kB / 480.9 MB, free: 63.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/3.503, allocations: 130.2 kB / 481 MB, free: 63.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/3.507, allocations: 1.164 MB / 482.2 MB, free: 62.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/3.509, allocations: 1.034 MB / 483.2 MB, free: 61.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.924e-06/3.509, allocations: 0 / 483.2 MB, free: 61.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat