Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",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.001776/0.001776, allocations: 180.5 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.45/1.45, allocations: 221.3 MB / 236 MB, free: 2.984 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.001207/0.001207, allocations: 87.86 kB / 287 MB, free: 252 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.1878/0.1878, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.606e-05/3.609e-05, allocations: 224 / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.155, allocations: 61.92 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.346/1.501, allocations: 499 MB / 0.9891 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/1.502, allocations: 95.94 kB / 0.9892 GB, free: 151.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7506/2.253, allocations: 224.7 MB / 1.209 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.554e-06/2.253, allocations: 0 / 1.209 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.064e-05/2.253, allocations: 15.75 kB / 1.209 GB, free: 119.7 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002704/2.255, allocations: 0.8953 MB / 1.21 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/2.255, allocations: 7.562 kB / 1.21 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/2.256, allocations: 85.66 kB / 1.21 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/2.257, allocations: 134.2 kB / 1.21 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/2.258, allocations: 484.5 kB / 1.21 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/2.258, allocations: 38.3 kB / 1.21 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/2.258, allocations: 50.73 kB / 1.21 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/2.259, allocations: 0.5765 MB / 1.211 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/2.259, allocations: 0 / 1.211 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/2.259, allocations: 20.53 kB / 1.211 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/2.259, allocations: 11.03 kB / 1.211 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008473/2.26, allocations: 450.9 kB / 1.211 GB, free: 118.2 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.003095/2.263, allocations: 2.64 MB / 1.214 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/2.264, allocations: 304.2 kB / 1.214 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/2.264, allocations: 149.2 kB / 1.214 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000356/2.264, allocations: 442.9 kB / 1.215 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/2.265, allocations: 34.84 kB / 1.215 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/2.265, allocations: 7.188 kB / 1.215 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001054/2.266, allocations: 436.7 kB / 1.215 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/2.266, allocations: 137.2 kB / 1.215 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/2.266, allocations: 441.4 kB / 1.216 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/2.266, allocations: 29.7 kB / 1.216 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/2.266, allocations: 275 kB / 1.216 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.439e-05/2.267, allocations: 119.6 kB / 1.216 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/2.267, allocations: 11.97 kB / 1.216 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/2.267, allocations: 357.6 kB / 1.217 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/2.267, allocations: 173.6 kB / 1.217 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/2.267, allocations: 311.2 kB / 1.217 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003119/2.268, allocations: 212.4 kB / 1.217 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/2.268, allocations: 6.781 kB / 1.217 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009386/2.269, allocations: 0.6023 MB / 1.218 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/2.269, allocations: 7.125 kB / 1.218 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/2.269, allocations: 3.875 kB / 1.218 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/2.27, allocations: 234.6 kB / 1.218 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/2.27, allocations: 137.8 kB / 1.218 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/2.277, allocations: 23.09 MB / 1.241 GB, free: 89.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006301/2.277, allocations: 77.12 kB / 1.241 GB, free: 89.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/2.278, allocations: 47.25 kB / 1.241 GB, free: 89.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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.0001764/2.278, allocations: 134.4 kB / 1.241 GB, free: 89.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/2.278, allocations: 47.78 kB / 1.241 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/2.28, allocations: 1.019 MB / 1.242 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/2.28, allocations: 7.719 kB / 1.242 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/2.28, allocations: 0 / 1.242 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/2.28, allocations: 3.953 kB / 1.242 GB, free: 88.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/2.281, allocations: 0.9015 MB / 1.243 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/2.281, allocations: 7.312 kB / 1.243 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/2.281, allocations: 47.14 kB / 1.243 GB, free: 88.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/2.283, allocations: 240 kB / 1.243 GB, free: 88.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/2.283, allocations: 11.5 kB / 1.243 GB, free: 88.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003401/2.283, allocations: 0.5956 MB / 1.244 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/2.283, allocations: 3.469 kB / 1.244 GB, free: 87.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/2.284, allocations: 0.5154 MB / 1.244 GB, free: 87.36 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/2.284, allocations: 151.4 kB / 1.244 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/2.284, allocations: 6.938 kB / 1.244 GB, free: 87.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/2.285, allocations: 48.41 kB / 1.244 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/2.285, allocations: 19.23 kB / 1.244 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/2.285, allocations: 15.05 kB / 1.245 GB, free: 87.21 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004592/2.285, allocations: 381.6 kB / 1.245 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/2.285, allocations: 0 / 1.245 GB, free: 87.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002017/2.287, allocations: 426.7 kB / 1.245 GB, free: 86.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.003452/2.291, allocations: 2.438 MB / 1.248 GB, free: 85.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008312/2.291, allocations: 371.2 kB / 1.248 GB, free: 85.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/2.291, allocations: 0.875 kB / 1.248 GB, free: 85.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/2.292, allocations: 136.9 kB / 1.248 GB, free: 85.24 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/2.293, allocations: 274.3 kB / 1.248 GB, free: 85.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/2.295, allocations: 0.797 MB / 1.249 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/2.295, allocations: 0.8661 MB / 1.25 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001137/2.296, allocations: 0.5436 MB / 1.251 GB, free: 83.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/2.297, allocations: 219.6 kB / 1.251 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of SimCode: time 9.12e-07/2.297, allocations: 0 / 1.251 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/2.354, allocations: 36.11 MB / 1.286 GB, free: 53.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/2.354, allocations: 235.2 kB / 1.286 GB, free: 53.19 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_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_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_TestComponents_NewFittings_Bends_CurvedBend.c:245:157: error: passing '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[6] /* boundary.m_flow_in variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[11] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[10] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[12] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[9] /* fitting1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[19] /* fitting1.dp variable */, data->localData[0]->realVars[20] /* fitting1.eta_a variable */, data->localData[0]->realVars[21] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[19] /* fitting1.dp variable */, data->localData[0]->realVars[17] /* fitting1.d_a variable */, data->localData[0]->realVars[18] /* fitting1.d_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[19] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:1695: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_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1