Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.697e-05, allocations: 4 kB / 348.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 61.88 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.158/1.284, allocations: 339.7 MB / 0.7325 GB, free: 64.66 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/1.285, allocations: 90.12 kB / 0.7325 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.221/3.506, allocations: 463.9 MB / 1.186 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.385e-06/3.506, allocations: 0 / 1.186 GB, free: 35.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001887/3.506, allocations: 47.92 kB / 1.186 GB, free: 35.67 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.007314/3.514, allocations: 1.94 MB / 1.187 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/3.514, allocations: 8.875 kB / 1.188 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005345/3.514, allocations: 194.5 kB / 1.188 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/3.517, allocations: 233.8 kB / 1.188 GB, free: 33.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004739/3.522, allocations: 1.095 MB / 1.189 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/3.522, allocations: 98.66 kB / 1.189 GB, free: 32.01 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/3.522, allocations: 128 kB / 1.189 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00701/3.529, allocations: 1.88 MB / 1.191 GB, free: 29.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.289e-05/3.529, allocations: 11.88 kB / 1.191 GB, free: 29.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005004/3.53, allocations: 71.94 kB / 1.191 GB, free: 29.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.62e-05/3.53, allocations: 36 kB / 1.191 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005207/3.535, allocations: 1.523 MB / 1.193 GB, free: 28.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/3.551, allocations: 9.266 MB / 1.202 GB, free: 18.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002853/3.554, allocations: 1.011 MB / 1.203 GB, free: 17.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/3.555, allocations: 487.8 kB / 1.203 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008372/3.563, allocations: 6.02 MB / 1.209 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/3.563, allocations: 51.34 kB / 1.209 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 4.157e-06/3.563, allocations: 0 / 1.209 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95): time 0.004539/3.568, allocations: 1.022 MB / 1.21 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/3.568, allocations: 376.6 kB / 1.21 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/3.57, allocations: 0.9962 MB / 1.211 GB, free: 7.273 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000348/3.57, allocations: 49.7 kB / 1.211 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006137/3.571, allocations: 0.7708 MB / 1.212 GB, free: 6.438 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003907/3.571, allocations: 335.2 kB / 1.213 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/3.571, allocations: 39.94 kB / 1.213 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001054/3.572, allocations: 361.9 kB / 1.213 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009556/3.573, allocations: 371.9 kB / 1.213 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/3.574, allocations: 0.963 MB / 1.214 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/3.575, allocations: 0.5242 MB / 1.215 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/3.575, allocations: 8 kB / 1.215 GB, free: 3.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003854/3.579, allocations: 1.413 MB / 1.216 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/3.579, allocations: 15.94 kB / 1.216 GB, free: 2.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/3.579, allocations: 19.94 kB / 1.216 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.852e-05/3.579, allocations: 32 kB / 1.216 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005459/3.585, allocations: 0.5383 MB / 1.217 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/3.587, allocations: 1.871 MB / 1.219 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/3.589, allocations: 214.3 kB / 1.219 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/3.59, allocations: 87.95 kB / 1.219 GB, free: 15.31 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 176 * 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.0005158/3.59, allocations: 212.4 kB / 1.219 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/3.591, allocations: 146.3 kB / 1.219 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007013/3.598, allocations: 2.309 MB / 1.221 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/3.598, allocations: 12 kB / 1.221 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/3.598, allocations: 3.984 kB / 1.221 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.201e-05/3.598, allocations: 7.984 kB / 1.221 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/3.608, allocations: 3.719 MB / 1.225 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.21e-05/3.608, allocations: 8 kB / 1.225 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/3.61, allocations: 307.7 kB / 1.225 GB, free: 8.262 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001181/3.612, allocations: 104.7 kB / 1.225 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/3.612, allocations: 51.77 kB / 1.226 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/3.614, allocations: 1.787 MB / 1.227 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.416e-05/3.614, allocations: 11.94 kB / 1.227 GB, free: 6.238 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00479/3.619, allocations: 1.998 MB / 1.229 GB, free: 3.891 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008895/3.62, allocations: 286.7 kB / 1.229 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005016/3.621, allocations: 35.94 kB / 1.23 GB, free: 3.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002357/3.623, allocations: 107.8 kB / 1.23 GB, free: 3.449 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003102/3.623, allocations: 104.5 kB / 1.23 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003088/3.624, allocations: 83.92 kB / 1.23 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001835/3.625, allocations: 0.7816 MB / 1.231 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.81e-07/3.625, allocations: 0 / 1.231 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004799/3.63, allocations: 0.9518 MB / 1.231 GB, free: 1.523 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.4104/4.041, allocations: 5.726 MB / 1.237 GB, free: 68.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007187/4.048, allocations: 1.298 MB / 1.238 GB, free: 68.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.806e-05/4.048, allocations: 6.156 kB / 1.238 GB, free: 68.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003314/4.051, allocations: 0.6713 MB / 1.239 GB, free: 68.14 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007301/4.059, allocations: 0.784 MB / 1.24 GB, free: 68.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/4.069, allocations: 2.642 MB / 1.242 GB, free: 67.35 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/4.07, allocations: 1.297 MB / 1.244 GB, free: 66.63 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003426/4.074, allocations: 462.2 kB / 1.244 GB, free: 66.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/4.075, allocations: 0.6454 MB / 1.245 GB, free: 66.61 MB / 0.5417 GB Notification: Performance of SimCode: time 1.342e-06/4.075, allocations: 1.969 kB / 1.245 GB, free: 66.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/4.24, allocations: 58.47 MB / 1.302 GB, free: 63.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002572/4.24, allocations: 246.8 kB / 1.302 GB, free: 63.25 MB / 0.5417 GB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:998:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQuot_47656F6D657472792466726F6D5F5F6470332467656F6D65747279' (aka 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry') to parameter of incompatible type 'Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con' data->localData[0]->realVars[199] /* from_dp3.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQuot_47656F6D657472792466726F6D5F5F6470332467656F6D65747279(threadData, data->simulationInfo->realParameter[105] /* from_dp3.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[104] /* from_dp3.geometry.R_0 PARAM */, data->simulationInfo->realParameter[106] /* from_dp3.geometry.delta PARAM */, data->simulationInfo->realParameter[103] /* from_dp3.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[196] /* from_dp3.dp variable */, 0.001, 0.001, data->simulationInfo->realParameter[101] /* from_dp3.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[196] /* from_dp3.dp variable */, 995.586, 995.586, data->simulationInfo->realParameter[101] /* from_dp3.dp_small PARAM */)), data->localData[0]->realVars[196] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_functions.h:1923:187: note: passing argument to parameter '_IN_con' here modelica_real omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData_t *threadData, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__con _IN_con, Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var _IN_var, modelica_real _dp); ^ 2 warnings and 1 error generated. : recipe for target 'ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o' failed make: *** [ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1