Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.834/1.834, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009186/0.0009186, allocations: 102.8 kB / 270.2 MB, free: 13.34 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.259/0.259, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003769, allocations: 8 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1557, allocations: 58.85 MB / 490.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.516/1.672, allocations: 0.6172 GB / 1.096 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.672, allocations: 99.94 kB / 1.096 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.144/2.816, allocations: 245.1 MB / 1.335 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.754e-06/2.816, allocations: 2.812 kB / 1.335 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.003e-05/2.816, allocations: 13.97 kB / 1.336 GB, free: 109.3 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002751/2.819, allocations: 1.044 MB / 1.337 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/2.819, allocations: 10.19 kB / 1.337 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/2.819, allocations: 85.64 kB / 1.337 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/2.82, allocations: 138.5 kB / 1.337 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008705/2.821, allocations: 494.3 kB / 1.337 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.023e-05/2.821, allocations: 33.72 kB / 1.337 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.386e-05/2.821, allocations: 41 kB / 1.337 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/2.823, allocations: 0.5893 MB / 1.338 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/2.823, allocations: 1.812 kB / 1.338 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.484e-05/2.823, allocations: 24.31 kB / 1.338 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/2.823, allocations: 15.05 kB / 1.338 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/2.824, allocations: 0.4944 MB / 1.338 GB, free: 108.4 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.002906/2.827, allocations: 2.639 MB / 1.341 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/2.827, allocations: 327.9 kB / 1.341 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/2.828, allocations: 323.2 kB / 1.342 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/2.828, allocations: 44.45 kB / 1.342 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/2.828, allocations: 3.828 kB / 1.342 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.001772/2.83, allocations: 0.6951 MB / 1.342 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/2.83, allocations: 135.9 kB / 1.342 GB, free: 106 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/2.83, allocations: 448.6 kB / 1.343 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/2.83, allocations: 30.8 kB / 1.343 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/2.831, allocations: 275.1 kB / 1.343 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/2.831, allocations: 119.4 kB / 1.343 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/2.831, allocations: 10.75 kB / 1.343 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001292/2.831, allocations: 361.5 kB / 1.344 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/2.831, allocations: 194.5 kB / 1.344 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/2.832, allocations: 328.9 kB / 1.344 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/2.832, allocations: 224.6 kB / 1.344 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/2.832, allocations: 1.094 kB / 1.344 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001167/2.833, allocations: 0.6365 MB / 1.345 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/2.833, allocations: 6.094 kB / 1.345 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/2.833, allocations: 3.875 kB / 1.345 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/2.835, allocations: 239.1 kB / 1.345 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/2.835, allocations: 137.6 kB / 1.345 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/2.842, allocations: 23.1 MB / 1.368 GB, free: 81.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009595/2.843, allocations: 68.78 kB / 1.368 GB, free: 81.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/2.843, allocations: 49.34 kB / 1.368 GB, free: 81.34 MB / 0.5105 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 () * Number of clocked 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.0004372/2.844, allocations: 182 kB / 1.368 GB, free: 81.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/2.844, allocations: 54.97 kB / 1.368 GB, free: 81.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/2.846, allocations: 0.6931 MB / 1.369 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/2.846, allocations: 2.344 kB / 1.369 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/2.846, allocations: 1.031 kB / 1.369 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/2.846, allocations: 0 / 1.369 GB, free: 81.07 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/2.847, allocations: 0.9509 MB / 1.37 GB, free: 80.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/2.847, allocations: 0 / 1.37 GB, free: 80.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001965/2.847, allocations: 51.8 kB / 1.37 GB, free: 80.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/2.848, allocations: 234.9 kB / 1.37 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/2.849, allocations: 10.95 kB / 1.37 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003549/2.849, allocations: 0.5975 MB / 1.371 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/2.849, allocations: 1.094 kB / 1.371 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007794/2.85, allocations: 0.5374 MB / 1.371 GB, free: 79.91 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/2.85, allocations: 161.2 kB / 1.371 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.002e-05/2.85, allocations: 11.17 kB / 1.371 GB, free: 79.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/2.85, allocations: 38.08 kB / 1.371 GB, free: 79.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/2.85, allocations: 21.91 kB / 1.371 GB, free: 79.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/2.851, allocations: 14.81 kB / 1.371 GB, free: 79.78 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004252/2.851, allocations: 388.3 kB / 1.372 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.851, allocations: 0 / 1.372 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002716/2.854, allocations: 484.7 kB / 1.372 GB, free: 79.69 MB / 0.5105 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 () * Number of clocked 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.003996/2.858, allocations: 2.559 MB / 1.375 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009248/2.859, allocations: 409.7 kB / 1.375 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.859, allocations: 3.781 kB / 1.375 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/2.859, allocations: 152.7 kB / 1.375 GB, free: 78.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/2.86, allocations: 284.6 kB / 1.376 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/2.864, allocations: 4.276 MB / 1.38 GB, free: 75.22 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/2.864, allocations: 0.8636 MB / 1.381 GB, free: 74.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008639/2.865, allocations: 187.3 kB / 1.381 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/2.865, allocations: 200.9 kB / 1.381 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of SimCode: time 2.305e-06/2.865, allocations: 0 / 1.381 GB, free: 74.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06685/2.932, allocations: 34.18 MB / 1.414 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/2.933, allocations: 269.5 kB / 1.415 GB, free: 72.73 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_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_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_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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:1943: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_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1