Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009645/0.009645, allocations: 165 kB / 15.11 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.562/1.562, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001951/0.001951, allocations: 102.5 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4516/0.4516, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006607/0.0006608, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1105, allocations: 48.7 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.034/2.144, allocations: 0.6069 GB / 1.009 GB, free: 95.53 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/2.145, allocations: 97.86 kB / 1.009 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.129/3.273, allocations: 243.3 MB / 1.247 GB, free: 36.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.014e-06/3.273, allocations: 0 / 1.247 GB, free: 36.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.327e-05/3.273, allocations: 19.98 kB / 1.247 GB, free: 36.47 MB / 442.7 MB 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.00331/3.277, allocations: 1.045 MB / 1.248 GB, free: 35.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/3.277, allocations: 8.031 kB / 1.248 GB, free: 35.37 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/3.277, allocations: 82.53 kB / 1.248 GB, free: 35.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/3.278, allocations: 139.2 kB / 1.248 GB, free: 35.14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/3.28, allocations: 0.5405 MB / 1.248 GB, free: 34.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/3.28, allocations: 33 kB / 1.248 GB, free: 34.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.543e-05/3.28, allocations: 36 kB / 1.248 GB, free: 34.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/3.282, allocations: 0.5884 MB / 1.249 GB, free: 33.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/3.282, allocations: 4 kB / 1.249 GB, free: 33.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/3.282, allocations: 20 kB / 1.249 GB, free: 33.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/3.282, allocations: 12 kB / 1.249 GB, free: 33.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/3.283, allocations: 495.5 kB / 1.249 GB, free: 33.35 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.003633/3.287, allocations: 2.589 MB / 1.252 GB, free: 30.54 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/3.288, allocations: 316.3 kB / 1.252 GB, free: 30.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004176/3.288, allocations: 321.6 kB / 1.253 GB, free: 29.85 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/3.288, allocations: 38.84 kB / 1.253 GB, free: 29.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=33): time 3.106e-06/3.288, allocations: 0 / 1.253 GB, free: 29.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=33): time 0.002377/3.291, allocations: 0.682 MB / 1.253 GB, free: 29.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/3.291, allocations: 140.5 kB / 1.253 GB, free: 28.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005684/3.291, allocations: 385 kB / 1.254 GB, free: 28.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/3.291, allocations: 29.7 kB / 1.254 GB, free: 28.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/3.292, allocations: 295.5 kB / 1.254 GB, free: 28.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/3.292, allocations: 114.4 kB / 1.254 GB, free: 28.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/3.292, allocations: 8 kB / 1.254 GB, free: 28.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/3.292, allocations: 362.7 kB / 1.255 GB, free: 27.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/3.292, allocations: 197 kB / 1.255 GB, free: 27.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/3.293, allocations: 371.3 kB / 1.255 GB, free: 27.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/3.294, allocations: 239.8 kB / 1.255 GB, free: 26.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/3.294, allocations: 4 kB / 1.255 GB, free: 26.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001718/3.295, allocations: 0.6696 MB / 1.256 GB, free: 26.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/3.295, allocations: 8 kB / 1.256 GB, free: 26.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/3.295, allocations: 7.938 kB / 1.256 GB, free: 26.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002212/3.298, allocations: 240.8 kB / 1.256 GB, free: 25.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009351/3.299, allocations: 151.7 kB / 1.256 GB, free: 25.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006951/3.306, allocations: 23.1 MB / 1.279 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008048/3.306, allocations: 75.56 kB / 1.279 GB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/3.307, allocations: 55.94 kB / 1.279 GB, free: 0.9922 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 52 * 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.0003792/3.307, allocations: 194.7 kB / 1.279 GB, free: 0.793 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/3.307, allocations: 47.44 kB / 1.279 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/3.309, allocations: 0.6625 MB / 1.28 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/3.309, allocations: 0 / 1.28 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/3.309, allocations: 0 / 1.28 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/3.309, allocations: 8 kB / 1.28 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3169/3.626, allocations: 1.143 MB / 1.281 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/3.626, allocations: 2.875 kB / 1.281 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/3.627, allocations: 63.2 kB / 1.281 GB, free: 67.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/3.629, allocations: 234.4 kB / 1.281 GB, free: 67.88 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/3.629, allocations: 12.17 kB / 1.281 GB, free: 67.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004598/3.63, allocations: 0.5892 MB / 1.282 GB, free: 67.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/3.63, allocations: 5.812 kB / 1.282 GB, free: 67.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/3.631, allocations: 0.5895 MB / 1.283 GB, free: 67.06 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002326/3.631, allocations: 153.5 kB / 1.283 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/3.631, allocations: 8.234 kB / 1.283 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005267/3.632, allocations: 34.86 kB / 1.283 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/3.632, allocations: 28.44 kB / 1.283 GB, free: 66.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.549e-05/3.632, allocations: 18.17 kB / 1.283 GB, free: 66.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006074/3.633, allocations: 328.9 kB / 1.283 GB, free: 66.89 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.8e-07/3.633, allocations: 0 / 1.283 GB, free: 66.89 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00265/3.635, allocations: 480.7 kB / 1.284 GB, free: 66.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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.004967/3.64, allocations: 2.751 MB / 1.286 GB, free: 65.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/3.642, allocations: 441.8 kB / 1.287 GB, free: 65.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/3.642, allocations: 0 / 1.287 GB, free: 65.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005469/3.643, allocations: 173.2 kB / 1.287 GB, free: 65.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/3.645, allocations: 235.2 kB / 1.287 GB, free: 65.54 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/3.658, allocations: 6.904 MB / 1.294 GB, free: 61.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/3.658, allocations: 0.8673 MB / 1.295 GB, free: 60.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00134/3.66, allocations: 190.4 kB / 1.295 GB, free: 60.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/3.66, allocations: 209.1 kB / 1.295 GB, free: 60.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/3.66, allocations: 1.562 kB / 1.295 GB, free: 60.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08719/3.747, allocations: 32.58 MB / 1.327 GB, free: 59.25 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003212/3.748, allocations: 266.9 kB / 1.327 GB, free: 58.89 MB / 442.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:292: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[8] /* 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[7] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[6] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[8] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[5] /* 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[21] /* fitting1.dp variable */, data->localData[0]->realVars[22] /* fitting1.eta_a variable */, data->localData[0]->realVars[23] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[19] /* fitting1.d_a variable */, data->localData[0]->realVars[20] /* fitting1.d_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[21] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:1943: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_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1