Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",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.606/2.606, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1725/2.779, allocations: 57.2 MB / 299.2 MB, free: 440 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/3.082, allocations: 54.86 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9999/4.081, allocations: 310.5 MB / 0.649 GB, free: 135.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/4.082, allocations: 84.55 kB / 0.6491 GB, free: 135.1 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.4172/4.499, allocations: 96.71 MB / 0.7435 GB, free: 76.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/4.499, allocations: 8 kB / 0.7435 GB, free: 76.9 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008262/4.5, allocations: 55.44 kB / 0.7436 GB, free: 76.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/4.502, allocations: 487.8 kB / 0.7441 GB, free: 76.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/4.502, allocations: 8 kB / 0.7441 GB, free: 76.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/4.502, allocations: 20 kB / 0.7441 GB, free: 76.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001868/4.504, allocations: 393.1 kB / 0.7445 GB, free: 75.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/4.506, allocations: 484.6 kB / 0.7449 GB, free: 75.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/4.506, allocations: 3.938 kB / 0.7449 GB, free: 75.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/4.507, allocations: 11.91 kB / 0.7449 GB, free: 75.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.726e-05/4.507, allocations: 28.64 kB / 0.745 GB, free: 75.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00869/4.515, allocations: 2.198 MB / 0.7471 GB, free: 73.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/4.516, allocations: 190.7 kB / 0.7473 GB, free: 72.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/4.517, allocations: 108.9 kB / 0.7474 GB, free: 72.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003064/4.52, allocations: 1.053 MB / 0.7484 GB, free: 71.55 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003971/4.52, allocations: 137.9 kB / 0.7485 GB, free: 71.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 4.91e-06/4.52, allocations: 0 / 0.7485 GB, free: 71.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=15): time 0.001535/4.522, allocations: 209.1 kB / 0.7487 GB, free: 71.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.468e-05/4.522, allocations: 158.2 kB / 0.7489 GB, free: 71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/4.523, allocations: 400.8 kB / 0.7493 GB, free: 70.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.132e-05/4.523, allocations: 25.7 kB / 0.7493 GB, free: 70.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/4.524, allocations: 258.9 kB / 0.7496 GB, free: 70.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/4.524, allocations: 51.3 kB / 0.7496 GB, free: 70.26 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.997e-05/4.524, allocations: 0 / 0.7496 GB, free: 70.26 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/4.524, allocations: 350.8 kB / 0.7499 GB, free: 69.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/4.525, allocations: 100.8 kB / 0.75 GB, free: 69.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007171/4.525, allocations: 329.4 kB / 0.7503 GB, free: 69.38 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007649/4.533, allocations: 0.6445 MB / 0.751 GB, free: 68.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/4.533, allocations: 4.094 kB / 0.751 GB, free: 68.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.007843/4.541, allocations: 0.9235 MB / 0.7519 GB, free: 67.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005966/4.542, allocations: 2.782 MB / 0.7546 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/4.542, allocations: 8 kB / 0.7546 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.414e-05/4.542, allocations: 16 kB / 0.7546 GB, free: 64.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/4.542, allocations: 79.91 kB / 0.7547 GB, free: 64.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/4.542, allocations: 23.91 kB / 0.7547 GB, free: 64.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009311/4.543, allocations: 47.44 kB / 0.7548 GB, free: 64.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/4.544, allocations: 23.98 kB / 0.7548 GB, free: 64.61 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/4.544, allocations: 4 kB / 0.7548 GB, free: 64.61 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008742/4.552, allocations: 0.8135 MB / 0.7556 GB, free: 63.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/4.552, allocations: 8 kB / 0.7556 GB, free: 63.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/4.553, allocations: 15.94 kB / 0.7556 GB, free: 63.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009699/4.554, allocations: 79.91 kB / 0.7557 GB, free: 63.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.221e-05/4.554, allocations: 15.92 kB / 0.7557 GB, free: 63.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/4.555, allocations: 39.67 kB / 0.7557 GB, free: 63.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/4.555, allocations: 24 kB / 0.7558 GB, free: 63.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.0003016/4.555, allocations: 162.4 kB / 0.7559 GB, free: 63.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/4.555, allocations: 43.53 kB / 0.756 GB, free: 63.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/4.557, allocations: 262.8 kB / 0.7562 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/4.557, allocations: 0 / 0.7562 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/4.557, allocations: 4 kB / 0.7562 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/4.557, allocations: 0 / 0.7562 GB, free: 63.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009088/4.558, allocations: 337.9 kB / 0.7565 GB, free: 62.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/4.558, allocations: 3.938 kB / 0.7565 GB, free: 62.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/4.558, allocations: 15.98 kB / 0.7566 GB, free: 62.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/4.558, allocations: 7.906 kB / 0.7566 GB, free: 62.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/4.558, allocations: 4 kB / 0.7566 GB, free: 62.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/4.558, allocations: 4 kB / 0.7566 GB, free: 62.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/4.558, allocations: 0 / 0.7566 GB, free: 62.73 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001291/4.56, allocations: 256.4 kB / 0.7568 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001375/4.561, allocations: 0.6559 MB / 0.7575 GB, free: 61.79 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/4.562, allocations: 124.5 kB / 0.7576 GB, free: 61.65 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/4.562, allocations: 48 / 0.7576 GB, free: 61.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/4.562, allocations: 11.98 kB / 0.7576 GB, free: 61.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/4.563, allocations: 11.98 kB / 0.7576 GB, free: 61.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.094e-05/4.563, allocations: 11.98 kB / 0.7576 GB, free: 61.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007924/4.563, allocations: 283.2 kB / 0.7579 GB, free: 61.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006846/4.57, allocations: 495.2 kB / 0.7583 GB, free: 60.86 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.002125/4.572, allocations: 0.5039 MB / 0.7588 GB, free: 60.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/4.574, allocations: 0.4919 MB / 0.7593 GB, free: 59.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/4.574, allocations: 0 / 0.7593 GB, free: 59.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/4.574, allocations: 133.6 kB / 0.7594 GB, free: 59.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/4.575, allocations: 137.2 kB / 0.7596 GB, free: 59.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/4.578, allocations: 0.5566 MB / 0.7601 GB, free: 58.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000574/4.578, allocations: 0.8934 MB / 0.761 GB, free: 58.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.252e-06/4.578, allocations: 0 / 0.761 GB, free: 58.07 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat