Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001516/0.001516, allocations: 112 kB / 17.33 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001661/0.001661, allocations: 209.8 kB / 18.27 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.5 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2132/0.2132, allocations: 46.12 MB / 343.8 MB, free: 11.71 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 82.17 kB / 417.2 MB, free: 19.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1174, allocations: 62.45 MB / 479.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.383/0.5004, allocations: 181.9 MB / 0.6461 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007686/0.5082, allocations: 5.06 MB / 0.6511 GB, free: 8.332 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006237/0.5088, allocations: 19.88 kB / 0.6511 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009086/0.5098, allocations: 294.4 kB / 0.6514 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005031/0.5148, allocations: 1.94 MB / 0.6533 GB, free: 6.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.517, allocations: 0.8575 MB / 0.6541 GB, free: 5.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.5193, allocations: 1.664 MB / 0.6557 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.52, allocations: 430.2 kB / 0.6561 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.522, allocations: 0.8565 MB / 0.657 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008598/0.5229, allocations: 0.5214 MB / 0.6575 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.065e-05/0.523, allocations: 52 kB / 0.6575 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003929/0.5269, allocations: 2.437 MB / 0.6599 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.5272, allocations: 175.5 kB / 0.6601 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004883/0.5277, allocations: 378.3 kB / 0.6604 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003135/0.5308, allocations: 2.112 MB / 0.6625 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5308, allocations: 0 / 0.6625 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5308, allocations: 0 / 0.6625 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.277e-06/0.5308, allocations: 0 / 0.6625 GB, free: 12.61 MB / 0.4981 GB 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.002115/0.533, allocations: 1.142 MB / 0.6636 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.533, allocations: 8.031 kB / 0.6636 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.5332, allocations: 90.52 kB / 0.6637 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.5344, allocations: 159.1 kB / 0.6639 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007527/0.5351, allocations: 0.4886 MB / 0.6643 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.5352, allocations: 29 kB / 0.6644 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.963e-05/0.5353, allocations: 44 kB / 0.6644 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.5365, allocations: 0.6516 MB / 0.665 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.5365, allocations: 0 / 0.665 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.5366, allocations: 24 kB / 0.6651 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/0.5366, allocations: 15.98 kB / 0.6651 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009422/0.5376, allocations: 491.6 kB / 0.6656 GB, free: 9.336 MB / 0.4981 GB 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.003225/0.5408, allocations: 2.633 MB / 0.6681 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.5415, allocations: 330.7 kB / 0.6684 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.5418, allocations: 160.7 kB / 0.6686 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005318/0.5424, allocations: 437.5 kB / 0.669 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5424, allocations: 42.5 kB / 0.669 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.5424, allocations: 0 / 0.669 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001702/0.5441, allocations: 0.6974 MB / 0.6697 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.5443, allocations: 166.2 kB / 0.6699 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.5449, allocations: 0.5222 MB / 0.6704 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.545, allocations: 33.7 kB / 0.6704 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.5452, allocations: 295.6 kB / 0.6707 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.5454, allocations: 126.2 kB / 0.6708 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.5456, allocations: 126.1 kB / 0.671 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002119/0.5458, allocations: 362.8 kB / 0.6713 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/0.5461, allocations: 145 kB / 0.6714 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.5466, allocations: 319 kB / 0.6717 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/0.5473, allocations: 478.7 kB / 0.6722 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5474, allocations: 4 kB / 0.6722 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001087/0.5485, allocations: 0.5713 MB / 0.6728 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.5485, allocations: 11.94 kB / 0.6728 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.5485, allocations: 4 kB / 0.6728 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.55, allocations: 245.1 kB / 0.673 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.5505, allocations: 111.8 kB / 0.6731 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005114/0.551, allocations: 0.5875 MB / 0.6737 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.5514, allocations: 59.42 kB / 0.6737 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.5515, allocations: 60.05 kB / 0.6738 GB, free: 312 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003157/0.5518, allocations: 193.6 kB / 0.674 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.552, allocations: 59.25 kB / 0.674 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.5541, allocations: 1.098 MB / 0.6751 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5541, allocations: 4 kB / 0.6751 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5541, allocations: 3.938 kB / 0.6751 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.5541, allocations: 3.984 kB / 0.6751 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001472/0.5556, allocations: 0.9999 MB / 0.6761 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5556, allocations: 4 kB / 0.6761 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.5558, allocations: 51.91 kB / 0.6762 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003206/0.5591, allocations: 456.3 kB / 0.6766 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.5591, allocations: 11.94 kB / 0.6766 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004787/0.5596, allocations: 0.603 MB / 0.6772 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5596, allocations: 0 / 0.6772 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008098/0.5604, allocations: 0.5013 MB / 0.6777 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.5606, allocations: 140.3 kB / 0.6778 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.5607, allocations: 11.94 kB / 0.6778 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.5611, allocations: 31.89 kB / 0.6779 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.463e-05/0.5612, allocations: 27.91 kB / 0.6779 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.5612, allocations: 19.98 kB / 0.6779 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005959/0.5618, allocations: 438.8 kB / 0.6783 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5618, allocations: 0 / 0.6783 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001152/0.563, allocations: 355.7 kB / 0.6787 GB, free: 11.13 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002294/0.5653, allocations: 1.385 MB / 0.68 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009502/0.5662, allocations: 393.5 kB / 0.6804 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.5663, allocations: 4 kB / 0.6804 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.5666, allocations: 151.8 kB / 0.6805 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.5685, allocations: 422.8 kB / 0.6809 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007789/0.5763, allocations: 5.383 MB / 0.6862 GB, free: 3.137 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.5769, allocations: 0.8716 MB / 0.687 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001431/0.5783, allocations: 0.5676 MB / 0.6876 GB, free: 1.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.5787, allocations: 239.3 kB / 0.6878 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.5787, allocations: 0 / 0.6878 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2483/0.8271, allocations: 24.65 MB / 0.7119 GB, free: 199 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/0.8274, allocations: 300.7 kB / 0.7122 GB, free: 198.6 MB / 0.5294 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:380:156: error: passing '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[40] /* from_dp.m_flow variable */) = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, tmp1, tmp2, (data->localData[0]->realVars[37] /* from_dp.dp variable */)); ^~~~ ./ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:276: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_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1