Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) [: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.483/2.483, allocations: 234.9 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1993/2.682, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/2.979, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.484/10.46, allocations: 2.908 GB / 3.253 GB, free: 6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/10.46, allocations: 73.52 kB / 3.254 GB, free: 5.961 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 1.154/11.62, allocations: 208.9 MB / 3.458 GB, free: 5.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/11.62, allocations: 12 kB / 3.458 GB, free: 5.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/11.62, allocations: 23.72 kB / 3.458 GB, free: 5.645 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/11.62, allocations: 230.8 kB / 3.458 GB, free: 5.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/11.62, allocations: 119.3 kB / 3.458 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/11.62, allocations: 12 kB / 3.458 GB, free: 5.227 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001072/11.62, allocations: 0.715 MB / 3.459 GB, free: 4.508 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/11.62, allocations: 285.9 kB / 3.459 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/11.62, allocations: 0 / 3.459 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.883e-05/11.62, allocations: 0 / 3.459 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.245e-05/11.62, allocations: 12 kB / 3.459 GB, free: 4.191 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/11.62, allocations: 3.507 MB / 3.462 GB, free: 120 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/11.62, allocations: 50.61 kB / 3.462 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.564e-05/11.62, allocations: 20.89 kB / 3.462 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2122/11.84, allocations: 444.5 kB / 3.463 GB, free: 147.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/11.84, allocations: 34.44 kB / 3.463 GB, free: 147.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 2.474e-06/11.84, allocations: 0 / 3.463 GB, free: 147.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002506/11.84, allocations: 55.02 kB / 3.463 GB, free: 147.9 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/11.84, allocations: 51.41 kB / 3.463 GB, free: 147.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/11.84, allocations: 214.9 kB / 3.463 GB, free: 147.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/11.84, allocations: 28.05 kB / 3.463 GB, free: 147.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/11.84, allocations: 256.4 kB / 3.463 GB, free: 147.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/11.84, allocations: 10.19 kB / 3.464 GB, free: 147.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/11.84, allocations: 0 / 3.464 GB, free: 147.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/11.84, allocations: 325.1 kB / 3.464 GB, free: 147.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/11.84, allocations: 35.05 kB / 3.464 GB, free: 147.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/11.84, allocations: 338.4 kB / 3.464 GB, free: 146.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/11.84, allocations: 118.4 kB / 3.464 GB, free: 146.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/11.84, allocations: 7.25 kB / 3.464 GB, free: 146.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001054/11.84, allocations: 345.8 kB / 3.465 GB, free: 146.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/11.84, allocations: 3.531 kB / 3.465 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/11.84, allocations: 11.41 kB / 3.465 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/11.84, allocations: 16.31 kB / 3.465 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/11.84, allocations: 93.2 kB / 3.465 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/11.84, allocations: 28.03 kB / 3.465 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/11.84, allocations: 50.77 kB / 3.465 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/11.84, allocations: 30.59 kB / 3.465 GB, free: 146.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001104/11.84, allocations: 127.9 kB / 3.465 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/11.84, allocations: 21.78 kB / 3.465 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/11.84, allocations: 19.41 kB / 3.465 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/11.84, allocations: 3.375 kB / 3.465 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/11.84, allocations: 1.969 kB / 3.465 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/11.84, allocations: 3.328 kB / 3.465 GB, free: 146.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/11.84, allocations: 169.5 kB / 3.465 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/11.84, allocations: 0 / 3.465 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.394e-06/11.84, allocations: 3.906 kB / 3.465 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/11.84, allocations: 3.703 kB / 3.465 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/11.84, allocations: 1.641 kB / 3.465 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/11.84, allocations: 1.875 kB / 3.465 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/11.84, allocations: 7.594 kB / 3.465 GB, free: 146.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001959/11.84, allocations: 149.1 kB / 3.465 GB, free: 146.3 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004796/11.84, allocations: 0.5794 MB / 3.466 GB, free: 145.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/11.84, allocations: 107 kB / 3.466 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.052e-05/11.84, allocations: 3.938 kB / 3.466 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/11.84, allocations: 0 / 3.466 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/11.84, allocations: 0 / 3.466 GB, free: 145.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/11.84, allocations: 7.766 kB / 3.466 GB, free: 145.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0001669/11.84, allocations: 142.5 kB / 3.466 GB, free: 145.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001942/11.84, allocations: 126.6 kB / 3.466 GB, free: 145.6 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0005702/11.84, allocations: 307.8 kB / 3.467 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004688/11.85, allocations: 134 kB / 3.467 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/11.85, allocations: 3.422 kB / 3.467 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/11.85, allocations: 3.969 kB / 3.467 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/11.85, allocations: 17.16 kB / 3.467 GB, free: 145.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4367/12.28, allocations: 96.16 MB / 3.561 GB, free: 134.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/12.28, allocations: 0.7507 MB / 3.561 GB, free: 133.6 MB / 490.7 MB Notification: Performance of SimCode: time 1.532e-06/12.28, allocations: 0 / 3.561 GB, free: 133.6 MB / 490.7 MB