Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",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.273/2.273, allocations: 235 MB / 242 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1807/2.454, allocations: 57.2 MB / 299.2 MB, free: 360 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/2.703, allocations: 54.87 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.784/4.487, allocations: 0.6273 GB / 0.9731 GB, free: 120.9 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003203/4.487, allocations: 86.05 kB / 0.9731 GB, free: 120.9 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 2.035/6.523, allocations: 352.3 MB / 1.317 GB, free: 54.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/6.523, allocations: 9.406 kB / 1.317 GB, free: 54.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/6.525, allocations: 199.5 kB / 1.317 GB, free: 54.89 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003885/6.529, allocations: 0.8277 MB / 1.318 GB, free: 54.63 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/6.53, allocations: 32.61 kB / 1.318 GB, free: 54.63 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002276/6.53, allocations: 37.75 kB / 1.318 GB, free: 54.63 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004039/6.534, allocations: 0.9967 MB / 1.319 GB, free: 54.63 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004924/6.539, allocations: 1.051 MB / 1.32 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/6.539, allocations: 7.125 kB / 1.32 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003307/6.539, allocations: 3.906 kB / 1.32 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002439/6.54, allocations: 85.23 kB / 1.32 GB, free: 54.45 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01948/6.559, allocations: 4.342 MB / 1.325 GB, free: 52.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003427/6.563, allocations: 0.6295 MB / 1.325 GB, free: 52.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/6.564, allocations: 302.1 kB / 1.326 GB, free: 52.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007338/6.565, allocations: 315.7 kB / 1.326 GB, free: 52.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/6.565, allocations: 42.59 kB / 1.326 GB, free: 52.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=49): time 6.121e-06/6.565, allocations: 3.062 kB / 1.326 GB, free: 52.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=49): time 0.007444/6.572, allocations: 0.9615 MB / 1.327 GB, free: 52.24 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/6.572, allocations: 213.9 kB / 1.327 GB, free: 51.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002453/6.575, allocations: 0.667 MB / 1.328 GB, free: 51.86 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002307/6.575, allocations: 25.7 kB / 1.328 GB, free: 51.83 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/6.576, allocations: 395 kB / 1.328 GB, free: 51.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/6.576, allocations: 168.4 kB / 1.328 GB, free: 51.54 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/6.576, allocations: 0 / 1.328 GB, free: 51.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002486/6.576, allocations: 397.3 kB / 1.329 GB, free: 51.22 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/6.578, allocations: 374.3 kB / 1.329 GB, free: 51.22 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001879/6.58, allocations: 0.6059 MB / 1.33 GB, free: 50.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02572/6.606, allocations: 1.986 MB / 1.332 GB, free: 50.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.062e-05/6.606, allocations: 3.688 kB / 1.332 GB, free: 50.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.02671/6.633, allocations: 2.76 MB / 1.334 GB, free: 50.85 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008223/6.633, allocations: 2.436 MB / 1.337 GB, free: 48.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/6.633, allocations: 10.62 kB / 1.337 GB, free: 48.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01113/6.645, allocations: 0.6452 MB / 1.337 GB, free: 48.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/6.647, allocations: 172.8 kB / 1.337 GB, free: 48.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00476/6.652, allocations: 1.374 MB / 1.339 GB, free: 47.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/6.654, allocations: 109.8 kB / 1.339 GB, free: 47.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/6.655, allocations: 72.55 kB / 1.339 GB, free: 47.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/6.655, allocations: 3.125 kB / 1.339 GB, free: 47.75 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02274/6.677, allocations: 2.478 MB / 1.341 GB, free: 47.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/6.677, allocations: 7.219 kB / 1.341 GB, free: 47.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/6.679, allocations: 170.6 kB / 1.341 GB, free: 47.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001896/6.681, allocations: 199.8 kB / 1.342 GB, free: 47.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/6.685, allocations: 1.99 MB / 1.344 GB, free: 46.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/6.687, allocations: 86.58 kB / 1.344 GB, free: 46.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002121/6.688, allocations: 72.86 kB / 1.344 GB, free: 46.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004059/6.688, allocations: 128.9 kB / 1.344 GB, free: 46.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/6.688, allocations: 83.09 kB / 1.344 GB, free: 46.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005153/6.694, allocations: 1.135 MB / 1.345 GB, free: 46.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/6.694, allocations: 7.875 kB / 1.345 GB, free: 46.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/6.694, allocations: 0 / 1.345 GB, free: 46.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/6.694, allocations: 7.844 kB / 1.345 GB, free: 46.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/6.699, allocations: 1.743 MB / 1.347 GB, free: 45.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/6.7, allocations: 0 / 1.347 GB, free: 45.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006231/6.7, allocations: 61.95 kB / 1.347 GB, free: 45.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004039/6.704, allocations: 487.9 kB / 1.347 GB, free: 45.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/6.704, allocations: 15.62 kB / 1.347 GB, free: 45.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003508/6.708, allocations: 1.311 MB / 1.349 GB, free: 45.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/6.708, allocations: 0 / 1.349 GB, free: 45.38 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00419/6.712, allocations: 1.042 MB / 1.35 GB, free: 45.13 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004444/6.717, allocations: 1.48 MB / 1.351 GB, free: 44.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005264/6.717, allocations: 180.2 kB / 1.351 GB, free: 44.38 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003124/6.718, allocations: 3.219 kB / 1.351 GB, free: 44.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/6.719, allocations: 47.53 kB / 1.351 GB, free: 44.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/6.719, allocations: 30.39 kB / 1.351 GB, free: 44.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/6.719, allocations: 30.34 kB / 1.351 GB, free: 44.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.001111/6.72, allocations: 0.4953 MB / 1.352 GB, free: 44.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008477/6.729, allocations: 1.435 MB / 1.353 GB, free: 44.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.006425/6.735, allocations: 2.021 MB / 1.355 GB, free: 43.78 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004672/6.74, allocations: 1.451 MB / 1.357 GB, free: 43.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/6.74, allocations: 0 / 1.357 GB, free: 43.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/6.741, allocations: 339.6 kB / 1.357 GB, free: 43.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004268/6.745, allocations: 418.8 kB / 1.357 GB, free: 43.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/6.761, allocations: 2.913 MB / 1.36 GB, free: 43.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001966/6.763, allocations: 1.198 MB / 1.361 GB, free: 58.61 MB / 490.7 MB Notification: Performance of SimCode: time 2.144e-06/6.763, allocations: 0 / 1.361 GB, free: 58.61 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat