Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.714/2.714, allocations: 235.1 MB / 242 MB, free: 9.73 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1824/2.897, allocations: 57.21 MB / 299.2 MB, free: 412 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/3.202, allocations: 54.86 MB / 354.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/3.394, allocations: 87.05 MB / 441.2 MB, free: 6.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004285/3.395, allocations: 95.92 kB / 441.2 MB, free: 6.09 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2935/3.688, allocations: 10.57 MB / 451.8 MB, free: 86.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/3.688, allocations: 8.812 kB / 451.8 MB, free: 86.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/3.689, allocations: 53.34 kB / 451.9 MB, free: 86.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/3.69, allocations: 327.9 kB / 452.2 MB, free: 86.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/3.69, allocations: 22.56 kB / 452.2 MB, free: 86.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/3.69, allocations: 27.03 kB / 452.2 MB, free: 86.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002506/3.692, allocations: 0.6511 MB / 452.9 MB, free: 86.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/3.695, allocations: 0.5969 MB / 453.5 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/3.695, allocations: 0 / 453.5 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-05/3.695, allocations: 0 / 453.5 MB, free: 86.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001314/3.695, allocations: 67.2 kB / 453.6 MB, free: 86.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006298/3.701, allocations: 1.58 MB / 455.1 MB, free: 85.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008558/3.702, allocations: 315.6 kB / 455.4 MB, free: 85.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/3.703, allocations: 132 kB / 455.6 MB, free: 85.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-05/3.703, allocations: 11.7 kB / 455.6 MB, free: 85.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/3.703, allocations: 32.17 kB / 455.6 MB, free: 85.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.206e-06/3.703, allocations: 4 kB / 455.6 MB, free: 85.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=27): time 0.001411/3.704, allocations: 329.6 kB / 455.9 MB, free: 85.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/3.704, allocations: 59.91 kB / 456 MB, free: 85.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/3.705, allocations: 200.6 kB / 456.2 MB, free: 85.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/3.705, allocations: 25.7 kB / 456.2 MB, free: 84.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/3.705, allocations: 270.8 kB / 456.5 MB, free: 84.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/3.705, allocations: 91.62 kB / 456.6 MB, free: 84.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/3.705, allocations: 0 / 456.6 MB, free: 84.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/3.705, allocations: 340.5 kB / 456.9 MB, free: 84.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/3.706, allocations: 131.1 kB / 457 MB, free: 84.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/3.706, allocations: 231 kB / 457.3 MB, free: 84.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/3.707, allocations: 175.2 kB / 457.4 MB, free: 84.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/3.707, allocations: 1.375 kB / 457.4 MB, free: 84.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00132/3.708, allocations: 410.7 kB / 457.8 MB, free: 84.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/3.708, allocations: 9.656 kB / 457.8 MB, free: 84.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/3.708, allocations: 7.75 kB / 457.9 MB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.334e-05/3.708, allocations: 6.516 kB / 457.9 MB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/3.71, allocations: 160.1 kB / 458 MB, free: 84.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/3.713, allocations: 3.65 MB / 461.7 MB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/3.714, allocations: 39.78 kB / 461.7 MB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/3.714, allocations: 24.45 kB / 461.7 MB, free: 80.43 MB / 378.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.0002627/3.715, allocations: 117.4 kB / 461.8 MB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/3.715, allocations: 25.81 kB / 461.9 MB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003862/3.719, allocations: 0.5488 MB / 462.4 MB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/3.719, allocations: 4.703 kB / 462.4 MB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/3.719, allocations: 0 / 462.4 MB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/3.719, allocations: 5.734 kB / 462.4 MB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/3.721, allocations: 383.2 kB / 462.8 MB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/3.721, allocations: 1.906 kB / 462.8 MB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002105/3.723, allocations: 137.5 kB / 462.9 MB, free: 79.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.069e-05/3.723, allocations: 9.375 kB / 462.9 MB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.492e-05/3.723, allocations: 7 kB / 463 MB, free: 79.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003232/3.726, allocations: 3.648 MB / 466.6 MB, free: 76.31 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/3.726, allocations: 0 / 466.6 MB, free: 76.31 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002424/3.729, allocations: 0.6121 MB / 467.2 MB, free: 76.06 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002474/3.731, allocations: 1.182 MB / 468.4 MB, free: 75.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003359/3.732, allocations: 156.2 kB / 468.5 MB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.876e-05/3.732, allocations: 0.5625 kB / 468.5 MB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004585/3.732, allocations: 10.23 kB / 468.6 MB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/3.732, allocations: 20.78 kB / 468.6 MB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/3.732, allocations: 16.25 kB / 468.6 MB, free: 75.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003207/3.733, allocations: 179.8 kB / 468.8 MB, free: 75.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002678/3.736, allocations: 195.6 kB / 469 MB, free: 75.08 MB / 378.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.0008835/3.736, allocations: 206.2 kB / 469.2 MB, free: 74.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003008/3.739, allocations: 417.8 kB / 469.6 MB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/3.74, allocations: 0 / 469.6 MB, free: 74.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002057/3.742, allocations: 245 kB / 469.8 MB, free: 74.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006171/3.742, allocations: 17.17 kB / 469.8 MB, free: 74.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003593/3.746, allocations: 0.6686 MB / 470.5 MB, free: 73.92 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008747/3.747, allocations: 0.9727 MB / 471.5 MB, free: 72.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.343e-06/3.747, allocations: 0 / 471.5 MB, free: 72.97 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat