Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 182.9 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.75/1.75, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001321/0.001321, allocations: 98.78 kB / 270.2 MB, free: 13.36 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.2517/0.2517, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1446, allocations: 58.85 MB / 490.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.083/1.228, allocations: 338.5 MB / 0.8094 GB, free: 81.28 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004338/1.228, allocations: 98.23 kB / 0.8095 GB, free: 81.22 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.621/2.85, allocations: 456.4 MB / 1.255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.134e-06/2.85, allocations: 0 / 1.255 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001125/2.85, allocations: 43.92 kB / 1.255 GB, free: 13.76 MB / 0.4948 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.004481/2.854, allocations: 2.113 MB / 1.257 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/2.854, allocations: 12.02 kB / 1.257 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003079/2.855, allocations: 210.5 kB / 1.257 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/2.856, allocations: 241.8 kB / 1.258 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/2.858, allocations: 1.095 MB / 1.259 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/2.858, allocations: 98.66 kB / 1.259 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/2.858, allocations: 128 kB / 1.259 GB, free: 9.762 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/2.86, allocations: 1.928 MB / 1.261 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/2.86, allocations: 7.938 kB / 1.261 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/2.861, allocations: 71.94 kB / 1.261 GB, free: 7.551 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/2.861, allocations: 35.95 kB / 1.261 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/2.863, allocations: 1.598 MB / 1.263 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009092/2.872, allocations: 9.278 MB / 1.272 GB, free: 12.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/2.874, allocations: 1.044 MB / 1.273 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007293/2.881, allocations: 5.836 MB / 1.278 GB, free: 4.176 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/2.881, allocations: 51.56 kB / 1.278 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 2.866e-06/2.881, allocations: 0 / 1.278 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.003537/2.885, allocations: 1.362 MB / 1.28 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001858/2.885, allocations: 376.8 kB / 1.28 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/2.886, allocations: 1.01 MB / 1.281 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/2.887, allocations: 49.7 kB / 1.281 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/2.887, allocations: 0.7668 MB / 1.282 GB, free: 456 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/2.887, allocations: 339.2 kB / 1.282 GB, free: 112 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/2.887, allocations: 28 kB / 1.282 GB, free: 84 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.3628/3.25, allocations: 364.1 kB / 1.283 GB, free: 58.35 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/3.252, allocations: 385.9 kB / 1.283 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/3.253, allocations: 0.993 MB / 1.284 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000979/3.254, allocations: 0.5432 MB / 1.284 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/3.254, allocations: 5.031 kB / 1.284 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003145/3.257, allocations: 1.504 MB / 1.286 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.421e-05/3.257, allocations: 15.73 kB / 1.286 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/3.257, allocations: 15.56 kB / 1.286 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.312e-05/3.257, allocations: 30.28 kB / 1.286 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/3.26, allocations: 0.5322 MB / 1.286 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/3.261, allocations: 1.882 MB / 1.288 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/3.263, allocations: 216.3 kB / 1.288 GB, free: 55.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/3.264, allocations: 91.86 kB / 1.289 GB, free: 55.81 MB / 0.5105 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.0009596/3.265, allocations: 349.4 kB / 1.289 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/3.265, allocations: 157 kB / 1.289 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/3.27, allocations: 2.343 MB / 1.291 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/3.27, allocations: 18.7 kB / 1.291 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/3.27, allocations: 6.969 kB / 1.291 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/3.27, allocations: 3.891 kB / 1.291 GB, free: 55.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007872/3.278, allocations: 3.77 MB / 1.295 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.239e-05/3.278, allocations: 10.3 kB / 1.295 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/3.279, allocations: 306.9 kB / 1.295 GB, free: 54.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008684/3.28, allocations: 110.6 kB / 1.295 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/3.28, allocations: 50.17 kB / 1.296 GB, free: 54.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/3.282, allocations: 1.789 MB / 1.297 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.525e-05/3.282, allocations: 12.28 kB / 1.297 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004379/3.286, allocations: 2.021 MB / 1.299 GB, free: 51.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/3.287, allocations: 290.6 kB / 1.3 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/3.288, allocations: 35.5 kB / 1.3 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/3.289, allocations: 106 kB / 1.3 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/3.289, allocations: 108.6 kB / 1.3 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002073/3.289, allocations: 87.55 kB / 1.3 GB, free: 51.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001694/3.291, allocations: 0.7944 MB / 1.301 GB, free: 51.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/3.291, allocations: 3.75 kB / 1.301 GB, free: 51.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004971/3.296, allocations: 0.9349 MB / 1.302 GB, free: 51.1 MB / 0.5105 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.007314/3.303, allocations: 5.761 MB / 1.307 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00508/3.309, allocations: 1.378 MB / 1.309 GB, free: 47.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/3.309, allocations: 6.656 kB / 1.309 GB, free: 47.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/3.311, allocations: 0.6992 MB / 1.309 GB, free: 47.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/3.315, allocations: 0.7714 MB / 1.31 GB, free: 47.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02028/3.336, allocations: 20.72 MB / 1.33 GB, free: 32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007988/3.336, allocations: 1.294 MB / 1.331 GB, free: 31.28 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002197/3.339, allocations: 462 kB / 1.332 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000778/3.339, allocations: 0.6417 MB / 1.333 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.253e-06/3.339, allocations: 0 / 1.333 GB, free: 31.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09737/3.437, allocations: 57.26 MB / 1.388 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/3.437, allocations: 273.8 kB / 1.389 GB, free: 27.28 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_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_3_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_3_2_3_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_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1