Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.326/2.326, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.949e-05/3.96e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1402, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.774/1.914, allocations: 499 MB / 0.888 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/1.915, allocations: 94.69 kB / 0.8881 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.162/3.076, allocations: 224.7 MB / 1.108 GB, free: 114 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.683e-06/3.077, allocations: 0 / 1.108 GB, free: 114 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.539e-05/3.077, allocations: 16.88 kB / 1.108 GB, free: 114 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002604/3.079, allocations: 0.8903 MB / 1.108 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/3.079, allocations: 7.625 kB / 1.108 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/3.079, allocations: 83.92 kB / 1.108 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/3.081, allocations: 139.1 kB / 1.109 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/3.082, allocations: 494.8 kB / 1.109 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.537e-05/3.082, allocations: 33.28 kB / 1.109 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/3.082, allocations: 41.25 kB / 1.109 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/3.084, allocations: 0.5732 MB / 1.11 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/3.084, allocations: 0 / 1.11 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.261e-05/3.084, allocations: 22.03 kB / 1.11 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/3.084, allocations: 9.969 kB / 1.11 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/3.085, allocations: 451.8 kB / 1.11 GB, free: 112.1 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/3.089, allocations: 2.635 MB / 1.113 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009303/3.09, allocations: 300.4 kB / 1.113 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/3.09, allocations: 153.8 kB / 1.113 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000417/3.09, allocations: 436.1 kB / 1.114 GB, free: 109 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/3.091, allocations: 34.84 kB / 1.114 GB, free: 109 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.597e-06/3.091, allocations: 4 kB / 1.114 GB, free: 109 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001466/3.092, allocations: 444.2 kB / 1.114 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/3.092, allocations: 136.2 kB / 1.114 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007041/3.093, allocations: 441.7 kB / 1.115 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-05/3.093, allocations: 29.7 kB / 1.115 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/3.093, allocations: 272 kB / 1.115 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/3.093, allocations: 121.6 kB / 1.115 GB, free: 108 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/3.093, allocations: 11.47 kB / 1.115 GB, free: 108 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001023/3.093, allocations: 366.4 kB / 1.115 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/3.094, allocations: 170.9 kB / 1.116 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/3.094, allocations: 300.2 kB / 1.116 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/3.095, allocations: 211.8 kB / 1.116 GB, free: 107 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/3.095, allocations: 0 / 1.116 GB, free: 107 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001462/3.096, allocations: 0.5873 MB / 1.117 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/3.096, allocations: 11.59 kB / 1.117 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/3.096, allocations: 4 kB / 1.117 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002147/3.099, allocations: 241 kB / 1.117 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/3.1, allocations: 143.8 kB / 1.117 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/3.106, allocations: 23.05 MB / 1.139 GB, free: 81.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000932/3.107, allocations: 75.53 kB / 1.14 GB, free: 81.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/3.108, allocations: 47.98 kB / 1.14 GB, free: 81.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * 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: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/3.108, allocations: 128.9 kB / 1.14 GB, free: 81.15 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/3.108, allocations: 55.44 kB / 1.14 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/3.111, allocations: 1.015 MB / 1.141 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/3.111, allocations: 0 / 1.141 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/3.111, allocations: 11.98 kB / 1.141 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/3.111, allocations: 0 / 1.141 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/3.112, allocations: 0.8961 MB / 1.142 GB, free: 79.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/3.112, allocations: 0 / 1.142 GB, free: 79.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/3.113, allocations: 60.06 kB / 1.142 GB, free: 79.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002048/3.115, allocations: 228.6 kB / 1.142 GB, free: 78.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/3.115, allocations: 16 kB / 1.142 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004716/3.115, allocations: 0.5874 MB / 1.143 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/3.115, allocations: 11.98 kB / 1.143 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009058/3.116, allocations: 0.5004 MB / 1.143 GB, free: 77.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/3.117, allocations: 156.3 kB / 1.143 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/3.117, allocations: 12 kB / 1.143 GB, free: 77.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006881/3.117, allocations: 35.88 kB / 1.143 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/3.117, allocations: 31.86 kB / 1.143 GB, free: 77.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/3.118, allocations: 15.98 kB / 1.143 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006467/3.118, allocations: 377.5 kB / 1.144 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/3.118, allocations: 0 / 1.144 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002396/3.121, allocations: 431.5 kB / 1.144 GB, free: 76.53 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003951/3.125, allocations: 2.447 MB / 1.146 GB, free: 74.17 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001258/3.126, allocations: 367.6 kB / 1.147 GB, free: 73.81 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/3.126, allocations: 7.906 kB / 1.147 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/3.126, allocations: 125.9 kB / 1.147 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002444/3.129, allocations: 288.8 kB / 1.147 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/3.131, allocations: 0.7804 MB / 1.148 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/3.132, allocations: 0.8631 MB / 1.149 GB, free: 71.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001761/3.133, allocations: 0.5318 MB / 1.149 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/3.134, allocations: 219.3 kB / 1.15 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.203e-06/3.134, allocations: 0 / 1.15 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08668/3.221, allocations: 36.15 MB / 1.185 GB, free: 34.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/3.221, allocations: 234.7 kB / 1.185 GB, free: 34.65 MB / 0.5261 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 4.0.0/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:245:157: error: passing '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[6] /* boundary.m_flow_in variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[11] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[10] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[12] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[9] /* fitting1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[19] /* fitting1.dp variable */, data->localData[0]->realVars[20] /* fitting1.eta_a variable */, data->localData[0]->realVars[21] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[19] /* fitting1.dp variable */, data->localData[0]->realVars[17] /* fitting1.d_a variable */, data->localData[0]->realVars[18] /* fitting1.d_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[19] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:1695: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_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o' failed make: *** [ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1