Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 221.3 MB / 236 MB, free: 2.949 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009166/0.0009165, allocations: 91 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2286/0.2286, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.732e-05/5.735e-05, allocations: 3.984 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1411, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/1.247, allocations: 339.7 MB / 0.8336 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/1.247, allocations: 90.2 kB / 0.8336 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.674/2.921, allocations: 463.9 MB / 1.287 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/2.921, allocations: 0 / 1.287 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001164/2.921, allocations: 51.38 kB / 1.287 GB, free: 42.39 MB / 0.5261 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.005424/2.926, allocations: 1.915 MB / 1.289 GB, free: 40.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/2.926, allocations: 12.03 kB / 1.289 GB, free: 40.43 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000352/2.927, allocations: 198.5 kB / 1.289 GB, free: 40.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/2.928, allocations: 237.6 kB / 1.289 GB, free: 40 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/2.93, allocations: 1.095 MB / 1.29 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/2.93, allocations: 94.66 kB / 1.29 GB, free: 38.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/2.93, allocations: 131.9 kB / 1.29 GB, free: 38.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/2.933, allocations: 1.897 MB / 1.292 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/2.933, allocations: 7.938 kB / 1.292 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/2.933, allocations: 68 kB / 1.292 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/2.933, allocations: 40 kB / 1.292 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/2.936, allocations: 1.559 MB / 1.294 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009065/2.945, allocations: 9.261 MB / 1.303 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/2.946, allocations: 1.021 MB / 1.304 GB, free: 24.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005524/2.947, allocations: 487.7 kB / 1.304 GB, free: 23.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005592/2.953, allocations: 6.025 MB / 1.31 GB, free: 16.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/2.953, allocations: 55.34 kB / 1.31 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 2.795e-06/2.953, allocations: 0 / 1.31 GB, free: 16.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95): time 0.002573/2.955, allocations: 1.029 MB / 1.311 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/2.955, allocations: 380.6 kB / 1.312 GB, free: 15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/2.957, allocations: 0.9924 MB / 1.313 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/2.957, allocations: 45.7 kB / 1.313 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/2.957, allocations: 0.7669 MB / 1.313 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/2.957, allocations: 335.3 kB / 1.314 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.558e-05/2.957, allocations: 32 kB / 1.314 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.328e-05/2.957, allocations: 357.9 kB / 1.314 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005003/2.958, allocations: 371.9 kB / 1.314 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007814/2.959, allocations: 0.9786 MB / 1.315 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006958/2.959, allocations: 0.5289 MB / 1.316 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/2.959, allocations: 4 kB / 1.316 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002208/2.962, allocations: 1.455 MB / 1.317 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/2.962, allocations: 12 kB / 1.317 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/2.962, allocations: 20.91 kB / 1.317 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.764e-05/2.962, allocations: 28 kB / 1.317 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002624/2.964, allocations: 0.5421 MB / 1.318 GB, free: 8.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/2.966, allocations: 1.879 MB / 1.32 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/2.967, allocations: 210.2 kB / 1.32 GB, free: 6.078 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/2.967, allocations: 87.97 kB / 1.32 GB, free: 5.992 MB / 0.5261 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.0003657/2.968, allocations: 216.3 kB / 1.32 GB, free: 5.773 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002599/2.968, allocations: 150.3 kB / 1.32 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/2.972, allocations: 2.319 MB / 1.323 GB, free: 3.258 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/2.972, allocations: 15.98 kB / 1.323 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/2.972, allocations: 0 / 1.323 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/2.972, allocations: 3.984 kB / 1.323 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005454/2.977, allocations: 3.734 MB / 1.326 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/2.977, allocations: 19.31 kB / 1.326 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/2.978, allocations: 308.2 kB / 1.327 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006668/2.979, allocations: 104.8 kB / 1.327 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/2.979, allocations: 47.97 kB / 1.327 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001597/2.981, allocations: 1.798 MB / 1.329 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/2.981, allocations: 11.94 kB / 1.329 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/2.985, allocations: 1.978 MB / 1.33 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008503/2.986, allocations: 294.7 kB / 1.331 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002719/2.986, allocations: 35.94 kB / 1.331 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/2.987, allocations: 107.8 kB / 1.331 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/2.987, allocations: 104.5 kB / 1.331 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/2.988, allocations: 83.92 kB / 1.331 GB, free: 9.922 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001207/2.989, allocations: 0.7855 MB / 1.332 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/2.989, allocations: 0 / 1.332 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004187/2.993, allocations: 0.9439 MB / 1.333 GB, free: 8.188 MB / 0.5417 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.007131/3, allocations: 5.722 MB / 1.338 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004252/3.004, allocations: 1.344 MB / 1.34 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/3.004, allocations: 4.781 kB / 1.34 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001852/3.006, allocations: 0.6853 MB / 1.34 GB, free: 252 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.396/3.402, allocations: 0.7664 MB / 1.341 GB, free: 74.47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007922/3.41, allocations: 2.641 MB / 1.344 GB, free: 73.71 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009331/3.411, allocations: 1.299 MB / 1.345 GB, free: 72.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002263/3.414, allocations: 464.9 kB / 1.345 GB, free: 72.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/3.415, allocations: 0.6371 MB / 1.346 GB, free: 72.96 MB / 0.5417 GB Notification: Performance of SimCode: time 2.134e-06/3.415, allocations: 2.156 kB / 1.346 GB, free: 72.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.124/3.539, allocations: 58.35 MB / 1.403 GB, free: 70.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/3.539, allocations: 246.6 kB / 1.403 GB, free: 69.79 MB / 0.5417 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_4_0_0_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_4_0_0_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_4_0_0_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_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1