Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.96/1.96, allocations: 209.3 MB / 216.3 MB, free: 6.867 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2283/2.188, allocations: 51.06 MB / 267.3 MB, free: 5.199 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/2.308, allocations: 48.69 MB / 316 MB, free: 4.41 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/2.669, allocations: 80.84 MB / 396.8 MB, free: 11.88 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003718/2.67, allocations: 101.5 kB / 396.9 MB, free: 11.82 MB / 330.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.04924/2.719, allocations: 9.061 MB / 406 MB, free: 4.062 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/2.719, allocations: 8 kB / 406 MB, free: 4.055 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.426e-05/2.719, allocations: 31.62 kB / 406 MB, free: 4.023 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/2.72, allocations: 238 kB / 406.3 MB, free: 3.758 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/2.72, allocations: 16 kB / 406.3 MB, free: 3.742 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.938e-05/2.72, allocations: 20 kB / 406.3 MB, free: 3.723 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008502/2.721, allocations: 394.1 kB / 406.7 MB, free: 3.461 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/2.722, allocations: 416.5 kB / 407.1 MB, free: 3.137 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/2.722, allocations: 0 / 407.1 MB, free: 3.137 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/2.722, allocations: 0 / 407.1 MB, free: 3.137 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.512e-05/2.722, allocations: 24.77 kB / 407.1 MB, free: 3.113 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/2.724, allocations: 1.149 MB / 408.3 MB, free: 2.004 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/2.724, allocations: 66.3 kB / 408.3 MB, free: 1.941 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/2.725, allocations: 29.34 kB / 408.4 MB, free: 1.914 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/2.725, allocations: 0 / 408.4 MB, free: 1.914 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/2.725, allocations: 30.56 kB / 408.4 MB, free: 1.875 MB / 330.8 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/2.725, allocations: 0 / 408.4 MB, free: 1.875 MB / 330.8 MB Notification: Performance of matching and sorting (n=7): time 0.0003733/2.725, allocations: 97.25 kB / 408.5 MB, free: 1.781 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/2.725, allocations: 55.41 kB / 408.5 MB, free: 1.715 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/2.725, allocations: 157.5 kB / 408.7 MB, free: 1.566 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/2.725, allocations: 25.7 kB / 408.7 MB, free: 1.535 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/2.726, allocations: 219 kB / 408.9 MB, free: 1.332 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/2.726, allocations: 27.52 kB / 409 MB, free: 1.309 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.353e-05/2.726, allocations: 3.938 kB / 409 MB, free: 1.305 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001691/2.726, allocations: 322.7 kB / 409.3 MB, free: 0.9844 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/2.726, allocations: 35.73 kB / 409.3 MB, free: 0.957 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/2.726, allocations: 164.8 kB / 409.5 MB, free: 0.7539 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/2.726, allocations: 69.77 kB / 409.5 MB, free: 0.6953 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/2.726, allocations: 0 / 409.5 MB, free: 0.6953 MB / 330.8 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005125/2.727, allocations: 193.3 kB / 409.7 MB, free: 0.5156 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/2.727, allocations: 8 kB / 409.7 MB, free: 0.5078 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/2.727, allocations: 4 kB / 409.8 MB, free: 0.5039 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/2.727, allocations: 4 kB / 409.8 MB, free: 0.5 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/2.728, allocations: 91.06 kB / 409.8 MB, free: 424 kB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/2.729, allocations: 1.793 MB / 411.6 MB, free: 14.56 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/2.729, allocations: 32.02 kB / 411.7 MB, free: 14.53 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/2.73, allocations: 12 kB / 411.7 MB, free: 14.52 MB / 346.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001463/2.73, allocations: 116.8 kB / 411.8 MB, free: 14.4 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/2.73, allocations: 15.89 kB / 411.8 MB, free: 14.39 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009915/2.731, allocations: 219.5 kB / 412 MB, free: 14.18 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/2.731, allocations: 4 kB / 412 MB, free: 14.18 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/2.731, allocations: 0 / 412 MB, free: 14.18 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/2.731, allocations: 0 / 412 MB, free: 14.18 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/2.731, allocations: 231.1 kB / 412.3 MB, free: 13.94 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/2.731, allocations: 0 / 412.3 MB, free: 13.94 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/2.732, allocations: 62.77 kB / 412.3 MB, free: 13.88 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/2.732, allocations: 7.906 kB / 412.3 MB, free: 13.87 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/2.732, allocations: 0 / 412.3 MB, free: 13.87 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/2.733, allocations: 1.787 MB / 414.1 MB, free: 12.03 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/2.733, allocations: 0 / 414.1 MB, free: 12.03 MB / 346.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003152/2.734, allocations: 189.4 kB / 414.3 MB, free: 11.84 MB / 346.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004386/2.734, allocations: 0.5674 MB / 414.9 MB, free: 11.26 MB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/2.734, allocations: 89.02 kB / 414.9 MB, free: 11.16 MB / 346.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/2.734, allocations: 0 / 414.9 MB, free: 11.16 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/2.734, allocations: 11.98 kB / 415 MB, free: 11.14 MB / 346.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/2.734, allocations: 7.984 kB / 415 MB, free: 11.14 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/2.735, allocations: 11.89 kB / 415 MB, free: 11.12 MB / 346.8 MB Notification: Performance of sort global known variables: time 0.0001177/2.735, allocations: 118.3 kB / 415.1 MB, free: 11.02 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.002009/2.737, allocations: 99.28 kB / 415.2 MB, free: 10.93 MB / 346.8 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007318/2.737, allocations: 175.5 kB / 415.4 MB, free: 10.75 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0009107/2.738, allocations: 155.3 kB / 415.5 MB, free: 10.61 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/2.738, allocations: 0 / 415.5 MB, free: 10.61 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/2.739, allocations: 77.41 kB / 415.6 MB, free: 10.54 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/2.739, allocations: 19.56 kB / 415.6 MB, free: 10.53 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/2.74, allocations: 297.3 kB / 415.9 MB, free: 10.23 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006416/2.741, allocations: 0.8226 MB / 416.7 MB, free: 9.387 MB / 346.8 MB Notification: Performance of SimCode: time 1.293e-06/2.741, allocations: 0 / 416.7 MB, free: 9.387 MB / 346.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat