Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008688/0.008688, allocations: 174.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.624/1.624, allocations: 194.5 MB / 210.3 MB, free: 7.547 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001776/0.001776, allocations: 120.5 kB / 255.6 MB, free: 10.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2107/0.2107, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006186/0.0006187, allocations: 11.47 kB / 406.2 MB, free: 51.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1479, allocations: 54.87 MB / 461 MB, free: 3.285 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.499/1.646, allocations: 0.6148 GB / 1.065 GB, free: 37.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/1.647, allocations: 95.94 kB / 1.065 GB, free: 37.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354/3.001, allocations: 282.4 MB / 1.341 GB, free: 90.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.192e-06/3.001, allocations: 0 / 1.341 GB, free: 90.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.282e-05/3.001, allocations: 16.22 kB / 1.341 GB, free: 90.05 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003607/3.005, allocations: 1.317 MB / 1.342 GB, free: 89.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/3.005, allocations: 8.438 kB / 1.342 GB, free: 89.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/3.006, allocations: 156.6 kB / 1.342 GB, free: 89.32 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008531/3.007, allocations: 0.5283 MB / 1.343 GB, free: 89.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/3.007, allocations: 33.5 kB / 1.343 GB, free: 89.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.737e-05/3.007, allocations: 43.22 kB / 1.343 GB, free: 89.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009879/3.008, allocations: 0.6372 MB / 1.344 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/3.008, allocations: 0 / 1.344 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.203e-05/3.008, allocations: 20.19 kB / 1.344 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/3.008, allocations: 18.11 kB / 1.344 GB, free: 88.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007268/3.009, allocations: 0.4906 MB / 1.344 GB, free: 88.93 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/3.011, allocations: 2.558 MB / 1.347 GB, free: 87.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/3.012, allocations: 302.1 kB / 1.347 GB, free: 87.24 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/3.012, allocations: 323.6 kB / 1.347 GB, free: 86.96 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/3.012, allocations: 43.44 kB / 1.347 GB, free: 86.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.472e-06/3.012, allocations: 0 / 1.347 GB, free: 86.92 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0013/3.013, allocations: 0.6706 MB / 1.348 GB, free: 86.75 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/3.013, allocations: 161.7 kB / 1.348 GB, free: 86.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/3.014, allocations: 396.3 kB / 1.348 GB, free: 86.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/3.014, allocations: 31.27 kB / 1.348 GB, free: 86.42 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/3.014, allocations: 328.1 kB / 1.349 GB, free: 86.23 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/3.014, allocations: 127 kB / 1.349 GB, free: 86.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/3.014, allocations: 10.34 kB / 1.349 GB, free: 86.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.201e-05/3.014, allocations: 356.6 kB / 1.349 GB, free: 85.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/3.014, allocations: 144.4 kB / 1.349 GB, free: 85.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/3.015, allocations: 370.2 kB / 1.35 GB, free: 85.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/3.015, allocations: 197.7 kB / 1.35 GB, free: 85.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/3.015, allocations: 0 / 1.35 GB, free: 85.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008305/3.016, allocations: 0.6062 MB / 1.351 GB, free: 85.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/3.016, allocations: 7.188 kB / 1.351 GB, free: 85.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/3.016, allocations: 10.78 kB / 1.351 GB, free: 85.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/3.017, allocations: 234.2 kB / 1.351 GB, free: 85.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/3.018, allocations: 135.9 kB / 1.351 GB, free: 85.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/3.018, allocations: 0.6022 MB / 1.351 GB, free: 84.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/3.018, allocations: 59.47 kB / 1.352 GB, free: 84.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/3.018, allocations: 56.97 kB / 1.352 GB, free: 84.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002344/3.019, allocations: 196 kB / 1.352 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/3.019, allocations: 56.05 kB / 1.352 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/3.02, allocations: 0.6739 MB / 1.352 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/3.02, allocations: 4.812 kB / 1.352 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/3.02, allocations: 0 / 1.352 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/3.02, allocations: 0 / 1.352 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/3.022, allocations: 1.501 MB / 1.354 GB, free: 84.01 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/3.022, allocations: 10.33 kB / 1.354 GB, free: 84.01 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/3.022, allocations: 73.23 kB / 1.354 GB, free: 84.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/3.023, allocations: 229.5 kB / 1.354 GB, free: 84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/3.023, allocations: 19.08 kB / 1.354 GB, free: 84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002867/3.024, allocations: 0.5815 MB / 1.355 GB, free: 83.48 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/3.024, allocations: 11.5 kB / 1.355 GB, free: 83.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006763/3.024, allocations: 0.6875 MB / 1.356 GB, free: 83.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/3.024, allocations: 139.7 kB / 1.356 GB, free: 82.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/3.024, allocations: 12.28 kB / 1.356 GB, free: 82.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00028/3.025, allocations: 30.19 kB / 1.356 GB, free: 82.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.32e-05/3.025, allocations: 34.12 kB / 1.356 GB, free: 82.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/3.025, allocations: 29.17 kB / 1.356 GB, free: 82.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002892/3.025, allocations: 317.8 kB / 1.356 GB, free: 82.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/3.025, allocations: 0 / 1.356 GB, free: 82.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001912/3.027, allocations: 0.4944 MB / 1.357 GB, free: 82.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002293/3.029, allocations: 1.368 MB / 1.358 GB, free: 82.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007635/3.03, allocations: 412.6 kB / 1.358 GB, free: 82.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/3.03, allocations: 3.125 kB / 1.358 GB, free: 82.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/3.03, allocations: 194.7 kB / 1.358 GB, free: 82.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/3.032, allocations: 280.8 kB / 1.359 GB, free: 82.44 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/3.038, allocations: 2.624 MB / 1.361 GB, free: 81.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/3.038, allocations: 0.8787 MB / 1.362 GB, free: 81.09 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001072/3.039, allocations: 195.7 kB / 1.362 GB, free: 81.07 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/3.04, allocations: 91.39 kB / 1.362 GB, free: 81.06 MB / 490.7 MB Notification: Performance of SimCode: time 1.392e-06/3.04, allocations: 0 / 1.362 GB, free: 81.06 MB / 490.7 MB Notification: Performance of Templates: time 0.04011/3.08, allocations: 26.35 MB / 1.388 GB, free: 79.61 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.c:485:154: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp_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[54] /* from_dp.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend__omcQGeometry_24from_5F_5Fdp_24geometry(threadData, data->simulationInfo->realParameter[20] /* from_dp.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[19] /* from_dp.geometry.R_0 PARAM */, data->simulationInfo->realParameter[21] /* from_dp.geometry.delta PARAM */, data->simulationInfo->realParameter[18] /* from_dp.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[51] /* from_dp.dp variable */, data->localData[0]->realVars[52] /* from_dp.eta_a variable */, data->localData[0]->realVars[53] /* from_dp.eta_b variable */, data->simulationInfo->realParameter[16] /* from_dp.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[51] /* from_dp.dp variable */, data->localData[0]->realVars[49] /* from_dp.d_a variable */, data->localData[0]->realVars[50] /* from_dp.d_b variable */, data->simulationInfo->realParameter[16] /* from_dp.dp_small PARAM */)), data->localData[0]->realVars[51] /* from_dp.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_functions.h:2282: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); ^ 1 error generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.o] Error 1