Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001528/0.001528, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001115/0.001115, allocations: 88.97 kB / 297.2 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.6196/0.6196, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 468.5 MB, free: 7.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4474, allocations: 63.24 MB / 0.5193 GB, free: 43.86 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.732, allocations: 0.5012 GB / 1.02 GB, free: 99.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/1.733, allocations: 106.5 kB / 1.021 GB, free: 99.44 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.904/2.637, allocations: 250.7 MB / 1.265 GB, free: 78.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.783e-06/2.637, allocations: 4 kB / 1.265 GB, free: 78.72 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.043e-05/2.637, allocations: 8 kB / 1.265 GB, free: 78.71 MB / 0.5417 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.003168/2.64, allocations: 1.189 MB / 1.267 GB, free: 77.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/2.64, allocations: 8.031 kB / 1.267 GB, free: 77.47 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/2.64, allocations: 90.52 kB / 1.267 GB, free: 77.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/2.642, allocations: 167 kB / 1.267 GB, free: 77.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000882/2.642, allocations: 0.4889 MB / 1.267 GB, free: 76.68 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/2.642, allocations: 37 kB / 1.267 GB, free: 76.64 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/2.643, allocations: 43.95 kB / 1.267 GB, free: 76.6 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/2.644, allocations: 0.6503 MB / 1.268 GB, free: 75.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/2.644, allocations: 0 / 1.268 GB, free: 75.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.054e-05/2.644, allocations: 24 kB / 1.268 GB, free: 75.87 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/2.644, allocations: 12 kB / 1.268 GB, free: 75.86 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000768/2.645, allocations: 0.4996 MB / 1.269 GB, free: 75.36 MB / 0.5417 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.002557/2.647, allocations: 2.625 MB / 1.271 GB, free: 72.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/2.648, allocations: 317.3 kB / 1.271 GB, free: 72.23 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/2.648, allocations: 441.6 kB / 1.272 GB, free: 71.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/2.648, allocations: 38.56 kB / 1.272 GB, free: 71.66 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/2.648, allocations: 0 / 1.272 GB, free: 71.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.001493/2.65, allocations: 0.6953 MB / 1.273 GB, free: 70.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/2.65, allocations: 166 kB / 1.273 GB, free: 70.73 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/2.65, allocations: 462 kB / 1.273 GB, free: 70.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.706e-05/2.65, allocations: 37.7 kB / 1.273 GB, free: 70.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/2.65, allocations: 299.5 kB / 1.273 GB, free: 69.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.257e-05/2.651, allocations: 126.2 kB / 1.274 GB, free: 69.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/2.651, allocations: 12 kB / 1.274 GB, free: 69.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000113/2.651, allocations: 362.8 kB / 1.274 GB, free: 69.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/2.651, allocations: 145 kB / 1.274 GB, free: 69.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/2.651, allocations: 319 kB / 1.274 GB, free: 68.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/2.652, allocations: 188 kB / 1.275 GB, free: 68.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/2.652, allocations: 4 kB / 1.275 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008376/2.652, allocations: 0.5636 MB / 1.275 GB, free: 68.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/2.652, allocations: 8 kB / 1.275 GB, free: 68.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/2.652, allocations: 4.625 kB / 1.275 GB, free: 68.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/2.654, allocations: 240.5 kB / 1.275 GB, free: 67.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/2.654, allocations: 115.9 kB / 1.275 GB, free: 67.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003647/2.654, allocations: 0.5991 MB / 1.276 GB, free: 67.15 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/2.655, allocations: 63.42 kB / 1.276 GB, free: 67.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/2.655, allocations: 51.98 kB / 1.276 GB, free: 67.04 MB / 0.5417 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.0003051/2.655, allocations: 193.7 kB / 1.276 GB, free: 66.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/2.655, allocations: 59.34 kB / 1.276 GB, free: 66.78 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/2.657, allocations: 1.061 MB / 1.277 GB, free: 65.69 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/2.657, allocations: 4 kB / 1.277 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/2.657, allocations: 0 / 1.277 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/2.657, allocations: 3.984 kB / 1.277 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001141/2.658, allocations: 0.9563 MB / 1.278 GB, free: 64.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.658, allocations: 4 kB / 1.278 GB, free: 64.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/2.658, allocations: 43.92 kB / 1.278 GB, free: 64.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/2.66, allocations: 232.8 kB / 1.279 GB, free: 64.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/2.66, allocations: 8 kB / 1.279 GB, free: 64.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003567/2.66, allocations: 0.5952 MB / 1.279 GB, free: 63.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/2.66, allocations: 3.953 kB / 1.279 GB, free: 63.73 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/2.661, allocations: 0.5318 MB / 1.28 GB, free: 63.13 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/2.661, allocations: 160.2 kB / 1.28 GB, free: 62.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.525e-05/2.661, allocations: 8 kB / 1.28 GB, free: 62.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003871/2.661, allocations: 31.98 kB / 1.28 GB, free: 62.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/2.661, allocations: 27.92 kB / 1.28 GB, free: 62.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/2.661, allocations: 19.98 kB / 1.28 GB, free: 62.87 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004218/2.662, allocations: 406.8 kB / 1.28 GB, free: 62.47 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/2.662, allocations: 4 kB / 1.28 GB, free: 62.47 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001846/2.664, allocations: 467.4 kB / 1.281 GB, free: 62.01 MB / 0.5417 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.002839/2.666, allocations: 2.616 MB / 1.283 GB, free: 59.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000755/2.667, allocations: 375.9 kB / 1.284 GB, free: 58.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/2.667, allocations: 0 / 1.284 GB, free: 58.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002253/2.668, allocations: 137.1 kB / 1.284 GB, free: 58.83 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/2.669, allocations: 341.5 kB / 1.284 GB, free: 58.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/2.674, allocations: 6.295 MB / 1.29 GB, free: 52.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/2.674, allocations: 0.8749 MB / 1.291 GB, free: 51.13 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001203/2.675, allocations: 0.5634 MB / 1.292 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003438/2.676, allocations: 227.3 kB / 1.292 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of SimCode: time 7.62e-07/2.676, allocations: 0 / 1.292 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05449/2.73, allocations: 35.47 MB / 1.327 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/2.73, allocations: 261.5 kB / 1.327 GB, free: 14.77 MB / 0.5417 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:2139: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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1