Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001484/0.001484, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008953/0.0008951, allocations: 84.98 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.094e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 63.24 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8974/1.009, allocations: 340.8 MB / 0.8442 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/1.009, allocations: 90.81 kB / 0.8443 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.367/2.375, allocations: 464 MB / 1.297 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.002e-06/2.376, allocations: 0 / 1.297 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.891e-05/2.376, allocations: 43.12 kB / 1.298 GB, free: 47.42 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.003841/2.379, allocations: 1.934 MB / 1.299 GB, free: 45.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/2.38, allocations: 8.031 kB / 1.299 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002053/2.38, allocations: 198.5 kB / 1.3 GB, free: 45.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/2.381, allocations: 249.8 kB / 1.3 GB, free: 45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/2.383, allocations: 1.091 MB / 1.301 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/2.383, allocations: 94.66 kB / 1.301 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/2.383, allocations: 132 kB / 1.301 GB, free: 43.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/2.385, allocations: 1.902 MB / 1.303 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/2.385, allocations: 7.734 kB / 1.303 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/2.386, allocations: 72 kB / 1.303 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.277e-05/2.386, allocations: 35.95 kB / 1.303 GB, free: 41.44 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/2.388, allocations: 1.559 MB / 1.305 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006858/2.395, allocations: 9.263 MB / 1.314 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/2.396, allocations: 1.032 MB / 1.315 GB, free: 28.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/2.397, allocations: 480.9 kB / 1.315 GB, free: 28.51 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004513/2.401, allocations: 6.023 MB / 1.321 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/2.401, allocations: 51.34 kB / 1.321 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 2.114e-06/2.401, allocations: 0 / 1.321 GB, free: 21.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95): time 0.0022/2.403, allocations: 1.033 MB / 1.322 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/2.404, allocations: 372.6 kB / 1.322 GB, free: 19.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/2.405, allocations: 0.9962 MB / 1.323 GB, free: 18.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/2.405, allocations: 53.64 kB / 1.323 GB, free: 18.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/2.405, allocations: 0.7746 MB / 1.324 GB, free: 18.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/2.405, allocations: 339.2 kB / 1.325 GB, free: 17.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/2.405, allocations: 32 kB / 1.325 GB, free: 17.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.891e-05/2.405, allocations: 357.9 kB / 1.325 GB, free: 17.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/2.406, allocations: 371.9 kB / 1.325 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006985/2.406, allocations: 0.9705 MB / 1.326 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/2.407, allocations: 0.5253 MB / 1.327 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/2.407, allocations: 4 kB / 1.327 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.001989/2.409, allocations: 1.464 MB / 1.328 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/2.409, allocations: 13.41 kB / 1.328 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/2.409, allocations: 16 kB / 1.328 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.465e-05/2.409, allocations: 28 kB / 1.328 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/2.412, allocations: 0.5383 MB / 1.329 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/2.413, allocations: 1.879 MB / 1.331 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/2.414, allocations: 214.3 kB / 1.331 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/2.414, allocations: 87.95 kB / 1.331 GB, free: 10.95 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.0002591/2.415, allocations: 204.4 kB / 1.331 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/2.415, allocations: 149.8 kB / 1.331 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003138/2.418, allocations: 2.323 MB / 1.333 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/2.418, allocations: 15.98 kB / 1.333 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/2.418, allocations: 4 kB / 1.333 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/2.418, allocations: 7.938 kB / 1.333 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004457/2.422, allocations: 3.739 MB / 1.337 GB, free: 4.207 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/2.423, allocations: 8 kB / 1.337 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/2.424, allocations: 303.6 kB / 1.337 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005844/2.424, allocations: 108.7 kB / 1.338 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.005e-05/2.424, allocations: 43.97 kB / 1.338 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009269/2.425, allocations: 1.791 MB / 1.339 GB, free: 1.887 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.425, allocations: 15.88 kB / 1.339 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/2.427, allocations: 1.99 MB / 1.341 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/2.428, allocations: 282.7 kB / 1.342 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/2.428, allocations: 35.98 kB / 1.342 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/2.429, allocations: 103.7 kB / 1.342 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/2.43, allocations: 108.5 kB / 1.342 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/2.43, allocations: 87.88 kB / 1.342 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001127/2.431, allocations: 0.7816 MB / 1.343 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.984e-06/2.431, allocations: 0 / 1.343 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003091/2.434, allocations: 0.9673 MB / 1.344 GB, free: 13.14 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.006434/2.44, allocations: 5.739 MB / 1.349 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00394/2.444, allocations: 1.336 MB / 1.35 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/2.444, allocations: 4.781 kB / 1.35 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/2.446, allocations: 0.6931 MB / 1.351 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/2.45, allocations: 0.7786 MB / 1.352 GB, free: 4.43 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/2.456, allocations: 2.661 MB / 1.355 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008564/2.457, allocations: 1.3 MB / 1.356 GB, free: 300 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.2884/2.746, allocations: 453 kB / 1.356 GB, free: 70.44 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/2.747, allocations: 0.6392 MB / 1.357 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/2.747, allocations: 0 / 1.357 GB, free: 70.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09184/2.839, allocations: 58.43 MB / 1.414 GB, free: 67.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/2.839, allocations: 245.4 kB / 1.414 GB, free: 67.39 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' -c -o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1