Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_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.561/2.561, allocations: 235 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1633/2.725, allocations: 57.23 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/3.012, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.469/3.481, allocations: 95.7 MB / 449.8 MB, free: 32.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005952/3.481, allocations: 93.61 kB / 449.9 MB, free: 32.81 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.1617/3.643, allocations: 22.7 MB / 472.6 MB, free: 30.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/3.643, allocations: 11.72 kB / 472.6 MB, free: 30.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/3.643, allocations: 35.16 kB / 472.6 MB, free: 30.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/3.644, allocations: 270.8 kB / 472.9 MB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/3.644, allocations: 11.72 kB / 472.9 MB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-05/3.644, allocations: 19.62 kB / 472.9 MB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001124/3.645, allocations: 462.4 kB / 473.4 MB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/3.646, allocations: 444 kB / 473.8 MB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/3.646, allocations: 0 / 473.8 MB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.574e-05/3.646, allocations: 3.938 kB / 473.8 MB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.521e-05/3.646, allocations: 41.86 kB / 473.9 MB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/3.65, allocations: 1.23 MB / 475.1 MB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/3.651, allocations: 348.7 kB / 475.4 MB, free: 29.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/3.651, allocations: 114.4 kB / 475.5 MB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/3.652, allocations: 6.703 kB / 475.5 MB, free: 29.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/3.652, allocations: 42.22 kB / 475.6 MB, free: 29.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.106e-06/3.652, allocations: 0 / 475.6 MB, free: 29.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.001007/3.653, allocations: 272.7 kB / 475.8 MB, free: 29.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/3.653, allocations: 59.25 kB / 475.9 MB, free: 29.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/3.653, allocations: 164.7 kB / 476.1 MB, free: 29.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/3.653, allocations: 29.7 kB / 476.1 MB, free: 29.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/3.653, allocations: 203.7 kB / 476.3 MB, free: 29.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.822e-05/3.653, allocations: 85.81 kB / 476.4 MB, free: 29.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/3.653, allocations: 0 / 476.4 MB, free: 29.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.931e-05/3.653, allocations: 328.9 kB / 476.7 MB, free: 28.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003246/3.654, allocations: 110.1 kB / 476.8 MB, free: 28.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/3.654, allocations: 135.5 kB / 476.9 MB, free: 28.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/3.654, allocations: 140 kB / 477.1 MB, free: 28.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/3.655, allocations: 0 / 477.1 MB, free: 28.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001233/3.656, allocations: 325.7 kB / 477.4 MB, free: 28.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/3.656, allocations: 3.906 kB / 477.4 MB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/3.656, allocations: 3.906 kB / 477.4 MB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/3.656, allocations: 0 / 477.4 MB, free: 28.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/3.657, allocations: 130 kB / 477.5 MB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/3.659, allocations: 3.036 MB / 480.6 MB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/3.66, allocations: 33.69 kB / 480.6 MB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/3.66, allocations: 10.11 kB / 480.6 MB, free: 25.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/3.66, allocations: 108.9 kB / 480.7 MB, free: 25.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/3.66, allocations: 15.66 kB / 480.7 MB, free: 25.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/3.662, allocations: 467.9 kB / 481.2 MB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/3.662, allocations: 9.781 kB / 481.2 MB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/3.662, allocations: 0 / 481.2 MB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/3.662, allocations: 1.594 kB / 481.2 MB, free: 25.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006892/3.663, allocations: 325.1 kB / 481.5 MB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/3.663, allocations: 3.938 kB / 481.5 MB, free: 25.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/3.664, allocations: 113.6 kB / 481.6 MB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.076e-05/3.664, allocations: 3.906 kB / 481.6 MB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/3.664, allocations: 6.156 kB / 481.6 MB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/3.666, allocations: 3.043 MB / 484.7 MB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/3.666, allocations: 0 / 484.7 MB, free: 22.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000992/3.667, allocations: 409.4 kB / 485.1 MB, free: 22.25 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001/3.668, allocations: 0.7676 MB / 485.8 MB, free: 21.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/3.668, allocations: 106.4 kB / 486 MB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/3.668, allocations: 0 / 486 MB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/3.669, allocations: 11.08 kB / 486 MB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/3.669, allocations: 21.09 kB / 486 MB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/3.669, allocations: 14.91 kB / 486 MB, free: 21.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001996/3.669, allocations: 126.8 kB / 486.1 MB, free: 21.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003591/3.673, allocations: 225.5 kB / 486.3 MB, free: 21.47 MB / 378.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/3.674, allocations: 279.3 kB / 486.6 MB, free: 21.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002288/3.677, allocations: 337.6 kB / 486.9 MB, free: 21.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/3.677, allocations: 0 / 486.9 MB, free: 21.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/3.678, allocations: 215.5 kB / 487.2 MB, free: 21.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/3.679, allocations: 13.67 kB / 487.2 MB, free: 21.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/3.681, allocations: 480.8 kB / 487.6 MB, free: 21.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008803/3.682, allocations: 0.8834 MB / 488.5 MB, free: 20.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/3.682, allocations: 0 / 488.5 MB, free: 20.45 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.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat