Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009947/0.009947, allocations: 174.3 kB / 15.12 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.033/2.033, allocations: 194.5 MB / 210.3 MB, free: 7.809 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002083/0.002083, allocations: 116.7 kB / 255.6 MB, free: 10.43 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.287/0.287, allocations: 40 MB / 340.8 MB, free: 11.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006299/0.0006299, allocations: 14.09 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1091, allocations: 54.87 MB / 461.1 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.869/1.979, allocations: 0.6148 GB / 1.065 GB, free: 20.57 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003698/1.979, allocations: 92.17 kB / 1.065 GB, free: 20.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.806/3.785, allocations: 282.4 MB / 1.341 GB, free: 93.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/3.785, allocations: 0 / 1.341 GB, free: 93.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.653e-05/3.785, allocations: 12.03 kB / 1.341 GB, free: 93.8 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004523/3.79, allocations: 1.322 MB / 1.342 GB, free: 93.09 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/3.79, allocations: 7.406 kB / 1.342 GB, free: 93.09 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002521/3.79, allocations: 92.98 kB / 1.342 GB, free: 93.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001687/3.792, allocations: 159.7 kB / 1.343 GB, free: 93.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/3.793, allocations: 0.5294 MB / 1.343 GB, free: 92.78 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/3.793, allocations: 34.73 kB / 1.343 GB, free: 92.78 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/3.793, allocations: 42.56 kB / 1.343 GB, free: 92.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/3.795, allocations: 0.6326 MB / 1.344 GB, free: 92.61 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/3.795, allocations: 3.844 kB / 1.344 GB, free: 92.61 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/3.795, allocations: 22.62 kB / 1.344 GB, free: 92.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/3.795, allocations: 11.47 kB / 1.344 GB, free: 92.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/3.796, allocations: 497.5 kB / 1.344 GB, free: 92.61 MB / 490.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.003849/3.8, allocations: 2.563 MB / 1.347 GB, free: 90.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008907/3.801, allocations: 300.9 kB / 1.347 GB, free: 90.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/3.802, allocations: 325.2 kB / 1.347 GB, free: 90.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/3.802, allocations: 37.62 kB / 1.347 GB, free: 90.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 4.669e-06/3.802, allocations: 3.938 kB / 1.347 GB, free: 90.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.002341/3.804, allocations: 0.6762 MB / 1.348 GB, free: 90.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/3.804, allocations: 161.1 kB / 1.348 GB, free: 90.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/3.805, allocations: 393.8 kB / 1.349 GB, free: 90.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.835e-05/3.805, allocations: 34.39 kB / 1.349 GB, free: 90.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/3.805, allocations: 322.4 kB / 1.349 GB, free: 89.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/3.805, allocations: 127.3 kB / 1.349 GB, free: 89.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.062e-05/3.805, allocations: 9.688 kB / 1.349 GB, free: 89.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/3.805, allocations: 356.3 kB / 1.349 GB, free: 89.53 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/3.806, allocations: 141.4 kB / 1.35 GB, free: 89.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/3.806, allocations: 371.1 kB / 1.35 GB, free: 89.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/3.807, allocations: 198.9 kB / 1.35 GB, free: 89.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/3.807, allocations: 3.938 kB / 1.35 GB, free: 89.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001574/3.809, allocations: 0.6015 MB / 1.351 GB, free: 89.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/3.809, allocations: 17.83 kB / 1.351 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/3.809, allocations: 7.375 kB / 1.351 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/3.811, allocations: 233.2 kB / 1.351 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/3.812, allocations: 131.2 kB / 1.351 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005252/3.812, allocations: 0.602 MB / 1.352 GB, free: 88.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/3.813, allocations: 59.73 kB / 1.352 GB, free: 88.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/3.813, allocations: 59.39 kB / 1.352 GB, free: 88.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * 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 prepare postOptimizeDAE: time 0.0003976/3.814, allocations: 201 kB / 1.352 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/3.814, allocations: 48.56 kB / 1.352 GB, free: 88.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002448/3.816, allocations: 0.6714 MB / 1.353 GB, free: 88.39 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/3.816, allocations: 6.625 kB / 1.353 GB, free: 88.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/3.816, allocations: 0 / 1.353 GB, free: 88.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/3.816, allocations: 0 / 1.353 GB, free: 88.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/3.819, allocations: 1.503 MB / 1.354 GB, free: 87.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/3.819, allocations: 3.594 kB / 1.354 GB, free: 87.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/3.82, allocations: 72.36 kB / 1.354 GB, free: 87.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002091/3.822, allocations: 238.2 kB / 1.354 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.99e-05/3.822, allocations: 23.22 kB / 1.354 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004656/3.822, allocations: 0.5852 MB / 1.355 GB, free: 87.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/3.822, allocations: 6.438 kB / 1.355 GB, free: 87.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/3.824, allocations: 0.7008 MB / 1.356 GB, free: 86.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002265/3.824, allocations: 137.5 kB / 1.356 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/3.824, allocations: 10.94 kB / 1.356 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005051/3.825, allocations: 26.55 kB / 1.356 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/3.825, allocations: 36.81 kB / 1.356 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.106e-05/3.825, allocations: 35.22 kB / 1.356 GB, free: 86.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005033/3.825, allocations: 312.3 kB / 1.356 GB, free: 86.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.293e-06/3.825, allocations: 0 / 1.356 GB, free: 86.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002387/3.828, allocations: 0.4939 MB / 1.357 GB, free: 86.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 34 * 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.005154/3.833, allocations: 3.172 MB / 1.36 GB, free: 84.61 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/3.835, allocations: 428.4 kB / 1.36 GB, free: 84.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/3.835, allocations: 0 / 1.36 GB, free: 84.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005372/3.835, allocations: 191.4 kB / 1.36 GB, free: 84.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002496/3.838, allocations: 287 kB / 1.361 GB, free: 84.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/3.854, allocations: 8.821 MB / 1.369 GB, free: 79.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/3.854, allocations: 0.8782 MB / 1.37 GB, free: 78.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00151/3.856, allocations: 195.3 kB / 1.37 GB, free: 78.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/3.856, allocations: 231.3 kB / 1.371 GB, free: 78.31 MB / 490.7 MB Notification: Performance of SimCode: time 1.153e-06/3.856, allocations: 0 / 1.371 GB, free: 78.31 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09103/3.947, allocations: 34.68 MB / 1.404 GB, free: 61.62 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/3.948, allocations: 260.6 kB / 1.405 GB, free: 61.26 MB / 490.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_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_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_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:479:154: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp_24geometry' (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[54] /* from_dp.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp_24geometry(threadData, data->simulationInfo->realParameter[20] /* from_dp.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[19] /* from_dp.geometry.R_0 PARAM */, data->simulationInfo->realParameter[21] /* from_dp.geometry.delta PARAM */, data->simulationInfo->realParameter[18] /* from_dp.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[51] /* from_dp.dp variable */, data->localData[0]->realVars[52] /* from_dp.eta_a variable */, data->localData[0]->realVars[53] /* from_dp.eta_b variable */, data->simulationInfo->realParameter[16] /* from_dp.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[51] /* from_dp.dp variable */, data->localData[0]->realVars[49] /* from_dp.d_a variable */, data->localData[0]->realVars[50] /* from_dp.d_b variable */, data->simulationInfo->realParameter[16] /* from_dp.dp_small PARAM */)), data->localData[0]->realVars[51] /* from_dp.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:2282: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_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1