Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",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.235/2.235, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2028/2.438, allocations: 57.21 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/2.729, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.224/8.953, allocations: 2.606 GB / 2.951 GB, free: 101.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/8.953, allocations: 83.88 kB / 2.951 GB, free: 101.1 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 1.217/10.17, allocations: 230.5 MB / 3.176 GB, free: 59.29 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/10.17, allocations: 8 kB / 3.176 GB, free: 59.28 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003252/10.17, allocations: 263.5 kB / 3.177 GB, free: 59.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/10.18, allocations: 420.3 kB / 3.177 GB, free: 58.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/10.18, allocations: 16 kB / 3.177 GB, free: 58.7 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.881e-05/10.18, allocations: 27.77 kB / 3.177 GB, free: 58.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009532/10.18, allocations: 336.1 kB / 3.177 GB, free: 58.37 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008738/10.18, allocations: 408 kB / 3.178 GB, free: 57.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/10.18, allocations: 3.891 kB / 3.178 GB, free: 57.99 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/10.18, allocations: 0 / 3.178 GB, free: 57.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/10.18, allocations: 8 kB / 3.178 GB, free: 57.98 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009643/10.19, allocations: 3.952 MB / 3.182 GB, free: 54.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/10.19, allocations: 214 kB / 3.182 GB, free: 54 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/10.19, allocations: 132.5 kB / 3.182 GB, free: 53.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2315/10.42, allocations: 50.39 MB / 3.231 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/10.42, allocations: 34.56 kB / 3.231 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 2.455e-06/10.42, allocations: 4 kB / 3.231 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.003107/10.42, allocations: 0.5356 MB / 3.232 GB, free: 428 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/10.42, allocations: 106.8 kB / 3.232 GB, free: 296 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004915/10.42, allocations: 274 kB / 3.232 GB, free: 16 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/10.42, allocations: 25.7 kB / 3.232 GB, free: 15.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/10.42, allocations: 207.6 kB / 3.232 GB, free: 15.77 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/10.42, allocations: 82.84 kB / 3.232 GB, free: 15.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/10.42, allocations: 0 / 3.232 GB, free: 15.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/10.42, allocations: 346.7 kB / 3.233 GB, free: 15.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/10.42, allocations: 120 kB / 3.233 GB, free: 15.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/10.42, allocations: 248.2 kB / 3.233 GB, free: 14.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/10.43, allocations: 251.6 kB / 3.233 GB, free: 14.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/10.43, allocations: 0 / 3.233 GB, free: 14.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004717/10.43, allocations: 0.6537 MB / 3.234 GB, free: 14.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001004/10.43, allocations: 1.484 MB / 3.236 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/10.43, allocations: 4 kB / 3.236 GB, free: 12.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.377e-05/10.43, allocations: 8 kB / 3.236 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/10.43, allocations: 119.8 kB / 3.236 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.196e-05/10.43, allocations: 7.938 kB / 3.236 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/10.44, allocations: 79.55 kB / 3.236 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/10.44, allocations: 20 kB / 3.236 GB, free: 12.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/10.44, allocations: 4 kB / 3.236 GB, free: 12.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003694/10.44, allocations: 407.9 kB / 3.236 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/10.44, allocations: 4 kB / 3.236 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/10.44, allocations: 12.03 kB / 3.236 GB, free: 11.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/10.44, allocations: 119.8 kB / 3.236 GB, free: 11.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.961e-05/10.44, allocations: 11.94 kB / 3.236 GB, free: 11.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/10.44, allocations: 55.72 kB / 3.236 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/10.44, allocations: 23.98 kB / 3.236 GB, free: 11.56 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 prepare postOptimizeDAE: time 0.0002063/10.44, allocations: 116.9 kB / 3.236 GB, free: 11.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008989/10.44, allocations: 191.3 kB / 3.237 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004281/10.45, allocations: 1.77 MB / 3.238 GB, free: 9.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/10.45, allocations: 27.88 kB / 3.238 GB, free: 9.441 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/10.45, allocations: 3.938 kB / 3.238 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/10.45, allocations: 3.984 kB / 3.238 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005741/10.45, allocations: 2.487 MB / 3.241 GB, free: 6.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/10.45, allocations: 4 kB / 3.241 GB, free: 6.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/10.45, allocations: 79.98 kB / 3.241 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.414e-05/10.45, allocations: 7.906 kB / 3.241 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/10.45, allocations: 7.984 kB / 3.241 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/10.45, allocations: 8 kB / 3.241 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/10.45, allocations: 0 / 3.241 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003584/10.46, allocations: 1.458 MB / 3.242 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004038/10.46, allocations: 1.877 MB / 3.244 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/10.46, allocations: 208 kB / 3.244 GB, free: 3.129 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/10.46, allocations: 4 kB / 3.244 GB, free: 3.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/10.46, allocations: 35.97 kB / 3.244 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/10.46, allocations: 35.94 kB / 3.244 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/10.46, allocations: 15.98 kB / 3.244 GB, free: 3.039 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005065/10.46, allocations: 259.1 kB / 3.245 GB, free: 2.781 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009095/10.47, allocations: 1.389 MB / 3.246 GB, free: 1.391 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,SinkP1.medium.phase,SourceP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.2118/10.69, allocations: 1.632 MB / 3.248 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/10.69, allocations: 0.9338 MB / 3.249 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.289e-06/10.69, allocations: 0 / 3.249 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009529/10.69, allocations: 0.6925 MB / 3.249 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/10.69, allocations: 165.3 kB / 3.249 GB, free: 121.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07358/10.76, allocations: 14.46 MB / 3.264 GB, free: 121.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/10.76, allocations: 0.9937 MB / 3.265 GB, free: 120.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.373e-06/10.77, allocations: 3.75 kB / 3.265 GB, free: 120.8 MB / 490.7 MB