Running command: "" <> buildModelFMU(OpenHPL.Tests.HPAllTypeFittingsTest,fileNamePrefix="OpenHPL_OpenHPL_Tests_HPAllTypeFittingsTest",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.285/2.285, allocations: 257.8 MB / 264.8 MB, free: 15.97 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2125/2.498, allocations: 62.54 MB / 327.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/2.843, allocations: 60.22 MB / 387.6 MB, free: 7.059 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/3.009, allocations: 90.37 MB / 477.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/3.01, allocations: 83.95 kB / 478 MB, free: 13.22 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.276/3.286, allocations: 50.08 MB / 0.5157 GB, free: 11.01 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.613e-05/3.286, allocations: 11.94 kB / 0.5157 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004195/3.29, allocations: 340.7 kB / 0.5161 GB, free: 10.66 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005408/3.295, allocations: 1.014 MB / 0.5171 GB, free: 9.594 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006191/3.296, allocations: 330 kB / 0.5174 GB, free: 9.219 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001558/3.298, allocations: 159.8 kB / 0.5175 GB, free: 9.062 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009481/3.307, allocations: 1.965 MB / 0.5194 GB, free: 7.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008487/3.316, allocations: 1.952 MB / 0.5214 GB, free: 5.066 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/3.316, allocations: 11.84 kB / 0.5214 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003168/3.316, allocations: 0 / 0.5214 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.723e-05/3.316, allocations: 55.98 kB / 0.5214 GB, free: 5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2117/3.528, allocations: 6.903 MB / 0.5282 GB, free: 153.4 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01632/3.544, allocations: 2.422 MB / 0.5305 GB, free: 153.2 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002648/3.547, allocations: 0.7768 MB / 0.5313 GB, free: 153.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/3.549, allocations: 0.8938 MB / 0.5322 GB, free: 152.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/3.549, allocations: 73.34 kB / 0.5322 GB, free: 152.2 MB / 458.7 MB Notification: Performance of pre-optimization done (n=232): time 6.202e-06/3.549, allocations: 0 / 0.5322 GB, free: 152.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=264): time 0.03411/3.583, allocations: 9.012 MB / 0.541 GB, free: 148.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/3.583, allocations: 264.1 kB / 0.5413 GB, free: 148.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/3.586, allocations: 1.135 MB / 0.5424 GB, free: 148.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006586/3.586, allocations: 29.05 kB / 0.5424 GB, free: 148.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007568/3.587, allocations: 0.8742 MB / 0.5433 GB, free: 147.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00207/3.589, allocations: 0.8817 MB / 0.5441 GB, free: 147.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008999/3.59, allocations: 2.812 kB / 0.5441 GB, free: 147.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003801/3.591, allocations: 438.9 kB / 0.5446 GB, free: 146.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005087/3.596, allocations: 0.8101 MB / 0.5453 GB, free: 146.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005724/3.601, allocations: 1.472 MB / 0.5468 GB, free: 146.1 MB / 458.7 MB Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe8.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe7.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe6.M = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.pipe5.M = 0.0 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.05588/3.657, allocations: 5.366 MB / 0.552 GB, free: 145.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.021e-05/3.658, allocations: 6.656 kB / 0.552 GB, free: 145.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=448) (initialization): time 0.01762/3.675, allocations: 3.628 MB / 0.5556 GB, free: 144.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/3.675, allocations: 12.69 kB / 0.5556 GB, free: 144.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.033e-05/3.675, allocations: 22.06 kB / 0.5556 GB, free: 144.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01573/3.691, allocations: 1.538 MB / 0.5571 GB, free: 144.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007518/3.699, allocations: 0.7038 MB / 0.5578 GB, free: 144.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/3.715, allocations: 6.363 MB / 0.564 GB, free: 140.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006541/3.722, allocations: 22.28 kB / 0.564 GB, free: 140.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/3.723, allocations: 138.8 kB / 0.5642 GB, free: 140.7 MB / 458.7 MB Warning: Assuming redundant initial conditions for the following 8 initial equations: $DER.pipe8.M = 0.0 $DER.pipe7.M = 0.0 $DER.pipe6.M = 0.0 $DER.pipe5.M = 0.0 $DER.pipe4.M = 0.0 $DER.pipe3.M = 0.0 $DER.pipe2.M = 0.0 $DER.pipe1.M = 0.0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (352): * Single equations (assignments): 344 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {2 11,2 11,2 11,2 11,2 11,2 11,2 11,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001092/3.724, allocations: 187.1 kB / 0.5643 GB, free: 140.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/3.726, allocations: 220.7 kB / 0.5645 GB, free: 140.4 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02132/3.747, allocations: 3.026 MB / 0.5675 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001197/3.747, allocations: 30.34 kB / 0.5675 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.421e-05/3.747, allocations: 9.406 kB / 0.5675 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/3.748, allocations: 15.77 kB / 0.5676 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03375/3.781, allocations: 5.63 MB / 0.5731 GB, free: 137.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.711e-05/3.781, allocations: 9.344 kB / 0.5731 GB, free: 137.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01992/3.801, allocations: 1.625 MB / 0.5746 GB, free: 137.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009418/3.811, allocations: 0.8612 MB / 0.5755 GB, free: 137.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008963/3.812, allocations: 25.42 kB / 0.5755 GB, free: 137.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05266/3.865, allocations: 43.56 MB / 0.618 GB, free: 91.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.507e-05/3.865, allocations: 11.94 kB / 0.6181 GB, free: 91.79 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01803/3.883, allocations: 4.905 MB / 0.6229 GB, free: 86.98 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02812/3.911, allocations: 6.33 MB / 0.629 GB, free: 80.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/3.912, allocations: 288.7 kB / 0.6293 GB, free: 80.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001628/3.914, allocations: 19.2 kB / 0.6293 GB, free: 80.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005679/3.92, allocations: 15.91 kB / 0.6293 GB, free: 80.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/3.921, allocations: 155.9 kB / 0.6295 GB, free: 80.33 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/3.921, allocations: 87.11 kB / 0.6296 GB, free: 80.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.001772/3.923, allocations: 0.81 MB / 0.6304 GB, free: 79.52 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00869/3.932, allocations: 0.7538 MB / 0.6311 GB, free: 78.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 24 (Resorvoir8.m,tail8.Vdot,tailwater8.m,Resorvoir7.m,tail7.Vdot,tailwater7.m,Resorvoir6.m,tail6.Vdot,tailwater6.m,Resorvoir5.m,tail5.Vdot,tailwater5.m,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 (208): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 16 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 16 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00224/3.934, allocations: 320.7 kB / 0.6314 GB, free: 78.54 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01382/3.948, allocations: 2.359 MB / 0.6337 GB, free: 76.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/3.948, allocations: 0 / 0.6337 GB, free: 76.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01063/3.959, allocations: 3.172 MB / 0.6368 GB, free: 73.12 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/3.963, allocations: 341.8 kB / 0.6371 GB, free: 72.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/3.979, allocations: 4.729 MB / 0.6418 GB, free: 68.65 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003739/3.983, allocations: 1.979 MB / 0.6437 GB, free: 67.03 MB / 458.7 MB Notification: Performance of SimCode: time 2.244e-06/3.983, allocations: 0 / 0.6437 GB, free: 67.03 MB / 458.7 MB