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.001109/0.001109, allocations: 180.2 kB / 14.15 MB, free: 1.176 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.588/1.588, allocations: 221.3 MB / 236 MB, free: 2.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 98.66 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.252e-05/4.256e-05, allocations: 224 / 451.9 MB, free: 9.316 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.155, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.532/1.688, allocations: 0.5001 GB / 1.002 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.688, allocations: 91.94 kB / 1.002 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9038/2.592, allocations: 249 MB / 1.245 GB, free: 100 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.684e-06/2.592, allocations: 0 / 1.245 GB, free: 100 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.979e-05/2.592, allocations: 15.98 kB / 1.245 GB, free: 100 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.003484/2.595, allocations: 1.084 MB / 1.246 GB, free: 98.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/2.595, allocations: 12.02 kB / 1.246 GB, free: 98.88 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002289/2.596, allocations: 86.47 kB / 1.246 GB, free: 98.78 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001474/2.597, allocations: 159 kB / 1.246 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/2.598, allocations: 495.2 kB / 1.247 GB, free: 98.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/2.598, allocations: 33 kB / 1.247 GB, free: 98.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/2.599, allocations: 44 kB / 1.247 GB, free: 98.02 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/2.6, allocations: 0.6347 MB / 1.248 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/2.6, allocations: 3.938 kB / 1.248 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/2.6, allocations: 28 kB / 1.248 GB, free: 97.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/2.6, allocations: 12 kB / 1.248 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/2.601, allocations: 487.7 kB / 1.248 GB, free: 96.81 MB / 0.5261 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.002919/2.604, allocations: 2.606 MB / 1.251 GB, free: 94.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/2.604, allocations: 303.9 kB / 1.251 GB, free: 93.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/2.604, allocations: 156.9 kB / 1.251 GB, free: 93.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/2.605, allocations: 429.5 kB / 1.252 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/2.605, allocations: 43.14 kB / 1.252 GB, free: 92.99 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=35): time 2.705e-06/2.605, allocations: 0 / 1.252 GB, free: 92.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=35): time 0.001105/2.606, allocations: 461.2 kB / 1.252 GB, free: 92.53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.658e-05/2.606, allocations: 162.2 kB / 1.252 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000571/2.607, allocations: 468.7 kB / 1.253 GB, free: 91.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.557e-05/2.607, allocations: 33.7 kB / 1.253 GB, free: 91.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/2.607, allocations: 303.2 kB / 1.253 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/2.607, allocations: 130.2 kB / 1.253 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/2.607, allocations: 4 kB / 1.253 GB, free: 91.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001263/2.607, allocations: 362.8 kB / 1.253 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/2.607, allocations: 137.1 kB / 1.254 GB, free: 90.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/2.608, allocations: 307 kB / 1.254 GB, free: 90.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/2.608, allocations: 179.9 kB / 1.254 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/2.608, allocations: 0 / 1.254 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008756/2.609, allocations: 0.5563 MB / 1.255 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/2.609, allocations: 12.09 kB / 1.255 GB, free: 89.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/2.609, allocations: 11.94 kB / 1.255 GB, free: 89.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/2.61, allocations: 232.6 kB / 1.255 GB, free: 89.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/2.611, allocations: 119.8 kB / 1.255 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003869/2.611, allocations: 0.5952 MB / 1.256 GB, free: 88.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005375/2.612, allocations: 71.47 kB / 1.256 GB, free: 88.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/2.612, allocations: 48 kB / 1.256 GB, free: 88.68 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 () * 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.0001601/2.612, allocations: 140.7 kB / 1.256 GB, free: 88.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/2.612, allocations: 59.34 kB / 1.256 GB, free: 88.47 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/2.614, allocations: 1.05 MB / 1.257 GB, free: 87.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/2.614, allocations: 4 kB / 1.257 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/2.614, allocations: 4 kB / 1.257 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/2.614, allocations: 0 / 1.257 GB, free: 87.38 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/2.615, allocations: 0.9292 MB / 1.258 GB, free: 86.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/2.615, allocations: 0 / 1.258 GB, free: 86.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/2.615, allocations: 51.97 kB / 1.258 GB, free: 86.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001125/2.616, allocations: 228.7 kB / 1.258 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/2.616, allocations: 11.98 kB / 1.258 GB, free: 86.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003255/2.617, allocations: 0.5797 MB / 1.259 GB, free: 85.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/2.617, allocations: 3.953 kB / 1.259 GB, free: 85.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005849/2.617, allocations: 0.5354 MB / 1.259 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002305/2.618, allocations: 148.3 kB / 1.259 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/2.618, allocations: 11.98 kB / 1.259 GB, free: 84.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/2.618, allocations: 35.92 kB / 1.259 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/2.618, allocations: 23.86 kB / 1.259 GB, free: 84.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/2.618, allocations: 19.98 kB / 1.259 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005028/2.619, allocations: 401.5 kB / 1.26 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/2.619, allocations: 0 / 1.26 GB, free: 84.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001967/2.621, allocations: 443.5 kB / 1.26 GB, free: 83.78 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 () * 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.003744/2.625, allocations: 2.589 MB / 1.263 GB, free: 81.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007182/2.625, allocations: 345 kB / 1.263 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/2.625, allocations: 0 / 1.263 GB, free: 80.79 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/2.626, allocations: 143.6 kB / 1.263 GB, free: 80.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/2.627, allocations: 340.8 kB / 1.263 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/2.629, allocations: 0.8225 MB / 1.264 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/2.63, allocations: 0.8751 MB / 1.265 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001276/2.631, allocations: 0.5478 MB / 1.266 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/2.631, allocations: 231.3 kB / 1.266 GB, free: 77.77 MB / 0.5261 GB Notification: Performance of SimCode: time 6.61e-07/2.631, allocations: 0 / 1.266 GB, free: 77.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06298/2.694, allocations: 37.98 MB / 1.303 GB, free: 39.95 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/2.695, allocations: 241.1 kB / 1.303 GB, free: 39.63 MB / 0.5261 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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: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_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:1920: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