Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",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.009/2.009, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2475/2.256, allocations: 51.06 MB / 267.3 MB, free: 5.109 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/2.374, allocations: 48.69 MB / 316 MB, free: 4.316 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3881/2.762, allocations: 90.15 MB / 406.2 MB, free: 2.578 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/2.762, allocations: 101.1 kB / 406.3 MB, free: 2.52 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6094:11-6097:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.1103/2.872, allocations: 18.05 MB / 424.3 MB, free: 3.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.811e-05/2.872, allocations: 12 kB / 424.3 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/2.873, allocations: 27.62 kB / 424.3 MB, free: 3.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000863/2.874, allocations: 237.6 kB / 424.6 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/2.874, allocations: 11.91 kB / 424.6 MB, free: 2.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/2.874, allocations: 16 kB / 424.6 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001577/2.875, allocations: 418.7 kB / 425 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/2.877, allocations: 402.3 kB / 425.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/2.877, allocations: 0 / 425.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.777e-05/2.877, allocations: 3.938 kB / 425.4 MB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/2.877, allocations: 44.12 kB / 425.4 MB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005809/2.883, allocations: 1.285 MB / 426.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008963/2.884, allocations: 264.6 kB / 427 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/2.884, allocations: 82.12 kB / 427.1 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.186e-05/2.884, allocations: 8.375 kB / 427.1 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/2.884, allocations: 42.19 kB / 427.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 5.34e-06/2.884, allocations: 0 / 427.1 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006923/2.885, allocations: 218.6 kB / 427.3 MB, free: 400 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/2.885, allocations: 55.41 kB / 427.4 MB, free: 332 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/2.885, allocations: 120.5 kB / 427.5 MB, free: 216 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/2.885, allocations: 25.7 kB / 427.5 MB, free: 184 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/2.886, allocations: 196 kB / 427.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/2.886, allocations: 87.25 kB / 427.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/2.886, allocations: 0 / 427.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/2.886, allocations: 333.4 kB / 428.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002036/2.886, allocations: 75.7 kB / 428.2 MB, free: 15.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/2.886, allocations: 154.3 kB / 428.4 MB, free: 15.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/2.887, allocations: 94.42 kB / 428.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/2.887, allocations: 8 kB / 428.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000838/2.888, allocations: 262.7 kB / 428.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/2.888, allocations: 4 kB / 428.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/2.888, allocations: 7.938 kB / 428.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/2.888, allocations: 7.906 kB / 428.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/2.889, allocations: 139.5 kB / 428.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/2.891, allocations: 2.377 MB / 431.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004029/2.891, allocations: 28.03 kB / 431.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/2.891, allocations: 18.55 kB / 431.3 MB, free: 12.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001643/2.891, allocations: 113.9 kB / 431.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-05/2.892, allocations: 15.81 kB / 431.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/2.893, allocations: 375.5 kB / 431.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/2.893, allocations: 4 kB / 431.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/2.893, allocations: 0 / 431.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/2.893, allocations: 7.984 kB / 431.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/2.894, allocations: 272.4 kB / 432.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/2.894, allocations: 0 / 432.1 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/2.895, allocations: 118.2 kB / 432.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/2.895, allocations: 0 / 432.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.344e-05/2.895, allocations: 9.422 kB / 432.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/2.897, allocations: 2.379 MB / 434.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/2.897, allocations: 288 / 434.6 MB, free: 9.062 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007491/2.898, allocations: 339.6 kB / 434.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008454/2.898, allocations: 0.7092 MB / 435.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/2.899, allocations: 92.86 kB / 435.7 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/2.899, allocations: 4 kB / 435.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/2.899, allocations: 15.89 kB / 435.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/2.899, allocations: 19.97 kB / 435.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.025e-05/2.899, allocations: 15.23 kB / 435.7 MB, free: 7.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.863e-05/2.899, allocations: 96.39 kB / 435.8 MB, free: 7.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002017/2.901, allocations: 263.5 kB / 436.1 MB, free: 7.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001165/2.902, allocations: 387.6 kB / 436.5 MB, free: 7.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001282/2.904, allocations: 262.6 kB / 436.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/2.904, allocations: 0.6875 kB / 436.7 MB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008376/2.905, allocations: 167 kB / 436.9 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/2.905, allocations: 6.172 kB / 436.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/2.906, allocations: 383.8 kB / 437.3 MB, free: 6.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007734/2.907, allocations: 0.8486 MB / 438.1 MB, free: 5.578 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/2.907, allocations: 0 / 438.1 MB, free: 5.578 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat