Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveVaporizing,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveVaporizing",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.069/2.069, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2675/2.336, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/2.457, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.479/8.936, allocations: 2.524 GB / 2.832 GB, free: 85.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/8.937, allocations: 87.81 kB / 2.832 GB, free: 85.56 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 1.162/10.1, allocations: 229.2 MB / 3.056 GB, free: 23.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/10.1, allocations: 12 kB / 3.056 GB, free: 23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/10.1, allocations: 263.1 kB / 3.056 GB, free: 22.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/10.1, allocations: 419.2 kB / 3.057 GB, free: 22.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/10.1, allocations: 24 kB / 3.057 GB, free: 22.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.919e-05/10.1, allocations: 16 kB / 3.057 GB, free: 22.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001036/10.1, allocations: 353.4 kB / 3.057 GB, free: 21.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/10.11, allocations: 421.6 kB / 3.058 GB, free: 21.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/10.11, allocations: 0 / 3.058 GB, free: 21.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.459e-05/10.11, allocations: 0 / 3.058 GB, free: 21.46 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/10.11, allocations: 12 kB / 3.058 GB, free: 21.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009894/10.12, allocations: 4.169 MB / 3.062 GB, free: 16.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007302/10.12, allocations: 230.7 kB / 3.062 GB, free: 16.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000305/10.12, allocations: 128.8 kB / 3.062 GB, free: 16.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3786/10.5, allocations: 50.5 MB / 3.111 GB, free: 67.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/10.5, allocations: 42.22 kB / 3.111 GB, free: 67.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=26): time 2.926e-06/10.5, allocations: 0 / 3.111 GB, free: 67.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002948/10.5, allocations: 0.526 MB / 3.112 GB, free: 67.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/10.5, allocations: 108 kB / 3.112 GB, free: 67.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/10.5, allocations: 280.2 kB / 3.112 GB, free: 67.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/10.5, allocations: 25.7 kB / 3.112 GB, free: 67.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/10.5, allocations: 212.2 kB / 3.112 GB, free: 67.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.974e-05/10.5, allocations: 91.48 kB / 3.113 GB, free: 67.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/10.5, allocations: 0 / 3.113 GB, free: 67.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/10.5, allocations: 342.5 kB / 3.113 GB, free: 67.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/10.5, allocations: 114.4 kB / 3.113 GB, free: 67.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/10.5, allocations: 250.7 kB / 3.113 GB, free: 66.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/10.5, allocations: 229.4 kB / 3.113 GB, free: 66.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/10.5, allocations: 0 / 3.113 GB, free: 66.87 MB / 426.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002874/10.5, allocations: 0.6462 MB / 3.114 GB, free: 66.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003387/10.51, allocations: 1.483 MB / 3.116 GB, free: 65.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/10.51, allocations: 5.312 kB / 3.116 GB, free: 65.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/10.51, allocations: 7.844 kB / 3.116 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/10.51, allocations: 130 kB / 3.116 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/10.51, allocations: 10.47 kB / 3.116 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009656/10.51, allocations: 82.33 kB / 3.116 GB, free: 65.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/10.51, allocations: 22.52 kB / 3.116 GB, free: 65.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/10.51, allocations: 3.844 kB / 3.116 GB, free: 65.23 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001948/10.51, allocations: 401.1 kB / 3.116 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/10.51, allocations: 6.672 kB / 3.116 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/10.51, allocations: 7.844 kB / 3.116 GB, free: 65.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/10.51, allocations: 124 kB / 3.116 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/10.51, allocations: 13.39 kB / 3.116 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009039/10.51, allocations: 71.19 kB / 3.116 GB, free: 65.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/10.51, allocations: 18.66 kB / 3.116 GB, free: 65.2 MB / 426.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 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0002243/10.51, allocations: 125.6 kB / 3.116 GB, free: 65.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000895/10.51, allocations: 193 kB / 3.117 GB, free: 65.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003737/10.52, allocations: 1.736 MB / 3.118 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/10.52, allocations: 24.2 kB / 3.118 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/10.52, allocations: 0 / 3.118 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/10.52, allocations: 0 / 3.118 GB, free: 64.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007581/10.52, allocations: 2.446 MB / 3.121 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/10.52, allocations: 0 / 3.121 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/10.53, allocations: 91.72 kB / 3.121 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/10.53, allocations: 3.344 kB / 3.121 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.742e-05/10.53, allocations: 10.7 kB / 3.121 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/10.53, allocations: 3.156 kB / 3.121 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/10.53, allocations: 0.9375 kB / 3.121 GB, free: 64.47 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006099/10.53, allocations: 1.474 MB / 3.122 GB, free: 64.16 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005328/10.54, allocations: 1.889 MB / 3.124 GB, free: 63.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006009/10.54, allocations: 214.3 kB / 3.124 GB, free: 63.37 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/10.54, allocations: 0 / 3.124 GB, free: 63.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/10.54, allocations: 50 kB / 3.124 GB, free: 63.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/10.54, allocations: 40.62 kB / 3.124 GB, free: 63.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.569e-05/10.54, allocations: 13.78 kB / 3.124 GB, free: 63.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006045/10.54, allocations: 262.7 kB / 3.125 GB, free: 63.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01211/10.55, allocations: 1.352 MB / 3.126 GB, free: 63.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.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.0155/10.57, allocations: 1.558 MB / 3.128 GB, free: 63.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002839/10.57, allocations: 0.9268 MB / 3.128 GB, free: 63.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/10.57, allocations: 2 kB / 3.128 GB, free: 63.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001528/10.57, allocations: 0.6909 MB / 3.129 GB, free: 63.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/10.57, allocations: 169.8 kB / 3.129 GB, free: 63.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06233/10.64, allocations: 14.09 MB / 3.143 GB, free: 62.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007515/10.64, allocations: 1.001 MB / 3.144 GB, free: 61.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/10.64, allocations: 2.516 kB / 3.144 GB, free: 61.48 MB / 426.7 MB