Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001683/0.001683, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.2 MB / 245 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001042, allocations: 105.3 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4481/0.4481, allocations: 45.23 MB / 394.7 MB, free: 31.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002887, allocations: 12.2 kB / 468.5 MB, free: 7.594 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.423, allocations: 63.25 MB / 0.5193 GB, free: 37.6 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/1.775, allocations: 0.4884 GB / 1.008 GB, free: 92.35 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/1.776, allocations: 103.4 kB / 1.008 GB, free: 92.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.8889/2.664, allocations: 225.5 MB / 1.228 GB, free: 96.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.056e-06/2.665, allocations: 0 / 1.228 GB, free: 96.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.798e-05/2.665, allocations: 16 kB / 1.228 GB, free: 96.49 MB / 0.5417 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.003495/2.668, allocations: 0.9872 MB / 1.229 GB, free: 95.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/2.668, allocations: 12.03 kB / 1.229 GB, free: 95.45 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002813/2.668, allocations: 90.52 kB / 1.229 GB, free: 95.35 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/2.67, allocations: 139.2 kB / 1.229 GB, free: 95.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/2.671, allocations: 496.6 kB / 1.23 GB, free: 94.69 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/2.671, allocations: 29 kB / 1.23 GB, free: 94.66 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/2.671, allocations: 40 kB / 1.23 GB, free: 94.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/2.672, allocations: 0.6009 MB / 1.23 GB, free: 93.97 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/2.672, allocations: 8 kB / 1.23 GB, free: 93.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/2.672, allocations: 19.94 kB / 1.23 GB, free: 93.94 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/2.672, allocations: 12 kB / 1.23 GB, free: 93.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009195/2.673, allocations: 491.6 kB / 1.231 GB, free: 93.45 MB / 0.5417 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.002975/2.676, allocations: 2.64 MB / 1.233 GB, free: 90.58 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/2.677, allocations: 331.9 kB / 1.234 GB, free: 90.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003847/2.677, allocations: 441.8 kB / 1.234 GB, free: 89.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/2.677, allocations: 34.84 kB / 1.234 GB, free: 89.69 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=33): time 3.977e-06/2.677, allocations: 4 kB / 1.234 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33): time 0.001564/2.679, allocations: 0.7054 MB / 1.235 GB, free: 88.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/2.679, allocations: 136.5 kB / 1.235 GB, free: 88.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004824/2.679, allocations: 449.1 kB / 1.235 GB, free: 88.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.838e-05/2.68, allocations: 33.64 kB / 1.235 GB, free: 88.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/2.68, allocations: 268.1 kB / 1.236 GB, free: 88.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.572e-05/2.68, allocations: 126.2 kB / 1.236 GB, free: 87.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/2.68, allocations: 12 kB / 1.236 GB, free: 87.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/2.68, allocations: 366.8 kB / 1.236 GB, free: 87.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/2.68, allocations: 185 kB / 1.236 GB, free: 87.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/2.681, allocations: 332.9 kB / 1.237 GB, free: 86.97 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/2.681, allocations: 232.9 kB / 1.237 GB, free: 86.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/2.681, allocations: 4 kB / 1.237 GB, free: 86.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001017/2.682, allocations: 0.638 MB / 1.238 GB, free: 86.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/2.682, allocations: 4 kB / 1.238 GB, free: 86.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/2.682, allocations: 7.984 kB / 1.238 GB, free: 86.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/2.683, allocations: 237 kB / 1.238 GB, free: 85.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/2.684, allocations: 143.8 kB / 1.238 GB, free: 85.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/2.69, allocations: 23.1 MB / 1.26 GB, free: 61.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000614/2.691, allocations: 63.56 kB / 1.261 GB, free: 60.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/2.691, allocations: 47.98 kB / 1.261 GB, free: 60.93 MB / 0.5417 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.0003727/2.691, allocations: 185.7 kB / 1.261 GB, free: 60.74 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/2.691, allocations: 55.34 kB / 1.261 GB, free: 60.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/2.693, allocations: 1.047 MB / 1.262 GB, free: 59.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/2.693, allocations: 7.953 kB / 1.262 GB, free: 59.61 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/2.693, allocations: 0 / 1.262 GB, free: 59.61 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/2.693, allocations: 3.984 kB / 1.262 GB, free: 59.61 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/2.695, allocations: 0.9439 MB / 1.263 GB, free: 58.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/2.695, allocations: 8.156 kB / 1.263 GB, free: 58.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001895/2.695, allocations: 51.91 kB / 1.263 GB, free: 58.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001196/2.696, allocations: 236.6 kB / 1.263 GB, free: 58.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/2.696, allocations: 8 kB / 1.263 GB, free: 58.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002927/2.696, allocations: 0.5953 MB / 1.264 GB, free: 57.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/2.696, allocations: 4.031 kB / 1.264 GB, free: 57.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006627/2.697, allocations: 0.5406 MB / 1.264 GB, free: 57.06 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/2.697, allocations: 148.3 kB / 1.264 GB, free: 56.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/2.697, allocations: 8 kB / 1.264 GB, free: 56.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004156/2.698, allocations: 35.97 kB / 1.264 GB, free: 56.85 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-05/2.698, allocations: 23.97 kB / 1.264 GB, free: 56.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/2.698, allocations: 23.92 kB / 1.264 GB, free: 56.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00042/2.698, allocations: 378.8 kB / 1.265 GB, free: 56.44 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/2.698, allocations: 4 kB / 1.265 GB, free: 56.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002339/2.701, allocations: 459.4 kB / 1.265 GB, free: 55.98 MB / 0.5417 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.00418/2.705, allocations: 2.488 MB / 1.268 GB, free: 53.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009289/2.706, allocations: 428 kB / 1.268 GB, free: 53.02 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.706, allocations: 0 / 1.268 GB, free: 53.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/2.706, allocations: 145.7 kB / 1.268 GB, free: 52.88 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/2.708, allocations: 282.6 kB / 1.268 GB, free: 52.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/2.712, allocations: 4.269 MB / 1.273 GB, free: 48.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/2.712, allocations: 0.8593 MB / 1.273 GB, free: 47.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00124/2.713, allocations: 0.538 MB / 1.274 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/2.714, allocations: 223.3 kB / 1.274 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of SimCode: time 1.613e-06/2.714, allocations: 0 / 1.274 GB, free: 46.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06739/2.781, allocations: 33.36 MB / 1.307 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/2.782, allocations: 267.8 kB / 1.307 GB, free: 13.1 MB / 0.5417 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 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1