Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_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.683/2.683, allocations: 235.1 MB / 242 MB, free: 9.652 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1919/2.875, allocations: 57.22 MB / 299.2 MB, free: 320 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/3.201, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/3.373, allocations: 84.3 MB / 438.4 MB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006733/3.373, allocations: 95.94 kB / 438.5 MB, free: 8.871 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.02963/3.403, allocations: 3.497 MB / 442 MB, free: 5.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.431e-05/3.403, allocations: 8 kB / 442 MB, free: 5.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007875/3.404, allocations: 39.86 kB / 442 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/3.404, allocations: 190.9 kB / 442.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/3.405, allocations: 7.906 kB / 442.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.075e-05/3.405, allocations: 4 kB / 442.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005118/3.405, allocations: 91.95 kB / 442.3 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/3.406, allocations: 159.9 kB / 442.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/3.406, allocations: 0 / 442.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/3.406, allocations: 0 / 442.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.192e-05/3.406, allocations: 15.98 kB / 442.5 MB, free: 4.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/3.408, allocations: 0.6177 MB / 443.1 MB, free: 4.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/3.409, allocations: 94.7 kB / 443.2 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/3.409, allocations: 28.84 kB / 443.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/3.409, allocations: 0 / 443.2 MB, free: 3.938 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/3.409, allocations: 34.5 kB / 443.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.897e-06/3.409, allocations: 0 / 443.3 MB, free: 3.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000492/3.41, allocations: 77.58 kB / 443.4 MB, free: 3.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/3.41, allocations: 55.41 kB / 443.4 MB, free: 3.746 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/3.41, allocations: 117.1 kB / 443.5 MB, free: 3.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/3.41, allocations: 25.7 kB / 443.5 MB, free: 3.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/3.41, allocations: 116 kB / 443.7 MB, free: 3.469 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/3.41, allocations: 23.56 kB / 443.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/3.41, allocations: 0 / 443.7 MB, free: 3.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002124/3.411, allocations: 322.8 kB / 444 MB, free: 3.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/3.411, allocations: 23.98 kB / 444 MB, free: 3.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/3.411, allocations: 87.59 kB / 444.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/3.411, allocations: 31.92 kB / 444.1 MB, free: 2.953 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/3.411, allocations: 4 kB / 444.1 MB, free: 2.949 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005373/3.412, allocations: 121.4 kB / 444.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/3.412, allocations: 4 kB / 444.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/3.412, allocations: 4 kB / 444.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/3.412, allocations: 4 kB / 444.3 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006501/3.413, allocations: 48.22 kB / 444.3 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/3.413, allocations: 4 kB / 444.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/3.413, allocations: 19.88 kB / 444.3 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/3.413, allocations: 12 kB / 444.4 MB, free: 2.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/3.413, allocations: 108.9 kB / 444.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.384e-05/3.413, allocations: 11.91 kB / 444.5 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005157/3.414, allocations: 98.16 kB / 444.6 MB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/3.414, allocations: 11.84 kB / 444.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/3.414, allocations: 0 / 444.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/3.414, allocations: 0 / 444.6 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/3.414, allocations: 162.2 kB / 444.7 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/3.414, allocations: 3.938 kB / 444.7 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/3.415, allocations: 31.98 kB / 444.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/3.415, allocations: 0 / 444.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/3.415, allocations: 3.906 kB / 444.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/3.415, allocations: 0 / 444.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/3.415, allocations: 7.984 kB / 444.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004865/3.416, allocations: 183.4 kB / 445 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006497/3.416, allocations: 0.5509 MB / 445.5 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.363e-05/3.416, allocations: 85.02 kB / 445.6 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.454e-05/3.417, allocations: 3.984 kB / 445.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/3.417, allocations: 15.91 kB / 445.6 MB, free: 1.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/3.417, allocations: 3.984 kB / 445.6 MB, free: 1.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/3.417, allocations: 4 kB / 445.6 MB, free: 1.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000129/3.417, allocations: 87.28 kB / 445.7 MB, free: 1.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002452/3.42, allocations: 27.98 kB / 445.7 MB, free: 1.242 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 (8): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003459/3.42, allocations: 127.2 kB / 445.9 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004254/3.42, allocations: 76.16 kB / 445.9 MB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/3.421, allocations: 0 / 445.9 MB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/3.421, allocations: 27.94 kB / 446 MB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/3.421, allocations: 7.891 kB / 446 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/3.422, allocations: 135.5 kB / 446.1 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006657/3.423, allocations: 0.7309 MB / 446.8 MB, free: 88 kB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/3.423, allocations: 192 / 446.8 MB, free: 88 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat