Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0164/0.0164, allocations: 164.6 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.967/1.967, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001988/0.001988, allocations: 111.4 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4979/0.4979, allocations: 38.05 MB / 303.7 MB, free: 42.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000783/0.0007831, allocations: 15.98 kB / 363 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1515, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.26, allocations: 326.9 MB / 0.7213 GB, free: 19.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.26, allocations: 95.42 kB / 0.7213 GB, free: 19.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.47/3.73, allocations: 449.7 MB / 1.16 GB, free: 41.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.297e-06/3.73, allocations: 3.328 kB / 1.16 GB, free: 41.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000133/3.73, allocations: 40.27 kB / 1.161 GB, free: 41.02 MB / 442.7 MB 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.006585/3.737, allocations: 2.123 MB / 1.163 GB, free: 39.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/3.737, allocations: 10.78 kB / 1.163 GB, free: 39.92 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000659/3.737, allocations: 208.8 kB / 1.163 GB, free: 39.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/3.739, allocations: 233 kB / 1.163 GB, free: 39.79 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003856/3.743, allocations: 1.183 MB / 1.164 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.876e-05/3.743, allocations: 97.34 kB / 1.164 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002558/3.743, allocations: 132 kB / 1.164 GB, free: 39.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00507/3.748, allocations: 1.899 MB / 1.166 GB, free: 38.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/3.748, allocations: 6.125 kB / 1.166 GB, free: 38.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000406/3.749, allocations: 69.56 kB / 1.166 GB, free: 38.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/3.749, allocations: 34.94 kB / 1.166 GB, free: 38.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007007/3.756, allocations: 1.59 MB / 1.168 GB, free: 38.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02016/3.776, allocations: 9.158 MB / 1.177 GB, free: 32.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004366/3.781, allocations: 1.033 MB / 1.178 GB, free: 32.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01384/3.795, allocations: 6.555 MB / 1.184 GB, free: 27.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/3.795, allocations: 37.47 kB / 1.184 GB, free: 27.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=41): time 4.839e-06/3.795, allocations: 0 / 1.184 GB, free: 27.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=41): time 0.004703/3.799, allocations: 0.7151 MB / 1.185 GB, free: 26.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/3.8, allocations: 372.9 kB / 1.185 GB, free: 26.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002957/3.803, allocations: 1.093 MB / 1.186 GB, free: 26.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001701/3.803, allocations: 35.73 kB / 1.186 GB, free: 26.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/3.804, allocations: 0.9962 MB / 1.187 GB, free: 25.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/3.804, allocations: 164.5 kB / 1.188 GB, free: 25.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/3.804, allocations: 33.97 kB / 1.188 GB, free: 25.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/3.804, allocations: 370.5 kB / 1.188 GB, free: 25.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/3.806, allocations: 281.4 kB / 1.188 GB, free: 25.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/3.808, allocations: 1.356 MB / 1.19 GB, free: 23.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/3.81, allocations: 0.5287 MB / 1.19 GB, free: 23.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-05/3.81, allocations: 14.22 kB / 1.19 GB, free: 23.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00738/3.817, allocations: 1.592 MB / 1.192 GB, free: 23.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/3.817, allocations: 22.78 kB / 1.192 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.794e-05/3.818, allocations: 36.12 kB / 1.192 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001064/3.818, allocations: 50.56 kB / 1.192 GB, free: 23.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008556/3.826, allocations: 0.6976 MB / 1.192 GB, free: 23.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/3.828, allocations: 1.9 MB / 1.194 GB, free: 21.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/3.831, allocations: 270.9 kB / 1.195 GB, free: 21.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003832/3.831, allocations: 115.5 kB / 1.195 GB, free: 21.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * 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 (203): * Single equations (assignments): 200 * 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.0009797/3.832, allocations: 386.3 kB / 1.195 GB, free: 21.49 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003982/3.833, allocations: 142.2 kB / 1.195 GB, free: 21.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004343/3.837, allocations: 1.289 MB / 1.196 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/3.837, allocations: 7.5 kB / 1.196 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/3.837, allocations: 3.953 kB / 1.196 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/3.837, allocations: 3.938 kB / 1.196 GB, free: 21.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/3.84, allocations: 0.996 MB / 1.197 GB, free: 20.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/3.84, allocations: 0 / 1.197 GB, free: 20.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/3.842, allocations: 197 kB / 1.198 GB, free: 20.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/3.842, allocations: 57.41 kB / 1.198 GB, free: 20.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-05/3.842, allocations: 20.59 kB / 1.198 GB, free: 20.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/3.843, allocations: 1.758 MB / 1.199 GB, free: 19.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-05/3.843, allocations: 7.641 kB / 1.199 GB, free: 19.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/3.845, allocations: 0.8079 MB / 1.2 GB, free: 19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008147/3.846, allocations: 342.8 kB / 1.201 GB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/3.847, allocations: 12.69 kB / 1.201 GB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/3.848, allocations: 54.16 kB / 1.201 GB, free: 18.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/3.848, allocations: 51.16 kB / 1.201 GB, free: 18.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/3.848, allocations: 28.95 kB / 1.201 GB, free: 18.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001613/3.85, allocations: 0.8467 MB / 1.201 GB, free: 18.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/3.85, allocations: 0 / 1.201 GB, free: 18.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003867/3.854, allocations: 0.8088 MB / 1.202 GB, free: 18.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (67): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005096/3.859, allocations: 2.369 MB / 1.205 GB, free: 17.46 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007665/3.866, allocations: 1.175 MB / 1.206 GB, free: 17.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/3.866, allocations: 3.938 kB / 1.206 GB, free: 17.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/3.868, allocations: 380.8 kB / 1.206 GB, free: 17.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004681/3.873, allocations: 0.5325 MB / 1.207 GB, free: 17.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02966/3.902, allocations: 33.14 MB / 1.239 GB, free: 19.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/3.904, allocations: 1.27 MB / 1.24 GB, free: 18.57 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002473/3.906, allocations: 385.2 kB / 1.241 GB, free: 18.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/3.907, allocations: 0.6046 MB / 1.241 GB, free: 18.02 MB / 474.7 MB Notification: Performance of SimCode: time 9.21e-07/3.907, allocations: 3.719 kB / 1.241 GB, free: 18.02 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4819/4.389, allocations: 47.33 MB / 1.287 GB, free: 70.46 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/4.39, allocations: 271 kB / 1.288 GB, free: 70.11 MB / 474.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_1_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_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:434: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[229] /* 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[69] /* from_dp3.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[68] /* from_dp3.geometry.R_0 PARAM */, data->simulationInfo->realParameter[70] /* from_dp3.geometry.delta PARAM */, data->simulationInfo->realParameter[67] /* 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[226] /* from_dp3.dp variable */, 0.001, 0.001, data->simulationInfo->realParameter[65] /* from_dp3.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[226] /* from_dp3.dp variable */, 995.586, 995.586, data->simulationInfo->realParameter[65] /* from_dp3.dp_small PARAM */)), data->localData[0]->realVars[226] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_1_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. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1