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.001661/0.001661, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.489/1.489, allocations: 223.2 MB / 241 MB, free: 10.16 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.001054/0.001053, allocations: 91 kB / 292.1 MB, free: 10.7 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.4028/0.4028, allocations: 44.22 MB / 387.5 MB, free: 38.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 8 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4235, allocations: 61.89 MB / 0.5096 GB, free: 37.87 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.717, allocations: 499.1 MB / 0.997 GB, free: 82.14 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000363/1.717, allocations: 95.55 kB / 0.9971 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8461/2.563, allocations: 225.3 MB / 1.217 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.085e-06/2.563, allocations: 0 / 1.217 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.209e-05/2.563, allocations: 12 kB / 1.217 GB, free: 77.22 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.003385/2.567, allocations: 0.9791 MB / 1.218 GB, free: 76.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/2.567, allocations: 11.97 kB / 1.218 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002933/2.567, allocations: 86.52 kB / 1.218 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/2.568, allocations: 139.2 kB / 1.218 GB, free: 75.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/2.569, allocations: 496.6 kB / 1.219 GB, free: 75.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/2.569, allocations: 29 kB / 1.219 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.763e-05/2.57, allocations: 48 kB / 1.219 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/2.571, allocations: 0.597 MB / 1.22 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/2.571, allocations: 0 / 1.22 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.639e-05/2.571, allocations: 24 kB / 1.22 GB, free: 74.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/2.571, allocations: 8 kB / 1.22 GB, free: 74.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/2.572, allocations: 495.6 kB / 1.22 GB, free: 74.19 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.003604/2.576, allocations: 2.643 MB / 1.223 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006972/2.576, allocations: 323.7 kB / 1.223 GB, free: 71 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/2.577, allocations: 441.8 kB / 1.223 GB, free: 70.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/2.577, allocations: 38.84 kB / 1.223 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.576e-06/2.577, allocations: 3.938 kB / 1.223 GB, free: 70.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.001691/2.579, allocations: 0.7084 MB / 1.224 GB, free: 69.69 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.17e-05/2.579, allocations: 136.5 kB / 1.224 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005079/2.579, allocations: 445.1 kB / 1.225 GB, free: 69.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/2.579, allocations: 33.7 kB / 1.225 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/2.579, allocations: 280 kB / 1.225 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/2.58, allocations: 118.3 kB / 1.225 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/2.58, allocations: 8 kB / 1.225 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001096/2.58, allocations: 358.8 kB / 1.225 GB, free: 68.29 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/2.58, allocations: 189 kB / 1.226 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/2.58, allocations: 328.9 kB / 1.226 GB, free: 67.72 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/2.581, allocations: 239.8 kB / 1.226 GB, free: 67.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/2.581, allocations: 0 / 1.226 GB, free: 67.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001081/2.582, allocations: 0.638 MB / 1.227 GB, free: 66.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/2.582, allocations: 9.719 kB / 1.227 GB, free: 66.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/2.582, allocations: 4 kB / 1.227 GB, free: 66.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/2.583, allocations: 237 kB / 1.227 GB, free: 66.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/2.584, allocations: 139.8 kB / 1.227 GB, free: 66.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007714/2.592, allocations: 23.11 MB / 1.25 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007944/2.592, allocations: 71.62 kB / 1.25 GB, free: 41.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/2.593, allocations: 47.98 kB / 1.25 GB, free: 41.67 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 () * 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.0004508/2.593, allocations: 189.6 kB / 1.25 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001866/2.593, allocations: 51.34 kB / 1.25 GB, free: 41.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/2.595, allocations: 1.063 MB / 1.251 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/2.595, allocations: 3.953 kB / 1.251 GB, free: 40.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/2.595, allocations: 4 kB / 1.251 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/2.595, allocations: 7.984 kB / 1.251 GB, free: 40.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/2.597, allocations: 0.9284 MB / 1.252 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/2.597, allocations: 4 kB / 1.252 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/2.597, allocations: 51.91 kB / 1.252 GB, free: 39.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/2.598, allocations: 232.7 kB / 1.252 GB, free: 39.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/2.598, allocations: 11.94 kB / 1.252 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000319/2.599, allocations: 0.5953 MB / 1.253 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/2.599, allocations: 4.062 kB / 1.253 GB, free: 38.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006594/2.599, allocations: 0.5398 MB / 1.253 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/2.599, allocations: 156.3 kB / 1.254 GB, free: 37.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.913e-05/2.6, allocations: 12 kB / 1.254 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/2.6, allocations: 31.97 kB / 1.254 GB, free: 37.59 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/2.6, allocations: 19.97 kB / 1.254 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/2.6, allocations: 19.98 kB / 1.254 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004189/2.6, allocations: 378.8 kB / 1.254 GB, free: 37.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/2.6, allocations: 0 / 1.254 GB, free: 37.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002347/2.603, allocations: 439.4 kB / 1.254 GB, free: 36.75 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 () * 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.00328/2.606, allocations: 2.469 MB / 1.257 GB, free: 34.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009325/2.607, allocations: 407.6 kB / 1.257 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/2.607, allocations: 4.875 kB / 1.257 GB, free: 33.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002614/2.607, allocations: 158.2 kB / 1.257 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/2.609, allocations: 277.8 kB / 1.258 GB, free: 33.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/2.612, allocations: 4.246 MB / 1.262 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/2.612, allocations: 0.871 MB / 1.263 GB, free: 28.13 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001076/2.613, allocations: 0.5417 MB / 1.263 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/2.614, allocations: 215.3 kB / 1.263 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of SimCode: time 1.172e-06/2.614, allocations: 0 / 1.263 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4137/3.028, allocations: 33.15 MB / 1.296 GB, free: 105 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/3.028, allocations: 272.6 kB / 1.296 GB, free: 104.7 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_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: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_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:1887: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