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.00111/0.00111, allocations: 183.2 kB / 13.19 MB, free: 2.129 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.598/1.598, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000993/0.0009925, allocations: 82.67 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4861/0.4861, allocations: 43.46 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.517e-05, allocations: 8 kB / 425.4 MB, free: 8.773 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1468, allocations: 58.85 MB / 484.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.238/1.385, allocations: 338.4 MB / 0.8034 GB, free: 36.86 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.385, allocations: 89.77 kB / 0.8034 GB, free: 36.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694/3.08, allocations: 454.8 MB / 1.248 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.623e-06/3.08, allocations: 3.938 kB / 1.248 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001359/3.08, allocations: 39.98 kB / 1.248 GB, free: 4.84 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005323/3.085, allocations: 1.927 MB / 1.249 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/3.085, allocations: 12.03 kB / 1.25 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003171/3.086, allocations: 194.5 kB / 1.25 GB, free: 2.652 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/3.087, allocations: 235.1 kB / 1.25 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/3.089, allocations: 1.088 MB / 1.251 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/3.09, allocations: 108 kB / 1.251 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/3.09, allocations: 124 kB / 1.251 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3946/3.484, allocations: 1.895 MB / 1.253 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.052e-05/3.484, allocations: 6.781 kB / 1.253 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/3.485, allocations: 70.34 kB / 1.253 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.776e-05/3.485, allocations: 35.28 kB / 1.253 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003319/3.488, allocations: 1.558 MB / 1.255 GB, free: 46.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/3.501, allocations: 9.263 MB / 1.264 GB, free: 40.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/3.503, allocations: 1.026 MB / 1.265 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007784/3.504, allocations: 487.1 kB / 1.265 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006929/3.511, allocations: 6.026 MB / 1.271 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.092e-05/3.511, allocations: 55.77 kB / 1.271 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 3.807e-06/3.511, allocations: 2.031 kB / 1.271 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=95): time 0.002645/3.514, allocations: 1.024 MB / 1.272 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/3.514, allocations: 372.3 kB / 1.272 GB, free: 34.58 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001451/3.515, allocations: 0.9945 MB / 1.273 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/3.515, allocations: 50.14 kB / 1.274 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/3.516, allocations: 0.7757 MB / 1.274 GB, free: 34.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002295/3.516, allocations: 338.1 kB / 1.275 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/3.516, allocations: 25.53 kB / 1.275 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.921e-05/3.516, allocations: 363.6 kB / 1.275 GB, free: 33.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006571/3.517, allocations: 371.3 kB / 1.275 GB, free: 33.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/3.518, allocations: 0.9767 MB / 1.276 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008719/3.519, allocations: 0.5238 MB / 1.277 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/3.519, allocations: 6.5 kB / 1.277 GB, free: 32.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00249/3.521, allocations: 1.46 MB / 1.278 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/3.521, allocations: 15.44 kB / 1.278 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/3.521, allocations: 18.31 kB / 1.278 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.944e-05/3.521, allocations: 27.19 kB / 1.278 GB, free: 32.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00285/3.524, allocations: 0.5379 MB / 1.279 GB, free: 32.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/3.525, allocations: 1.874 MB / 1.281 GB, free: 31.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/3.527, allocations: 213.5 kB / 1.281 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001576/3.527, allocations: 93.06 kB / 1.281 GB, free: 30.96 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 () * 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.0003503/3.528, allocations: 206.2 kB / 1.281 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/3.528, allocations: 154.3 kB / 1.281 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/3.532, allocations: 2.316 MB / 1.284 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-05/3.532, allocations: 16.66 kB / 1.284 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.118e-06/3.532, allocations: 6.688 kB / 1.284 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/3.532, allocations: 8.453 kB / 1.284 GB, free: 30.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005718/3.537, allocations: 3.744 MB / 1.287 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.616e-05/3.537, allocations: 7.188 kB / 1.287 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/3.539, allocations: 301.1 kB / 1.288 GB, free: 29.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006143/3.539, allocations: 105.6 kB / 1.288 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/3.539, allocations: 47.28 kB / 1.288 GB, free: 29.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/3.54, allocations: 1.791 MB / 1.289 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/3.541, allocations: 12.62 kB / 1.289 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002729/3.543, allocations: 1.98 MB / 1.291 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/3.544, allocations: 288.4 kB / 1.292 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/3.544, allocations: 37.41 kB / 1.292 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/3.545, allocations: 109 kB / 1.292 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/3.546, allocations: 108.4 kB / 1.292 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/3.546, allocations: 84.92 kB / 1.292 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001068/3.547, allocations: 0.7842 MB / 1.293 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-07/3.547, allocations: 0 / 1.293 GB, free: 26.28 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003364/3.55, allocations: 0.9402 MB / 1.294 GB, free: 26.27 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 () * 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.005753/3.556, allocations: 5.728 MB / 1.299 GB, free: 22.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004078/3.56, allocations: 1.334 MB / 1.301 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.838e-05/3.56, allocations: 3.375 kB / 1.301 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/3.562, allocations: 0.6864 MB / 1.301 GB, free: 22.63 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004965/3.567, allocations: 0.7701 MB / 1.302 GB, free: 22.62 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007073/3.574, allocations: 2.656 MB / 1.305 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009004/3.575, allocations: 1.296 MB / 1.306 GB, free: 21.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002284/3.577, allocations: 471.3 kB / 1.306 GB, free: 21.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009965/3.578, allocations: 0.6403 MB / 1.307 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.014e-06/3.578, allocations: 2.594 kB / 1.307 GB, free: 21.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/3.696, allocations: 58.33 MB / 1.364 GB, free: 17.63 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/3.697, allocations: 240 kB / 1.364 GB, free: 17.3 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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:998:156: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp324geometry' (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_D_Geometry24from__dp324geometry(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:1923: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