Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_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 1.972/1.972, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3107/2.283, allocations: 51.07 MB / 267.3 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/2.4, allocations: 48.69 MB / 316 MB, free: 4.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3716/2.772, allocations: 80.84 MB / 396.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005797/2.773, allocations: 106.5 kB / 397 MB, free: 11.84 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.076/2.849, allocations: 10.56 MB / 407.5 MB, free: 2.629 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/2.849, allocations: 16 kB / 407.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/2.849, allocations: 54.97 kB / 407.6 MB, free: 2.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006983/2.85, allocations: 315.3 kB / 407.9 MB, free: 2.227 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/2.85, allocations: 16 kB / 407.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/2.85, allocations: 28 kB / 407.9 MB, free: 2.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001488/2.851, allocations: 0.6512 MB / 408.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/2.853, allocations: 0.6001 MB / 409.2 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/2.853, allocations: 0 / 409.2 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.634e-05/2.853, allocations: 0 / 409.2 MB, free: 1.246 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.141e-05/2.853, allocations: 57.08 kB / 409.3 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004147/2.857, allocations: 1.595 MB / 410.8 MB, free: 15.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/2.858, allocations: 324.1 kB / 411.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/2.859, allocations: 123.3 kB / 411.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.461e-05/2.859, allocations: 15.59 kB / 411.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/2.859, allocations: 30.8 kB / 411.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 3.156e-06/2.859, allocations: 0 / 411.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001252/2.86, allocations: 337.4 kB / 411.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/2.86, allocations: 55.41 kB / 411.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/2.861, allocations: 202.1 kB / 411.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.045e-05/2.861, allocations: 29.7 kB / 411.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/2.861, allocations: 270.9 kB / 412.2 MB, free: 14.42 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/2.861, allocations: 89.59 kB / 412.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/2.861, allocations: 0 / 412.3 MB, free: 14.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/2.861, allocations: 333.7 kB / 412.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/2.862, allocations: 131.9 kB / 412.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/2.863, allocations: 233.6 kB / 413 MB, free: 13.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/2.863, allocations: 168.8 kB / 413.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/2.863, allocations: 11.88 kB / 413.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001739/2.865, allocations: 417 kB / 413.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/2.865, allocations: 4.469 kB / 413.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/2.865, allocations: 11.98 kB / 413.6 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.962e-05/2.865, allocations: 8 kB / 413.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/2.867, allocations: 158.8 kB / 413.7 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/2.87, allocations: 3.65 MB / 417.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007234/2.871, allocations: 39.88 kB / 417.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/2.871, allocations: 23.36 kB / 417.4 MB, free: 9.156 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001719/2.871, allocations: 116.7 kB / 417.6 MB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.791e-05/2.871, allocations: 23.7 kB / 417.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002183/2.873, allocations: 0.562 MB / 418.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/2.873, allocations: 4 kB / 418.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/2.873, allocations: 0 / 418.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/2.873, allocations: 0 / 418.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/2.875, allocations: 394.1 kB / 418.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/2.875, allocations: 0 / 418.5 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/2.876, allocations: 131.8 kB / 418.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/2.876, allocations: 0 / 418.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.516e-05/2.876, allocations: 15.42 kB / 418.7 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002938/2.879, allocations: 3.649 MB / 422.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/2.879, allocations: 3.906 kB / 422.3 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001574/2.881, allocations: 0.6069 MB / 422.9 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002129/2.883, allocations: 1.18 MB / 424.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/2.883, allocations: 157.3 kB / 424.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/2.883, allocations: 0 / 424.3 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/2.884, allocations: 7.984 kB / 424.3 MB, free: 2.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/2.884, allocations: 23.88 kB / 424.3 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/2.884, allocations: 15.44 kB / 424.3 MB, free: 2.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002815/2.884, allocations: 179.8 kB / 424.5 MB, free: 2.293 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001933/2.886, allocations: 186.7 kB / 424.7 MB, free: 2.117 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005514/2.887, allocations: 210.7 kB / 424.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001861/2.889, allocations: 414.5 kB / 425.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/2.889, allocations: 0.9375 kB / 425.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/2.89, allocations: 245 kB / 425.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/2.89, allocations: 23.41 kB / 425.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/2.893, allocations: 0.6638 MB / 426.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009744/2.894, allocations: 0.9661 MB / 427.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/2.894, allocations: 4 kB / 427.2 MB, free: 15.7 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat