Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",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 1.95/1.95, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2533/2.204, allocations: 51.03 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/2.328, allocations: 48.7 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.179/11.51, allocations: 3.623 GB / 3.931 GB, free: 117.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/11.51, allocations: 82.81 kB / 3.931 GB, free: 117.9 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 1.506/13.01, allocations: 303.6 MB / 4.228 GB, free: 15.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/13.01, allocations: 12 kB / 4.228 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/13.01, allocations: 55.44 kB / 4.228 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/13.01, allocations: 410.3 kB / 4.228 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/13.01, allocations: 12 kB / 4.228 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/13.02, allocations: 24 kB / 4.228 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001162/13.02, allocations: 425.4 kB / 4.229 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/13.02, allocations: 444 kB / 4.229 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/13.02, allocations: 0 / 4.229 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/13.02, allocations: 11.84 kB / 4.229 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/13.02, allocations: 12 kB / 4.229 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008179/13.03, allocations: 2.727 MB / 4.232 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/13.03, allocations: 325 kB / 4.232 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003601/13.03, allocations: 90.64 kB / 4.232 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003553/13.03, allocations: 101 kB / 4.232 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/13.03, allocations: 34.56 kB / 4.232 GB, free: 10.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 4.278e-06/13.03, allocations: 0 / 4.232 GB, free: 10.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001268/13.03, allocations: 241.5 kB / 4.233 GB, free: 10.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/13.03, allocations: 106.8 kB / 4.233 GB, free: 10.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004909/13.03, allocations: 286 kB / 4.233 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.11e-05/13.03, allocations: 33.7 kB / 4.233 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/13.03, allocations: 247 kB / 4.233 GB, free: 9.797 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.416e-05/13.03, allocations: 66.95 kB / 4.233 GB, free: 9.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/13.03, allocations: 4 kB / 4.233 GB, free: 9.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.958e-05/13.03, allocations: 350.7 kB / 4.234 GB, free: 9.375 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/13.03, allocations: 96.84 kB / 4.234 GB, free: 9.277 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/13.03, allocations: 275.3 kB / 4.234 GB, free: 8.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/13.03, allocations: 239.7 kB / 4.234 GB, free: 8.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/13.03, allocations: 0 / 4.234 GB, free: 8.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001904/13.04, allocations: 492.6 kB / 4.235 GB, free: 8.203 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/13.04, allocations: 8 kB / 4.235 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/13.04, allocations: 4 kB / 4.235 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.033e-05/13.04, allocations: 12 kB / 4.235 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/13.04, allocations: 104.4 kB / 4.235 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/13.04, allocations: 15.98 kB / 4.235 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007712/13.04, allocations: 55.52 kB / 4.235 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/13.04, allocations: 27.91 kB / 4.235 GB, free: 7.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001575/13.04, allocations: 124.8 kB / 4.235 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001504/13.04, allocations: 35.61 kB / 4.235 GB, free: 7.816 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/13.04, allocations: 290 kB / 4.235 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/13.04, allocations: 4 kB / 4.235 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/13.04, allocations: 0 / 4.235 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/13.04, allocations: 0 / 4.235 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/13.04, allocations: 1.023 MB / 4.236 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/13.04, allocations: 4 kB / 4.236 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/13.04, allocations: 44.36 kB / 4.236 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/13.04, allocations: 7.938 kB / 4.236 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/13.04, allocations: 8 kB / 4.236 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/13.04, allocations: 4 kB / 4.236 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/13.04, allocations: 11.92 kB / 4.236 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008103/13.04, allocations: 0.5681 MB / 4.237 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001262/13.04, allocations: 1.038 MB / 4.238 GB, free: 4.414 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001751/13.04, allocations: 128.6 kB / 4.238 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/13.04, allocations: 4 kB / 4.238 GB, free: 4.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005214/13.04, allocations: 15.98 kB / 4.238 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.24e-05/13.04, allocations: 23.89 kB / 4.238 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/13.04, allocations: 15.94 kB / 4.238 GB, free: 4.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0003597/13.04, allocations: 220.6 kB / 4.238 GB, free: 4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003528/13.05, allocations: 0.5423 MB / 4.239 GB, free: 3.457 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.005368/13.05, allocations: 1.396 MB / 4.24 GB, free: 2.066 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008625/13.05, allocations: 295 kB / 4.241 GB, free: 1.766 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/13.05, allocations: 5.5 kB / 4.241 GB, free: 1.762 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/13.05, allocations: 84.47 kB / 4.241 GB, free: 1.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/13.06, allocations: 142.4 kB / 4.241 GB, free: 1.535 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/13.06, allocations: 0.5773 MB / 4.241 GB, free: 0.8945 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2013/13.26, allocations: 0.8831 MB / 4.242 GB, free: 90.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.615e-06/13.26, allocations: 0 / 4.242 GB, free: 90.7 MB / 426.7 MB