Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009844/0.0009844, allocations: 103.1 kB / 292.1 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3322/0.3322, allocations: 44.23 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003383, allocations: 4 kB / 460 MB, free: 1.406 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4205, allocations: 61.91 MB / 0.5097 GB, free: 38.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.543, allocations: 0.5002 GB / 1.01 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.543, allocations: 111.6 kB / 1.01 GB, free: 69.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8732/2.417, allocations: 249.6 MB / 1.254 GB, free: 40.47 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/2.417, allocations: 3.938 kB / 1.254 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.249e-05/2.417, allocations: 19.98 kB / 1.254 GB, free: 40.45 MB / 0.5261 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.00296/2.42, allocations: 1.167 MB / 1.255 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/2.42, allocations: 8.031 kB / 1.255 GB, free: 39.22 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/2.42, allocations: 82.53 kB / 1.255 GB, free: 39.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/2.421, allocations: 163 kB / 1.255 GB, free: 38.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/2.422, allocations: 0.4966 MB / 1.256 GB, free: 38.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/2.422, allocations: 37 kB / 1.256 GB, free: 38.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/2.422, allocations: 44 kB / 1.256 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009719/2.423, allocations: 0.6464 MB / 1.256 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/2.423, allocations: 0 / 1.256 GB, free: 37.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.54e-05/2.423, allocations: 24 kB / 1.256 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/2.423, allocations: 12 kB / 1.256 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007492/2.424, allocations: 0.5034 MB / 1.257 GB, free: 37.11 MB / 0.5261 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.002426/2.426, allocations: 2.602 MB / 1.259 GB, free: 34.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005563/2.427, allocations: 318.7 kB / 1.26 GB, free: 34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/2.427, allocations: 438.1 kB / 1.26 GB, free: 33.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/2.427, allocations: 42.56 kB / 1.26 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 2.245e-06/2.427, allocations: 0 / 1.26 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001478/2.429, allocations: 0.7014 MB / 1.261 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/2.429, allocations: 166.1 kB / 1.261 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/2.429, allocations: 466 kB / 1.261 GB, free: 32.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.581e-05/2.429, allocations: 37.7 kB / 1.261 GB, free: 31.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/2.429, allocations: 303.5 kB / 1.262 GB, free: 31.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.559e-05/2.429, allocations: 118.2 kB / 1.262 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/2.429, allocations: 8 kB / 1.262 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/2.43, allocations: 366.8 kB / 1.262 GB, free: 31.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/2.43, allocations: 145 kB / 1.262 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/2.43, allocations: 322.9 kB / 1.263 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/2.43, allocations: 185 kB / 1.263 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/2.43, allocations: 4 kB / 1.263 GB, free: 30.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008175/2.431, allocations: 0.5675 MB / 1.263 GB, free: 29.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/2.431, allocations: 8 kB / 1.263 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/2.431, allocations: 7.953 kB / 1.263 GB, free: 29.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/2.433, allocations: 237.1 kB / 1.264 GB, free: 29.65 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/2.433, allocations: 119.8 kB / 1.264 GB, free: 29.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000346/2.433, allocations: 0.5913 MB / 1.264 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/2.434, allocations: 67.48 kB / 1.264 GB, free: 28.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/2.434, allocations: 51.98 kB / 1.264 GB, free: 28.8 MB / 0.5261 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.0002495/2.434, allocations: 194.1 kB / 1.265 GB, free: 28.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.728e-05/2.434, allocations: 59.34 kB / 1.265 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/2.436, allocations: 1.063 MB / 1.266 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/2.436, allocations: 4 kB / 1.266 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.436, allocations: 0 / 1.266 GB, free: 27.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/2.436, allocations: 7.984 kB / 1.266 GB, free: 27.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/2.437, allocations: 0.9472 MB / 1.267 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/2.437, allocations: 8.188 kB / 1.267 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/2.437, allocations: 47.91 kB / 1.267 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/2.438, allocations: 232.6 kB / 1.267 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/2.438, allocations: 8 kB / 1.267 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003137/2.439, allocations: 0.5913 MB / 1.267 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/2.439, allocations: 0 / 1.267 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/2.439, allocations: 0.5428 MB / 1.268 GB, free: 24.88 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/2.44, allocations: 156.2 kB / 1.268 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.029e-05/2.44, allocations: 11.95 kB / 1.268 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/2.44, allocations: 31.97 kB / 1.268 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/2.44, allocations: 23.97 kB / 1.268 GB, free: 24.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/2.44, allocations: 15.98 kB / 1.268 GB, free: 24.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004628/2.441, allocations: 410.8 kB / 1.269 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/2.441, allocations: 0 / 1.269 GB, free: 24.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00188/2.443, allocations: 439.5 kB / 1.269 GB, free: 23.8 MB / 0.5261 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.003091/2.446, allocations: 2.608 MB / 1.272 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007894/2.446, allocations: 364.8 kB / 1.272 GB, free: 20.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/2.446, allocations: 7.859 kB / 1.272 GB, free: 20.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/2.447, allocations: 139 kB / 1.272 GB, free: 20.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/2.448, allocations: 352 kB / 1.272 GB, free: 20.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005056/2.453, allocations: 6.263 MB / 1.279 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/2.454, allocations: 0.8751 MB / 1.279 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001305/2.455, allocations: 0.5556 MB / 1.28 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/2.455, allocations: 235.3 kB / 1.28 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of SimCode: time 1.723e-06/2.455, allocations: 0 / 1.28 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4173/2.873, allocations: 35.24 MB / 1.315 GB, free: 83.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/2.873, allocations: 269.9 kB / 1.315 GB, free: 83.07 MB / 0.5261 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1