Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.274/2.274, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.853e-05, allocations: 4 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.135, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.784/1.919, allocations: 499 MB / 0.888 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/1.92, allocations: 98.05 kB / 0.8881 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.148/3.067, allocations: 224.7 MB / 1.108 GB, free: 114 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/3.067, allocations: 0 / 1.108 GB, free: 114 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.174e-05/3.068, allocations: 17.16 kB / 1.108 GB, free: 113.9 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.002463/3.07, allocations: 0.8975 MB / 1.108 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/3.07, allocations: 9.969 kB / 1.108 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/3.07, allocations: 75.22 kB / 1.108 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/3.072, allocations: 145.6 kB / 1.109 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001163/3.073, allocations: 484.7 kB / 1.109 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/3.073, allocations: 36.34 kB / 1.109 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/3.073, allocations: 39.88 kB / 1.109 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/3.074, allocations: 0.5694 MB / 1.11 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/3.074, allocations: 3.938 kB / 1.11 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/3.075, allocations: 19.59 kB / 1.11 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/3.075, allocations: 11.03 kB / 1.11 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/3.076, allocations: 442.3 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.004046/3.08, allocations: 2.64 MB / 1.113 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/3.081, allocations: 304.8 kB / 1.113 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/3.081, allocations: 148.3 kB / 1.113 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000437/3.082, allocations: 436.2 kB / 1.114 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/3.082, allocations: 38.53 kB / 1.114 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.016e-06/3.082, allocations: 3.938 kB / 1.114 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001463/3.083, allocations: 443.8 kB / 1.114 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/3.083, allocations: 132.2 kB / 1.114 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007026/3.084, allocations: 438.8 kB / 1.115 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.303e-05/3.084, allocations: 37.58 kB / 1.115 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/3.084, allocations: 277.1 kB / 1.115 GB, free: 108 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/3.084, allocations: 117.8 kB / 1.115 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/3.084, allocations: 4 kB / 1.115 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001029/3.084, allocations: 362.4 kB / 1.115 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/3.085, allocations: 173.2 kB / 1.116 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/3.085, allocations: 305.3 kB / 1.116 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/3.086, allocations: 211.8 kB / 1.116 GB, free: 107 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/3.086, allocations: 0 / 1.116 GB, free: 107 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001462/3.087, allocations: 0.5951 MB / 1.117 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/3.087, allocations: 12.19 kB / 1.117 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/3.087, allocations: 4 kB / 1.117 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/3.09, allocations: 240.6 kB / 1.117 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009338/3.091, allocations: 143.8 kB / 1.117 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006892/3.098, allocations: 23.04 MB / 1.14 GB, free: 81.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/3.099, allocations: 75.53 kB / 1.14 GB, free: 81.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/3.099, allocations: 47.98 kB / 1.14 GB, free: 81.27 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.0002029/3.099, allocations: 139.5 kB / 1.14 GB, free: 81.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/3.099, allocations: 55.44 kB / 1.14 GB, free: 81.07 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002667/3.102, allocations: 1.004 MB / 1.141 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/3.102, allocations: 11.92 kB / 1.141 GB, free: 80.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/3.102, allocations: 4 kB / 1.141 GB, free: 80.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/3.102, allocations: 0 / 1.141 GB, free: 80.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/3.104, allocations: 0.9064 MB / 1.142 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/3.104, allocations: 4 kB / 1.142 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/3.104, allocations: 51.91 kB / 1.142 GB, free: 79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/3.106, allocations: 232.7 kB / 1.142 GB, free: 78.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/3.106, allocations: 8 kB / 1.142 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004732/3.107, allocations: 0.5913 MB / 1.143 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/3.107, allocations: 3.953 kB / 1.143 GB, free: 78.14 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009441/3.108, allocations: 0.5121 MB / 1.143 GB, free: 77.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/3.108, allocations: 152.4 kB / 1.143 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/3.108, allocations: 4 kB / 1.143 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/3.109, allocations: 43.88 kB / 1.143 GB, free: 77.35 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.217e-05/3.109, allocations: 19.92 kB / 1.143 GB, free: 77.33 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/3.109, allocations: 19.98 kB / 1.143 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006419/3.11, allocations: 385.5 kB / 1.144 GB, free: 76.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/3.11, allocations: 0 / 1.144 GB, free: 76.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002534/3.112, allocations: 427.5 kB / 1.144 GB, free: 76.52 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.003947/3.116, allocations: 2.445 MB / 1.146 GB, free: 74.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001237/3.118, allocations: 368.5 kB / 1.147 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/3.118, allocations: 7.906 kB / 1.147 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/3.118, allocations: 127.8 kB / 1.147 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/3.12, allocations: 277.2 kB / 1.147 GB, free: 73.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/3.123, allocations: 0.7836 MB / 1.148 GB, free: 72.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/3.123, allocations: 0.8671 MB / 1.149 GB, free: 71.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001799/3.125, allocations: 0.5473 MB / 1.149 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/3.126, allocations: 215.3 kB / 1.15 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/3.126, allocations: 0 / 1.15 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/3.236, allocations: 36.15 MB / 1.185 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003047/3.237, allocations: 234.8 kB / 1.185 GB, free: 34.64 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 trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o' failed make: *** [ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1