Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002039/0.00204, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008982/0.0008981, allocations: 86.61 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4037/0.4037, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.129e-05/5.147e-05, allocations: 7.938 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.724/1.876, allocations: 0.5968 GB / 1.07 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004383/1.876, allocations: 94.44 kB / 1.07 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.424/3.3, allocations: 280.5 MB / 1.344 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.883e-06/3.301, allocations: 0 / 1.344 GB, free: 87.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.42e-05/3.301, allocations: 14.16 kB / 1.344 GB, free: 87.86 MB / 0.5105 GB 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.004137/3.305, allocations: 1.24 MB / 1.345 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.704e-05/3.305, allocations: 12.22 kB / 1.345 GB, free: 87.34 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001463/3.305, allocations: 86.22 kB / 1.345 GB, free: 87.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/3.306, allocations: 149.6 kB / 1.345 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/3.308, allocations: 0.495 MB / 1.346 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.423e-05/3.308, allocations: 32.88 kB / 1.346 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.559e-05/3.308, allocations: 42.56 kB / 1.346 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/3.309, allocations: 0.6289 MB / 1.346 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/3.309, allocations: 2.594 kB / 1.346 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/3.309, allocations: 19.09 kB / 1.346 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/3.309, allocations: 12.11 kB / 1.346 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/3.31, allocations: 487.9 kB / 1.347 GB, free: 86.88 MB / 0.5105 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.002852/3.313, allocations: 2.615 MB / 1.349 GB, free: 85.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/3.313, allocations: 302.8 kB / 1.35 GB, free: 85.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/3.314, allocations: 145.5 kB / 1.35 GB, free: 85.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004037/3.314, allocations: 331.8 kB / 1.35 GB, free: 84.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/3.314, allocations: 40.31 kB / 1.35 GB, free: 84.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.565e-06/3.314, allocations: 6.656 kB / 1.35 GB, free: 84.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001284/3.315, allocations: 449.2 kB / 1.351 GB, free: 84.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/3.316, allocations: 161 kB / 1.351 GB, free: 84.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/3.316, allocations: 464 kB / 1.351 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/3.316, allocations: 35.62 kB / 1.351 GB, free: 84.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/3.316, allocations: 297.8 kB / 1.352 GB, free: 84.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-05/3.316, allocations: 123.9 kB / 1.352 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/3.317, allocations: 6.219 kB / 1.352 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/3.317, allocations: 368.5 kB / 1.352 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/3.317, allocations: 135.7 kB / 1.352 GB, free: 83.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/3.317, allocations: 317.2 kB / 1.352 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003259/3.318, allocations: 179.6 kB / 1.353 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/3.318, allocations: 1 kB / 1.353 GB, free: 83.74 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001073/3.319, allocations: 0.5468 MB / 1.353 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/3.319, allocations: 6.75 kB / 1.353 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/3.319, allocations: 4.156 kB / 1.353 GB, free: 83.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/3.32, allocations: 241.6 kB / 1.353 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/3.321, allocations: 115.2 kB / 1.353 GB, free: 83.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004542/3.321, allocations: 0.5904 MB / 1.354 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/3.322, allocations: 70.08 kB / 1.354 GB, free: 83.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/3.322, allocations: 57.2 kB / 1.354 GB, free: 83.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001765/3.322, allocations: 135.3 kB / 1.354 GB, free: 83.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/3.322, allocations: 58.84 kB / 1.354 GB, free: 82.99 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/3.324, allocations: 0.6817 MB / 1.355 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/3.324, allocations: 3.562 kB / 1.355 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/3.324, allocations: 0 / 1.355 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/3.324, allocations: 7.422 kB / 1.355 GB, free: 82.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/3.325, allocations: 0.9327 MB / 1.356 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/3.325, allocations: 0 / 1.356 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/3.325, allocations: 54.16 kB / 1.356 GB, free: 82.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001165/3.326, allocations: 234 kB / 1.356 GB, free: 82.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/3.326, allocations: 12.47 kB / 1.356 GB, free: 82.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003853/3.327, allocations: 0.583 MB / 1.357 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/3.327, allocations: 3.875 kB / 1.357 GB, free: 81.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/3.327, allocations: 0.5392 MB / 1.357 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/3.328, allocations: 158.5 kB / 1.358 GB, free: 81.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.218e-05/3.328, allocations: 9.438 kB / 1.358 GB, free: 81.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004222/3.328, allocations: 30.88 kB / 1.358 GB, free: 81.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/3.328, allocations: 22.78 kB / 1.358 GB, free: 81.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/3.328, allocations: 22.58 kB / 1.358 GB, free: 81.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007486/3.329, allocations: 405.3 kB / 1.358 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.643e-06/3.329, allocations: 0 / 1.358 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003505/3.333, allocations: 493.6 kB / 1.358 GB, free: 81.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.004698/3.337, allocations: 2.741 MB / 1.361 GB, free: 79.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001037/3.339, allocations: 348.2 kB / 1.361 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/3.339, allocations: 4.656 kB / 1.361 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/3.339, allocations: 128.3 kB / 1.362 GB, free: 79.94 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/3.341, allocations: 346.8 kB / 1.362 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/3.344, allocations: 0.8365 MB / 1.363 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/3.344, allocations: 0.8733 MB / 1.364 GB, free: 78.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00109/3.345, allocations: 211.4 kB / 1.364 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004146/3.346, allocations: 217.8 kB / 1.364 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/3.346, allocations: 0 / 1.364 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08568/3.431, allocations: 39.58 MB / 1.403 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/3.432, allocations: 227.3 kB / 1.403 GB, free: 76.8 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:362:154: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp24geometry' (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[46] /* from_dp.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp24geometry(threadData, data->simulationInfo->realParameter[42] /* from_dp.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[41] /* from_dp.geometry.R_0 PARAM */, data->simulationInfo->realParameter[43] /* from_dp.geometry.delta PARAM */, data->simulationInfo->realParameter[40] /* 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[43] /* from_dp.dp variable */, data->localData[0]->realVars[44] /* from_dp.eta_a variable */, data->localData[0]->realVars[45] /* from_dp.eta_b variable */, data->simulationInfo->realParameter[38] /* from_dp.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[43] /* from_dp.dp variable */, data->localData[0]->realVars[41] /* from_dp.d_a variable */, data->localData[0]->realVars[42] /* from_dp.d_b variable */, data->simulationInfo->realParameter[38] /* from_dp.dp_small PARAM */)), data->localData[0]->realVars[43] /* from_dp.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:2048: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. make: *** [: ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1