Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01001/0.01001, allocations: 174.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.979/1.979, allocations: 194.5 MB / 210.3 MB, free: 7.809 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002146/0.002144, allocations: 132.6 kB / 255.6 MB, free: 10.42 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2776/0.2776, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006822/0.0006823, allocations: 12.53 kB / 406.3 MB, free: 51.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1384, allocations: 54.88 MB / 461.2 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.204/1.342, allocations: 333.4 MB / 0.7759 GB, free: 118.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/1.343, allocations: 98.94 kB / 0.776 GB, free: 118.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.273/3.616, allocations: 449.7 MB / 1.215 GB, free: 55.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.525e-06/3.616, allocations: 2.953 kB / 1.215 GB, free: 55.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001642/3.616, allocations: 45.98 kB / 1.215 GB, free: 55.24 MB / 490.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.007486/3.623, allocations: 2.124 MB / 1.217 GB, free: 53.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/3.623, allocations: 7.375 kB / 1.217 GB, free: 53.73 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000871/3.624, allocations: 206.3 kB / 1.217 GB, free: 53.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/3.626, allocations: 238.9 kB / 1.218 GB, free: 53.47 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/3.63, allocations: 1.179 MB / 1.219 GB, free: 52.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/3.63, allocations: 96.56 kB / 1.219 GB, free: 52.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000384/3.631, allocations: 129.2 kB / 1.219 GB, free: 52.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005398/3.636, allocations: 1.904 MB / 1.221 GB, free: 51.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.013e-05/3.636, allocations: 10.34 kB / 1.221 GB, free: 51.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004674/3.637, allocations: 66.12 kB / 1.221 GB, free: 51.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/3.637, allocations: 33.91 kB / 1.221 GB, free: 51.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004835/3.642, allocations: 1.595 MB / 1.223 GB, free: 50.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01433/3.656, allocations: 9.149 MB / 1.232 GB, free: 41.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00306/3.659, allocations: 1.036 MB / 1.233 GB, free: 41.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/3.669, allocations: 6.544 MB / 1.239 GB, free: 34.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/3.669, allocations: 50.52 kB / 1.239 GB, free: 34.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=41): time 3.908e-06/3.669, allocations: 0 / 1.239 GB, free: 34.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=41): time 0.00328/3.673, allocations: 0.7019 MB / 1.24 GB, free: 34.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/3.673, allocations: 365.9 kB / 1.24 GB, free: 33.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/3.675, allocations: 1.096 MB / 1.241 GB, free: 32.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001869/3.675, allocations: 37.7 kB / 1.241 GB, free: 32.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000715/3.676, allocations: 0.9949 MB / 1.242 GB, free: 31.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/3.676, allocations: 168.3 kB / 1.242 GB, free: 31.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/3.676, allocations: 32 kB / 1.242 GB, free: 31.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/3.676, allocations: 373.8 kB / 1.243 GB, free: 31.36 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/3.677, allocations: 283.8 kB / 1.243 GB, free: 31.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/3.678, allocations: 1.365 MB / 1.244 GB, free: 29.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/3.68, allocations: 0.5256 MB / 1.245 GB, free: 28.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/3.68, allocations: 15.95 kB / 1.245 GB, free: 28.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004172/3.684, allocations: 1.594 MB / 1.246 GB, free: 27.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.829e-05/3.684, allocations: 21.09 kB / 1.246 GB, free: 27.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.053e-05/3.684, allocations: 36.81 kB / 1.246 GB, free: 26.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-05/3.684, allocations: 56.03 kB / 1.246 GB, free: 26.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007397/3.692, allocations: 0.6963 MB / 1.247 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/3.693, allocations: 1.898 MB / 1.249 GB, free: 24.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/3.696, allocations: 266 kB / 1.249 GB, free: 24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/3.697, allocations: 112 kB / 1.249 GB, free: 23.89 MB / 490.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.001021/3.698, allocations: 396.8 kB / 1.25 GB, free: 23.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004186/3.698, allocations: 138.3 kB / 1.25 GB, free: 23.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/3.702, allocations: 1.283 MB / 1.251 GB, free: 22.07 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/3.703, allocations: 8 kB / 1.251 GB, free: 22.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/3.703, allocations: 3.984 kB / 1.251 GB, free: 22.06 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/3.703, allocations: 0 / 1.251 GB, free: 22.06 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00237/3.705, allocations: 0.9867 MB / 1.252 GB, free: 21.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/3.705, allocations: 0 / 1.252 GB, free: 21.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/3.707, allocations: 203.7 kB / 1.252 GB, free: 20.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/3.707, allocations: 60.59 kB / 1.252 GB, free: 20.78 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/3.707, allocations: 19.98 kB / 1.252 GB, free: 20.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/3.708, allocations: 1.752 MB / 1.254 GB, free: 18.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/3.708, allocations: 4.281 kB / 1.254 GB, free: 18.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/3.711, allocations: 0.8091 MB / 1.255 GB, free: 18.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/3.711, allocations: 262.8 kB / 1.255 GB, free: 17.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/3.712, allocations: 16 kB / 1.255 GB, free: 17.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/3.713, allocations: 59.89 kB / 1.255 GB, free: 17.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/3.713, allocations: 44.5 kB / 1.255 GB, free: 17.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-05/3.713, allocations: 27.98 kB / 1.255 GB, free: 17.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001636/3.715, allocations: 0.8434 MB / 1.256 GB, free: 16.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/3.715, allocations: 0 / 1.256 GB, free: 16.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003989/3.719, allocations: 0.8035 MB / 1.257 GB, free: 16.04 MB / 490.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.005362/3.724, allocations: 2.373 MB / 1.259 GB, free: 13.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007746/3.732, allocations: 1.18 MB / 1.26 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/3.732, allocations: 0 / 1.26 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001728/3.734, allocations: 375 kB / 1.261 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/3.739, allocations: 0.5394 MB / 1.261 GB, free: 11.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4346/4.173, allocations: 33.12 MB / 1.294 GB, free: 65.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/4.174, allocations: 1.273 MB / 1.295 GB, free: 64.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00262/4.177, allocations: 365.6 kB / 1.295 GB, free: 64.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/4.179, allocations: 0.6014 MB / 1.296 GB, free: 64.29 MB / 0.4948 GB Notification: Performance of SimCode: time 1.333e-06/4.179, allocations: 1.75 kB / 1.296 GB, free: 64.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/4.31, allocations: 47.35 MB / 1.342 GB, free: 61.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003079/4.311, allocations: 281.4 kB / 1.342 GB, free: 61.63 MB / 0.4948 GB 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_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_2_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_2_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_2_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_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1