Running command: "" <> buildModelFMU(OpenHPL.Tests.HPTaperedFittingsTest,fileNamePrefix="OpenHPL_OpenHPL_Tests_HPTaperedFittingsTest",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(OpenHPL): time 2.265/2.265, allocations: 257.8 MB / 264.8 MB, free: 15.95 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1528/2.417, allocations: 62.55 MB / 327.4 MB, free: 1.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/2.729, allocations: 60.22 MB / 387.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/2.895, allocations: 89.76 MB / 477.3 MB, free: 13.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004333/2.896, allocations: 87.94 kB / 477.4 MB, free: 13.82 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.1489/3.045, allocations: 27.52 MB / 0.4931 GB, free: 2.219 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/3.045, allocations: 8 kB / 0.4931 GB, free: 2.211 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/3.046, allocations: 174.3 kB / 0.4933 GB, free: 2.039 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/3.048, allocations: 0.6033 MB / 0.4939 GB, free: 1.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/3.048, allocations: 165 kB / 0.494 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/3.049, allocations: 75.91 kB / 0.4941 GB, free: 1.133 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00364/3.052, allocations: 0.9845 MB / 0.4951 GB, free: 148 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/3.056, allocations: 0.9904 MB / 0.496 GB, free: 15.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.363e-05/3.056, allocations: 8 kB / 0.496 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/3.056, allocations: 3.938 kB / 0.496 GB, free: 15.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/3.057, allocations: 28 kB / 0.4961 GB, free: 15.08 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/3.071, allocations: 3.531 MB / 0.4995 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00829/3.079, allocations: 1.212 MB / 0.5007 GB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/3.081, allocations: 397.4 kB / 0.5011 GB, free: 9.84 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001361/3.082, allocations: 0.8662 MB / 0.5019 GB, free: 8.789 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.928e-05/3.082, allocations: 54.59 kB / 0.502 GB, free: 8.727 MB / 442.7 MB Notification: Performance of pre-optimization done (n=116): time 4.258e-06/3.082, allocations: 0 / 0.502 GB, free: 8.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.0236/3.106, allocations: 4.042 MB / 0.5059 GB, free: 4.457 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/3.106, allocations: 144.5 kB / 0.5061 GB, free: 4.285 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/3.107, allocations: 0.6174 MB / 0.5067 GB, free: 3.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003367/3.108, allocations: 29.7 kB / 0.5067 GB, free: 3.625 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/3.108, allocations: 494.7 kB / 0.5072 GB, free: 3.133 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/3.109, allocations: 449.3 kB / 0.5076 GB, free: 2.688 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/3.109, allocations: 0 / 0.5076 GB, free: 2.688 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002985/3.109, allocations: 418.7 kB / 0.508 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/3.111, allocations: 416 kB / 0.5084 GB, free: 1.863 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/3.113, allocations: 0.7494 MB / 0.5091 GB, free: 0.9844 MB / 442.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe4.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe3.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe2.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe1.M = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.02715/3.14, allocations: 2.685 MB / 0.5117 GB, free: 14.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.125e-05/3.14, allocations: 4 kB / 0.5117 GB, free: 14.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.0108/3.151, allocations: 1.866 MB / 0.5136 GB, free: 12.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/3.151, allocations: 7.438 kB / 0.5136 GB, free: 12.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.88e-05/3.151, allocations: 12 kB / 0.5136 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008128/3.159, allocations: 0.773 MB / 0.5143 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004898/3.164, allocations: 363.5 kB / 0.5147 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008126/3.172, allocations: 3.189 MB / 0.5178 GB, free: 7.891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/3.175, allocations: 12 kB / 0.5178 GB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004238/3.175, allocations: 67.98 kB / 0.5179 GB, free: 7.812 MB / 458.7 MB Warning: Assuming redundant initial conditions for the following 4 initial equations: $DER.pipe4.M = 0.0 $DER.pipe3.M = 0.0 $DER.pipe2.M = 0.0 $DER.pipe1.M = 0.0 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: SquareReduction1.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: tail3.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: tail4.mdot:DUMMY_STATE(unit = "kg/s" ) "Mass flow rate" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 172 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 11,2 11,2 11,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005646/3.176, allocations: 164.3 kB / 0.518 GB, free: 7.645 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004753/3.176, allocations: 118.5 kB / 0.5181 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008113/3.184, allocations: 1.515 MB / 0.5196 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/3.184, allocations: 16 kB / 0.5196 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-05/3.184, allocations: 4 kB / 0.5196 GB, free: 5.957 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.93e-05/3.184, allocations: 15.95 kB / 0.5197 GB, free: 5.941 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01413/3.199, allocations: 2.887 MB / 0.5225 GB, free: 2.957 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.774e-05/3.199, allocations: 4 kB / 0.5225 GB, free: 2.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009263/3.208, allocations: 0.816 MB / 0.5233 GB, free: 2.137 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003291/3.211, allocations: 438.3 kB / 0.5237 GB, free: 1.684 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003212/3.212, allocations: 19.98 kB / 0.5237 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1837/3.395, allocations: 21.76 MB / 0.545 GB, free: 149.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/3.395, allocations: 4.562 kB / 0.545 GB, free: 149.1 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01095/3.406, allocations: 2.438 MB / 0.5474 GB, free: 148.3 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01036/3.417, allocations: 3.325 MB / 0.5506 GB, free: 147.1 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/3.417, allocations: 182.8 kB / 0.5508 GB, free: 147 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000399/3.418, allocations: 17.22 kB / 0.5508 GB, free: 147 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001687/3.419, allocations: 6.375 kB / 0.5508 GB, free: 147 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003461/3.42, allocations: 74.55 kB / 0.5509 GB, free: 147 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/3.42, allocations: 41.47 kB / 0.5509 GB, free: 147 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0009247/3.421, allocations: 458.1 kB / 0.5513 GB, free: 146.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004297/3.425, allocations: 465.1 kB / 0.5518 GB, free: 146.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 12 (Resorvoir4.m,tail4.Vdot,tailwater4.m,Resorvoir3.m,tail3.Vdot,tailwater3.m,Resorvoir2.m,tail2.Vdot,tailwater2.m,Resorvoir1.m,tail1.Vdot,tailwater1.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/3.427, allocations: 293.5 kB / 0.5521 GB, free: 146.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005179/3.432, allocations: 1.171 MB / 0.5532 GB, free: 146.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/3.432, allocations: 0 / 0.5532 GB, free: 146.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005183/3.437, allocations: 1.59 MB / 0.5548 GB, free: 145.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/3.439, allocations: 179.1 kB / 0.5549 GB, free: 145.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/3.45, allocations: 2.35 MB / 0.5572 GB, free: 145.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/3.452, allocations: 1.332 MB / 0.5585 GB, free: 144.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.826e-06/3.453, allocations: 0 / 0.5585 GB, free: 144.5 MB / 458.7 MB