Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",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.168/2.168, allocations: 234.9 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2241/2.392, allocations: 57.22 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/2.676, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.596/3.272, allocations: 214.7 MB / 0.5553 GB, free: 7.398 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/3.272, allocations: 83.83 kB / 0.5554 GB, free: 7.355 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 3.17/6.442, allocations: 0.6456 GB / 1.201 GB, free: 75.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/6.442, allocations: 8.281 kB / 1.201 GB, free: 75.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005791/6.448, allocations: 424.2 kB / 1.201 GB, free: 75.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/6.452, allocations: 0.9615 MB / 1.202 GB, free: 74.91 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/6.452, allocations: 26.66 kB / 1.202 GB, free: 74.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/6.452, allocations: 49.25 kB / 1.202 GB, free: 74.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002352/6.454, allocations: 0.7766 MB / 1.203 GB, free: 74.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/6.457, allocations: 1.019 MB / 1.204 GB, free: 74.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.507e-05/6.457, allocations: 6.656 kB / 1.204 GB, free: 74.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/6.457, allocations: 5 kB / 1.204 GB, free: 74.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/6.457, allocations: 22.62 kB / 1.204 GB, free: 74.64 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/6.468, allocations: 6.418 MB / 1.21 GB, free: 70.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/6.47, allocations: 460.3 kB / 1.211 GB, free: 70.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005768/6.471, allocations: 222.8 kB / 1.211 GB, free: 70.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/6.471, allocations: 0.7671 MB / 1.212 GB, free: 69.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/6.471, allocations: 45.38 kB / 1.212 GB, free: 69.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 2.826e-06/6.471, allocations: 0 / 1.212 GB, free: 69.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.01215/6.483, allocations: 1.29 MB / 1.213 GB, free: 69.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/6.484, allocations: 188.6 kB / 1.213 GB, free: 69.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/6.485, allocations: 0.6937 MB / 1.214 GB, free: 69.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001705/6.485, allocations: 29.64 kB / 1.214 GB, free: 69.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/6.485, allocations: 477.7 kB / 1.214 GB, free: 68.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/6.486, allocations: 163 kB / 1.215 GB, free: 68.74 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/6.486, allocations: 0 / 1.215 GB, free: 68.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/6.486, allocations: 347.7 kB / 1.215 GB, free: 68.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/6.487, allocations: 278.1 kB / 1.215 GB, free: 68.44 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009737/6.488, allocations: 0.6193 MB / 1.216 GB, free: 68.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01629/6.504, allocations: 1.683 MB / 1.217 GB, free: 68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-05/6.504, allocations: 3.125 kB / 1.217 GB, free: 68 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.02035/6.524, allocations: 2.424 MB / 1.22 GB, free: 67.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008787/6.525, allocations: 4.184 MB / 1.224 GB, free: 63.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/6.525, allocations: 9.562 kB / 1.224 GB, free: 63.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004847/6.53, allocations: 465 kB / 1.224 GB, free: 63.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/6.532, allocations: 334 kB / 1.225 GB, free: 63.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00431/6.537, allocations: 1.028 MB / 1.226 GB, free: 63.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/6.539, allocations: 148 kB / 1.226 GB, free: 62.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003922/6.54, allocations: 172.7 kB / 1.226 GB, free: 62.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/6.54, allocations: 7.219 kB / 1.226 GB, free: 62.99 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02198/6.562, allocations: 1.975 MB / 1.228 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/6.562, allocations: 11.56 kB / 1.228 GB, free: 62.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005201/6.562, allocations: 89.61 kB / 1.228 GB, free: 62.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/6.564, allocations: 335.4 kB / 1.228 GB, free: 62.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/6.567, allocations: 1.57 MB / 1.23 GB, free: 61.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/6.569, allocations: 120.5 kB / 1.23 GB, free: 61.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003108/6.569, allocations: 137 kB / 1.23 GB, free: 61.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004097/6.57, allocations: 130.8 kB / 1.23 GB, free: 61.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/6.57, allocations: 110.3 kB / 1.23 GB, free: 61.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/6.585, allocations: 3.382 MB / 1.234 GB, free: 61.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.228e-05/6.586, allocations: 14.39 kB / 1.234 GB, free: 61.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/6.586, allocations: 3.062 kB / 1.234 GB, free: 61.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/6.586, allocations: 3.938 kB / 1.234 GB, free: 61.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008057/6.594, allocations: 2.221 MB / 1.236 GB, free: 60.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/6.594, allocations: 3.938 kB / 1.236 GB, free: 60.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/6.595, allocations: 152 kB / 1.236 GB, free: 60.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/6.597, allocations: 321.1 kB / 1.236 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/6.597, allocations: 15.27 kB / 1.236 GB, free: 60.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002334/6.599, allocations: 0.9731 MB / 1.237 GB, free: 60.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/6.599, allocations: 11.16 kB / 1.237 GB, free: 60.41 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006014/6.605, allocations: 1.482 MB / 1.239 GB, free: 60.07 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006316/6.612, allocations: 1.952 MB / 1.241 GB, free: 59.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000877/6.613, allocations: 343 kB / 1.241 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003069/6.613, allocations: 7.031 kB / 1.241 GB, free: 59.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/6.614, allocations: 72.41 kB / 1.241 GB, free: 59.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/6.614, allocations: 66.33 kB / 1.241 GB, free: 59.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/6.615, allocations: 47.48 kB / 1.241 GB, free: 59.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009824/6.616, allocations: 0.5124 MB / 1.242 GB, free: 59.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009175/6.625, allocations: 1.393 MB / 1.243 GB, free: 58.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 55 * Array equations: 5 * 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 Backend phase and start with SimCode phase: time 0.005011/6.63, allocations: 1.062 MB / 1.244 GB, free: 58.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00421/6.634, allocations: 1.431 MB / 1.245 GB, free: 58.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/6.634, allocations: 0 / 1.245 GB, free: 58.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/6.636, allocations: 432.8 kB / 1.246 GB, free: 58.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004009/6.64, allocations: 385.9 kB / 1.246 GB, free: 58.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006734/6.646, allocations: 1.808 MB / 1.248 GB, free: 57.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003005/6.649, allocations: 1.378 MB / 1.249 GB, free: 57.27 MB / 490.7 MB Notification: Performance of SimCode: time 1.763e-06/6.649, allocations: 0 / 1.249 GB, free: 57.27 MB / 490.7 MB