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.001192/0.001192, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.381/1.381, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000916/0.000916, allocations: 97.69 kB / 292.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.369/0.369, allocations: 44.21 MB / 387.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003222, allocations: 12 kB / 460 MB, free: 1.668 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 61.91 MB / 0.5097 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7094/1.059, allocations: 339.8 MB / 0.8415 GB, free: 5.887 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.059, allocations: 103 kB / 0.8416 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.737/2.796, allocations: 465.5 MB / 1.296 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.126e-06/2.796, allocations: 0 / 1.296 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002574/2.796, allocations: 43.98 kB / 1.296 GB, free: 0.5508 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.4259/3.222, allocations: 2.116 MB / 1.298 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001017/3.223, allocations: 9.625 kB / 1.298 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001552/3.224, allocations: 205.7 kB / 1.298 GB, free: 44.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/3.226, allocations: 236.7 kB / 1.299 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/3.229, allocations: 1.096 MB / 1.3 GB, free: 44.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/3.229, allocations: 102.1 kB / 1.3 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/3.229, allocations: 126.2 kB / 1.3 GB, free: 44.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/3.233, allocations: 1.932 MB / 1.302 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/3.233, allocations: 8.344 kB / 1.302 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/3.233, allocations: 65.97 kB / 1.302 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/3.233, allocations: 40.58 kB / 1.302 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002978/3.236, allocations: 1.6 MB / 1.304 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01206/3.248, allocations: 9.267 MB / 1.313 GB, free: 38.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/3.251, allocations: 1.047 MB / 1.314 GB, free: 38.04 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006994/3.258, allocations: 5.839 MB / 1.319 GB, free: 32.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/3.258, allocations: 51.28 kB / 1.319 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 2.865e-06/3.258, allocations: 0 / 1.319 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95): time 0.003402/3.261, allocations: 1.361 MB / 1.321 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/3.261, allocations: 373.4 kB / 1.321 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/3.263, allocations: 1.009 MB / 1.322 GB, free: 32.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/3.263, allocations: 48.98 kB / 1.322 GB, free: 32.17 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005264/3.263, allocations: 0.7681 MB / 1.323 GB, free: 31.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/3.264, allocations: 342.9 kB / 1.323 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.389e-05/3.264, allocations: 27.77 kB / 1.323 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001186/3.264, allocations: 360.4 kB / 1.324 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006994/3.265, allocations: 392.3 kB / 1.324 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/3.266, allocations: 0.9969 MB / 1.325 GB, free: 30.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/3.266, allocations: 0.535 MB / 1.325 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/3.267, allocations: 5.375 kB / 1.325 GB, free: 30.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002682/3.269, allocations: 1.507 MB / 1.327 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/3.269, allocations: 15.41 kB / 1.327 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.487e-05/3.269, allocations: 17.81 kB / 1.327 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-05/3.269, allocations: 26.94 kB / 1.327 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002867/3.272, allocations: 0.5428 MB / 1.327 GB, free: 30.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/3.274, allocations: 1.873 MB / 1.329 GB, free: 28.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/3.275, allocations: 219.1 kB / 1.329 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/3.275, allocations: 86.84 kB / 1.33 GB, free: 28.71 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 () * Number of clocked 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.0008799/3.276, allocations: 350.7 kB / 1.33 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/3.277, allocations: 156.5 kB / 1.33 GB, free: 28.51 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/3.281, allocations: 2.336 MB / 1.332 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.247e-05/3.281, allocations: 18.88 kB / 1.332 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/3.281, allocations: 2.531 kB / 1.332 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/3.281, allocations: 3.609 kB / 1.332 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/3.287, allocations: 3.782 MB / 1.336 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/3.287, allocations: 6.438 kB / 1.336 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/3.289, allocations: 304.3 kB / 1.336 GB, free: 27.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008815/3.289, allocations: 118.5 kB / 1.336 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.575e-05/3.29, allocations: 44.14 kB / 1.337 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/3.291, allocations: 1.798 MB / 1.338 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/3.291, allocations: 14.56 kB / 1.338 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/3.294, allocations: 2.017 MB / 1.34 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/3.295, allocations: 293.3 kB / 1.341 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002385/3.295, allocations: 31.5 kB / 1.341 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/3.297, allocations: 106.1 kB / 1.341 GB, free: 24.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/3.297, allocations: 111.8 kB / 1.341 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/3.297, allocations: 85.83 kB / 1.341 GB, free: 24.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001165/3.298, allocations: 0.7915 MB / 1.342 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/3.298, allocations: 0 / 1.342 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004629/3.303, allocations: 0.9392 MB / 1.343 GB, free: 23.86 MB / 0.5261 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 () * Number of clocked 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.0109/3.314, allocations: 5.776 MB / 1.348 GB, free: 36.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006652/3.32, allocations: 1.377 MB / 1.35 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.83e-05/3.321, allocations: 4.219 kB / 1.35 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002772/3.323, allocations: 0.6953 MB / 1.35 GB, free: 36.18 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006431/3.33, allocations: 0.7706 MB / 1.351 GB, free: 36.16 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/3.367, allocations: 20.72 MB / 1.371 GB, free: 20.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002599/3.369, allocations: 1.302 MB / 1.372 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004793/3.374, allocations: 465.4 kB / 1.373 GB, free: 19.94 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001887/3.376, allocations: 0.6434 MB / 1.374 GB, free: 19.93 MB / 0.5417 GB Notification: Performance of SimCode: time 2.064e-06/3.376, allocations: 0 / 1.374 GB, free: 19.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/3.498, allocations: 57.27 MB / 1.429 GB, free: 16.92 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/3.499, allocations: 269.8 kB / 1.43 GB, free: 16.57 MB / 0.5417 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-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: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_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:1006: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[199] /* 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[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: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. make: *** [: ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1