Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_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.772/2.772, allocations: 235 MB / 242 MB, free: 9.738 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2013/2.973, allocations: 57.23 MB / 299.3 MB, free: 400 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/3.274, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/3.457, allocations: 83.13 MB / 437.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005418/3.458, allocations: 95.92 kB / 437.3 MB, free: 10.03 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, 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:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.02886/3.487, allocations: 4.294 MB / 441.6 MB, free: 5.691 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.557e-05/3.487, allocations: 8 kB / 441.6 MB, free: 5.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002516/3.489, allocations: 107.6 kB / 441.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006763/3.49, allocations: 218.8 kB / 442 MB, free: 5.324 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/3.49, allocations: 4 kB / 442 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.223e-05/3.49, allocations: 11.94 kB / 442 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/3.491, allocations: 207.7 kB / 442.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/3.492, allocations: 201.3 kB / 442.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/3.492, allocations: 0 / 442.4 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/3.492, allocations: 4 kB / 442.4 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/3.492, allocations: 15.98 kB / 442.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003056/3.495, allocations: 0.6939 MB / 443.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/3.496, allocations: 78.53 kB / 443.2 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/3.496, allocations: 28.84 kB / 443.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/3.496, allocations: 12.14 kB / 443.2 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/3.496, allocations: 38.5 kB / 443.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 4.649e-06/3.496, allocations: 0 / 443.2 MB, free: 3.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006302/3.497, allocations: 97.55 kB / 443.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/3.497, allocations: 55.41 kB / 443.4 MB, free: 3.766 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/3.497, allocations: 127.3 kB / 443.5 MB, free: 3.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/3.497, allocations: 25.7 kB / 443.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/3.497, allocations: 143.7 kB / 443.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/3.497, allocations: 23.66 kB / 443.7 MB, free: 3.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/3.497, allocations: 4 kB / 443.7 MB, free: 3.434 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/3.498, allocations: 322.8 kB / 444 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/3.498, allocations: 31.97 kB / 444 MB, free: 3.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/3.498, allocations: 82.84 kB / 444.1 MB, free: 2.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/3.498, allocations: 55.89 kB / 444.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/3.498, allocations: 3.938 kB / 444.2 MB, free: 2.914 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0007168/3.499, allocations: 145.4 kB / 444.3 MB, free: 2.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/3.499, allocations: 4 kB / 444.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/3.499, allocations: 8.219 kB / 444.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/3.499, allocations: 0 / 444.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003263/3.503, allocations: 116.9 kB / 444.5 MB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/3.506, allocations: 1.848 MB / 446.3 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/3.506, allocations: 19.89 kB / 446.3 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/3.506, allocations: 8 kB / 446.3 MB, free: 0.6953 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * 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.0001393/3.506, allocations: 109 kB / 446.4 MB, free: 0.582 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/3.506, allocations: 11.81 kB / 446.4 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007079/3.507, allocations: 154 kB / 446.6 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/3.507, allocations: 0 / 446.6 MB, free: 416 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/3.507, allocations: 4 kB / 446.6 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/3.507, allocations: 0 / 446.6 MB, free: 412 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/3.507, allocations: 198.1 kB / 446.8 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/3.507, allocations: 0 / 446.8 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002564/3.51, allocations: 99.81 kB / 446.9 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/3.51, allocations: 3.938 kB / 446.9 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/3.51, allocations: 0 / 446.9 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1713/3.682, allocations: 1.793 MB / 448.7 MB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/3.682, allocations: 0 / 448.7 MB, free: 130.9 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003399/3.682, allocations: 212.6 kB / 448.9 MB, free: 130.8 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003814/3.682, allocations: 0.5899 MB / 449.5 MB, free: 130.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/3.682, allocations: 83.98 kB / 449.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.375e-05/3.682, allocations: 3.75 kB / 449.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/3.683, allocations: 8.812 kB / 449.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/3.683, allocations: 7.453 kB / 449.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/3.683, allocations: 0 / 449.6 MB, free: 130.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.078e-05/3.683, allocations: 108.7 kB / 449.7 MB, free: 130.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0014/3.684, allocations: 52.48 kB / 449.7 MB, free: 130.1 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 (11): * Single equations (assignments): 8 * 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.000284/3.685, allocations: 134.4 kB / 449.9 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003057/3.688, allocations: 167.4 kB / 450 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/3.688, allocations: 3.781 kB / 450 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/3.69, allocations: 104.3 kB / 450.1 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/3.69, allocations: 16.03 kB / 450.2 MB, free: 130 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/3.691, allocations: 224.6 kB / 450.4 MB, free: 129.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/3.692, allocations: 0.7598 MB / 451.1 MB, free: 129.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.623e-06/3.692, allocations: 0 / 451.1 MB, free: 129.2 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.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat