Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.2 MB / 245 MB, free: 5.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009852/0.0009852, allocations: 93.44 kB / 297.2 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4372/0.4372, allocations: 45.23 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 8 kB / 468.5 MB, free: 7.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4254, allocations: 63.24 MB / 0.5193 GB, free: 37.49 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7151/1.141, allocations: 340.8 MB / 0.8521 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/1.141, allocations: 93.05 kB / 0.8522 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.169/3.31, allocations: 465.6 MB / 1.307 GB, free: 55.2 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.432e-06/3.31, allocations: 0 / 1.307 GB, free: 55.2 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002407/3.31, allocations: 45.38 kB / 1.307 GB, free: 55.2 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.008501/3.318, allocations: 2.124 MB / 1.309 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/3.318, allocations: 10.12 kB / 1.309 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009752/3.319, allocations: 210.2 kB / 1.309 GB, free: 54.37 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001926/3.321, allocations: 245.8 kB / 1.309 GB, free: 54.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003825/3.325, allocations: 1.097 MB / 1.31 GB, free: 54.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/3.325, allocations: 99.67 kB / 1.311 GB, free: 54.01 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004479/3.326, allocations: 126.9 kB / 1.311 GB, free: 54.01 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004598/3.33, allocations: 1.936 MB / 1.313 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.815e-05/3.331, allocations: 7.219 kB / 1.313 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004222/3.331, allocations: 66.5 kB / 1.313 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.334e-05/3.331, allocations: 34.28 kB / 1.313 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003287/3.334, allocations: 1.598 MB / 1.314 GB, free: 53.45 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/3.347, allocations: 9.271 MB / 1.323 GB, free: 47.55 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/3.349, allocations: 1.048 MB / 1.324 GB, free: 47.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007021/3.356, allocations: 5.828 MB / 1.33 GB, free: 42.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.906e-05/3.356, allocations: 59.61 kB / 1.33 GB, free: 42.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=95): time 3.516e-06/3.356, allocations: 0 / 1.33 GB, free: 42.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95): time 0.004033/3.36, allocations: 1.357 MB / 1.331 GB, free: 42.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/3.36, allocations: 378.9 kB / 1.332 GB, free: 41.81 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/3.362, allocations: 1.007 MB / 1.333 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002537/3.362, allocations: 45.77 kB / 1.333 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007793/3.363, allocations: 0.7728 MB / 1.334 GB, free: 41.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/3.364, allocations: 339.7 kB / 1.334 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.427e-05/3.364, allocations: 28.31 kB / 1.334 GB, free: 41.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001388/3.364, allocations: 363.4 kB / 1.334 GB, free: 40.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/3.365, allocations: 392.2 kB / 1.335 GB, free: 40.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/3.366, allocations: 0.9993 MB / 1.336 GB, free: 40 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/3.368, allocations: 0.5351 MB / 1.336 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-05/3.368, allocations: 5.625 kB / 1.336 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003797/3.371, allocations: 1.502 MB / 1.338 GB, free: 39.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/3.371, allocations: 11.78 kB / 1.338 GB, free: 39.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/3.371, allocations: 20.03 kB / 1.338 GB, free: 39.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.812e-05/3.372, allocations: 27.94 kB / 1.338 GB, free: 39.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003384/3.375, allocations: 0.5376 MB / 1.338 GB, free: 39.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/3.377, allocations: 1.877 MB / 1.34 GB, free: 38.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/3.379, allocations: 217 kB / 1.34 GB, free: 38.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/3.379, allocations: 88.62 kB / 1.34 GB, free: 38.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001383/3.381, allocations: 350.8 kB / 1.341 GB, free: 37.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007728/3.381, allocations: 151.1 kB / 1.341 GB, free: 37.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006164/3.388, allocations: 2.351 MB / 1.343 GB, free: 37.59 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.081e-05/3.388, allocations: 20.12 kB / 1.343 GB, free: 37.59 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.922e-05/3.388, allocations: 0 / 1.343 GB, free: 37.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/3.388, allocations: 6.188 kB / 1.343 GB, free: 37.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/3.398, allocations: 3.786 MB / 1.347 GB, free: 36.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.195e-05/3.398, allocations: 11.3 kB / 1.347 GB, free: 36.38 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/3.4, allocations: 301.8 kB / 1.347 GB, free: 36.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008379/3.401, allocations: 110.9 kB / 1.347 GB, free: 36.37 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/3.401, allocations: 57.8 kB / 1.347 GB, free: 36.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/3.402, allocations: 1.789 MB / 1.349 GB, free: 34.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/3.402, allocations: 14.09 kB / 1.349 GB, free: 34.68 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/3.406, allocations: 2.011 MB / 1.351 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/3.407, allocations: 294.3 kB / 1.351 GB, free: 33.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008288/3.408, allocations: 34.34 kB / 1.351 GB, free: 33.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/3.41, allocations: 103 kB / 1.351 GB, free: 33.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/3.41, allocations: 111.3 kB / 1.352 GB, free: 33.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/3.411, allocations: 84.39 kB / 1.352 GB, free: 33.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002085/3.413, allocations: 0.7986 MB / 1.352 GB, free: 33.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.91e-07/3.413, allocations: 0.6875 kB / 1.352 GB, free: 33.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007054/3.42, allocations: 0.9672 MB / 1.353 GB, free: 33.05 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (126): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01111/3.431, allocations: 5.779 MB / 1.359 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.005642/3.437, allocations: 1.375 MB / 1.36 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-05/3.437, allocations: 4.25 kB / 1.36 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002354/3.439, allocations: 0.706 MB / 1.361 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005061/3.444, allocations: 0.7877 MB / 1.362 GB, free: 29.24 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02847/3.473, allocations: 20.73 MB / 1.382 GB, free: 29.65 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/3.475, allocations: 1.294 MB / 1.383 GB, free: 28.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003018/3.478, allocations: 459.5 kB / 1.384 GB, free: 28.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/3.479, allocations: 0.6381 MB / 1.384 GB, free: 28.9 MB / 0.5573 GB Notification: Performance of SimCode: time 2.325e-06/3.479, allocations: 3.75 kB / 1.384 GB, free: 28.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/3.585, allocations: 57.38 MB / 1.44 GB, free: 25.67 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/3.585, allocations: 279.6 kB / 1.441 GB, free: 25.31 MB / 0.5573 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_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_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_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:1006:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp3_24geometry' (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[199] /* from_dp3.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp3_24geometry(threadData, data->simulationInfo->realParameter[105] /* from_dp3.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[104] /* from_dp3.geometry.R_0 PARAM */, data->simulationInfo->realParameter[106] /* from_dp3.geometry.delta PARAM */, data->simulationInfo->realParameter[103] /* from_dp3.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[196] /* from_dp3.dp variable */, 0.001, 0.001, data->simulationInfo->realParameter[101] /* from_dp3.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[196] /* from_dp3.dp variable */, 995.586, 995.586, data->simulationInfo->realParameter[101] /* from_dp3.dp_small PARAM */)), data->localData[0]->realVars[196] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_functions.h:2145: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_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1