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.001011/0.001012, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.684/1.684, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009855/0.0009857, allocations: 98.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.222/0.222, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1402, allocations: 58.87 MB / 490.4 MB, free: 8.566 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.64/1.78, allocations: 0.6183 GB / 1.097 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003883/1.781, allocations: 94.62 kB / 1.097 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.326/3.106, allocations: 284.4 MB / 1.375 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.62e-07/3.106, allocations: 0 / 1.375 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.944e-05/3.106, allocations: 18.12 kB / 1.375 GB, free: 106.1 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.0035/3.11, allocations: 1.324 MB / 1.376 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/3.11, allocations: 9.688 kB / 1.376 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/3.11, allocations: 87.11 kB / 1.376 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001094/3.111, allocations: 160.8 kB / 1.376 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/3.112, allocations: 0.4932 MB / 1.377 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/3.112, allocations: 35.91 kB / 1.377 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.612e-05/3.112, allocations: 40.78 kB / 1.377 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009329/3.113, allocations: 0.644 MB / 1.378 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/3.113, allocations: 3.625 kB / 1.378 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/3.113, allocations: 22.88 kB / 1.378 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/3.113, allocations: 17.88 kB / 1.378 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007593/3.114, allocations: 0.4929 MB / 1.378 GB, free: 104.9 MB / 0.5105 GB 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.002547/3.116, allocations: 2.615 MB / 1.381 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/3.117, allocations: 317.7 kB / 1.381 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000322/3.117, allocations: 319.8 kB / 1.381 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/3.117, allocations: 48.41 kB / 1.381 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.295e-06/3.117, allocations: 0 / 1.381 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001409/3.119, allocations: 0.6941 MB / 1.382 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/3.119, allocations: 160.9 kB / 1.382 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/3.119, allocations: 468.1 kB / 1.383 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/3.119, allocations: 36.3 kB / 1.383 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/3.12, allocations: 301.5 kB / 1.383 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.055e-05/3.12, allocations: 125.5 kB / 1.383 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/3.12, allocations: 7.5 kB / 1.383 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001026/3.12, allocations: 365.1 kB / 1.383 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/3.12, allocations: 141.1 kB / 1.384 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/3.12, allocations: 322.8 kB / 1.384 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/3.121, allocations: 184.2 kB / 1.384 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/3.121, allocations: 0 / 1.384 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008756/3.122, allocations: 0.564 MB / 1.385 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/3.122, allocations: 7.688 kB / 1.385 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/3.122, allocations: 3.938 kB / 1.385 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/3.123, allocations: 244.4 kB / 1.385 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/3.123, allocations: 117.4 kB / 1.385 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003812/3.124, allocations: 0.5887 MB / 1.386 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/3.124, allocations: 69.56 kB / 1.386 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/3.124, allocations: 54.84 kB / 1.386 GB, free: 101 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 () * Number of clocked 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.0002602/3.124, allocations: 193 kB / 1.386 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.479e-05/3.125, allocations: 64.92 kB / 1.386 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/3.126, allocations: 0.699 MB / 1.387 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/3.126, allocations: 3.844 kB / 1.387 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/3.126, allocations: 2.688 kB / 1.387 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/3.126, allocations: 0 / 1.387 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/3.127, allocations: 0.944 MB / 1.388 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/3.127, allocations: 3.75 kB / 1.388 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/3.127, allocations: 49.56 kB / 1.388 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/3.129, allocations: 232 kB / 1.388 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/3.129, allocations: 7.594 kB / 1.388 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000284/3.129, allocations: 0.5934 MB / 1.388 GB, free: 99.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/3.129, allocations: 6.656 kB / 1.388 GB, free: 99.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005598/3.129, allocations: 0.5393 MB / 1.389 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/3.13, allocations: 157.4 kB / 1.389 GB, free: 99.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/3.13, allocations: 15.27 kB / 1.389 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/3.13, allocations: 31.94 kB / 1.389 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/3.13, allocations: 26.12 kB / 1.389 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/3.13, allocations: 17.61 kB / 1.389 GB, free: 99.36 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004061/3.131, allocations: 406.9 kB / 1.39 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/3.131, allocations: 3.469 kB / 1.39 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001822/3.132, allocations: 0.4892 MB / 1.39 GB, free: 99.18 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 () * Number of clocked 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.003509/3.136, allocations: 2.76 MB / 1.393 GB, free: 97.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007471/3.137, allocations: 374.2 kB / 1.393 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/3.137, allocations: 0 / 1.393 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/3.137, allocations: 139.4 kB / 1.393 GB, free: 97.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/3.138, allocations: 345.9 kB / 1.394 GB, free: 97.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/3.143, allocations: 6.266 MB / 1.4 GB, free: 93.44 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/3.144, allocations: 0.8737 MB / 1.401 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009272/3.145, allocations: 209.1 kB / 1.401 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003167/3.145, allocations: 216.8 kB / 1.401 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of SimCode: time 9.52e-07/3.145, allocations: 0 / 1.401 GB, free: 92.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06406/3.209, allocations: 36.69 MB / 1.437 GB, free: 80.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/3.209, allocations: 267.7 kB / 1.437 GB, free: 80.2 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -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: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_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:362: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[46] /* 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[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: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. make: *** [: ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1