Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01016/0.01016, allocations: 165 kB / 15.11 MB, free: 6 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.919/1.919, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.001966/0.001966, allocations: 107.3 kB / 226.2 MB, free: 10.1 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.4861/0.4861, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1201, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.16/2.28, allocations: 0.608 GB / 1.01 GB, free: 47.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/2.281, allocations: 90.2 kB / 1.01 GB, free: 47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.656/3.937, allocations: 282.3 MB / 1.286 GB, free: 56.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/3.937, allocations: 0 / 1.286 GB, free: 56.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.271e-05/3.937, allocations: 14.69 kB / 1.286 GB, free: 56.22 MB / 426.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.004356/3.942, allocations: 1.321 MB / 1.287 GB, free: 55.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/3.942, allocations: 11.56 kB / 1.287 GB, free: 55.49 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/3.942, allocations: 84.55 kB / 1.287 GB, free: 55.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/3.944, allocations: 157.6 kB / 1.287 GB, free: 55.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/3.945, allocations: 0.5256 MB / 1.288 GB, free: 55.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/3.945, allocations: 34.09 kB / 1.288 GB, free: 55.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/3.945, allocations: 41.34 kB / 1.288 GB, free: 55.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/3.947, allocations: 0.6382 MB / 1.289 GB, free: 55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/3.947, allocations: 5.719 kB / 1.289 GB, free: 54.99 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/3.947, allocations: 22.25 kB / 1.289 GB, free: 54.99 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/3.947, allocations: 14.12 kB / 1.289 GB, free: 54.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/3.949, allocations: 0.4886 MB / 1.289 GB, free: 54.99 MB / 426.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.003847/3.952, allocations: 2.561 MB / 1.292 GB, free: 53.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/3.953, allocations: 305.5 kB / 1.292 GB, free: 53.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000433/3.954, allocations: 325.3 kB / 1.292 GB, free: 53.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/3.954, allocations: 42.88 kB / 1.292 GB, free: 52.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.897e-06/3.954, allocations: 0 / 1.292 GB, free: 52.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.002259/3.956, allocations: 0.6758 MB / 1.293 GB, free: 52.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/3.956, allocations: 164.8 kB / 1.293 GB, free: 52.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/3.957, allocations: 394.3 kB / 1.293 GB, free: 52.49 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/3.957, allocations: 36.67 kB / 1.293 GB, free: 52.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/3.957, allocations: 320.6 kB / 1.294 GB, free: 52.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/3.957, allocations: 121.7 kB / 1.294 GB, free: 52.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/3.957, allocations: 10.28 kB / 1.294 GB, free: 52.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/3.957, allocations: 361.5 kB / 1.294 GB, free: 51.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003915/3.958, allocations: 144 kB / 1.294 GB, free: 51.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005092/3.958, allocations: 361.5 kB / 1.295 GB, free: 51.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/3.959, allocations: 213 kB / 1.295 GB, free: 51.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/3.959, allocations: 3.031 kB / 1.295 GB, free: 51.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001575/3.96, allocations: 0.6086 MB / 1.296 GB, free: 51.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/3.961, allocations: 7.156 kB / 1.296 GB, free: 51.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/3.961, allocations: 6.906 kB / 1.296 GB, free: 51.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002139/3.963, allocations: 239.2 kB / 1.296 GB, free: 51.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/3.963, allocations: 130.1 kB / 1.296 GB, free: 51.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005283/3.964, allocations: 0.5923 MB / 1.296 GB, free: 50.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007368/3.965, allocations: 68.78 kB / 1.297 GB, free: 50.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/3.965, allocations: 54.2 kB / 1.297 GB, free: 50.92 MB / 426.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.0004078/3.965, allocations: 194 kB / 1.297 GB, free: 50.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/3.965, allocations: 56.06 kB / 1.297 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002432/3.968, allocations: 0.6666 MB / 1.297 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/3.968, allocations: 7.094 kB / 1.297 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/3.968, allocations: 0 / 1.297 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/3.968, allocations: 0 / 1.297 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/3.971, allocations: 1.499 MB / 1.299 GB, free: 49.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/3.971, allocations: 9.609 kB / 1.299 GB, free: 49.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/3.971, allocations: 75.42 kB / 1.299 GB, free: 49.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/3.973, allocations: 227.9 kB / 1.299 GB, free: 49.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/3.974, allocations: 26.02 kB / 1.299 GB, free: 49.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004553/3.974, allocations: 0.5868 MB / 1.3 GB, free: 49.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/3.974, allocations: 3.562 kB / 1.3 GB, free: 49.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/3.975, allocations: 0.697 MB / 1.301 GB, free: 49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003425/3.976, allocations: 184.8 kB / 1.301 GB, free: 48.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/3.976, allocations: 10.56 kB / 1.301 GB, free: 48.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/3.976, allocations: 33.2 kB / 1.301 GB, free: 48.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/3.976, allocations: 33.72 kB / 1.301 GB, free: 48.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/3.977, allocations: 31.5 kB / 1.301 GB, free: 48.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005001/3.977, allocations: 316.9 kB / 1.301 GB, free: 48.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/3.977, allocations: 0 / 1.301 GB, free: 48.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002413/3.98, allocations: 0.4937 MB / 1.302 GB, free: 48.68 MB / 426.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.005041/3.985, allocations: 3.186 MB / 1.305 GB, free: 46.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001363/3.986, allocations: 421.3 kB / 1.305 GB, free: 46.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/3.986, allocations: 0 / 1.305 GB, free: 46.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/3.987, allocations: 197.6 kB / 1.305 GB, free: 46.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/3.989, allocations: 287.8 kB / 1.306 GB, free: 46.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/4.005, allocations: 8.828 MB / 1.314 GB, free: 41.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/4.005, allocations: 0.8789 MB / 1.315 GB, free: 40.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001441/4.007, allocations: 189.6 kB / 1.315 GB, free: 40.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006343/4.007, allocations: 235.5 kB / 1.315 GB, free: 40.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/4.007, allocations: 0 / 1.315 GB, free: 40.46 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1039/4.111, allocations: 34.69 MB / 1.349 GB, free: 24.92 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/4.112, allocations: 264.7 kB / 1.35 GB, free: 24.55 MB / 426.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_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_3_2_1_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_1_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_1_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_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1