Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 108 kB / 17.33 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001571/0.001571, allocations: 213.7 kB / 18.27 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, 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.2236/0.2236, allocations: 46.12 MB / 343.9 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.002187/0.002187, allocations: 82.39 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1215, allocations: 62.45 MB / 479.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.4357/0.5573, allocations: 184 MB / 0.6481 GB, free: 11.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007335/0.5647, allocations: 3.735 MB / 0.6518 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008875/0.5657, allocations: 23.81 kB / 0.6518 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001177/0.5669, allocations: 282.5 kB / 0.652 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004749/0.5716, allocations: 1.586 MB / 0.6536 GB, free: 5.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.5735, allocations: 0.655 MB / 0.6542 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.5757, allocations: 1.524 MB / 0.6557 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006267/0.5763, allocations: 415.5 kB / 0.6561 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.5774, allocations: 0.5877 MB / 0.6567 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007391/0.5782, allocations: 490 kB / 0.6572 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.5783, allocations: 48 kB / 0.6572 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00422/0.5825, allocations: 2.336 MB / 0.6595 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002747/0.5828, allocations: 163.5 kB / 0.6596 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005887/0.5834, allocations: 358.3 kB / 0.66 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.5867, allocations: 1.968 MB / 0.6619 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5867, allocations: 0 / 0.6619 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.72e-06/0.5868, allocations: 3.984 kB / 0.6619 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.799e-06/0.5868, allocations: 0 / 0.6619 GB, free: 13.26 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.001995/0.5888, allocations: 1.083 MB / 0.663 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.5888, allocations: 8.031 kB / 0.663 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.589, allocations: 86.52 kB / 0.6631 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009762/0.5899, allocations: 135.2 kB / 0.6632 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.5907, allocations: 484.4 kB / 0.6636 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.5909, allocations: 29 kB / 0.6637 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/0.5909, allocations: 51.88 kB / 0.6637 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.5921, allocations: 0.5901 MB / 0.6643 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.5921, allocations: 4 kB / 0.6643 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.5922, allocations: 16 kB / 0.6643 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.5922, allocations: 12 kB / 0.6643 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.5931, allocations: 475.6 kB / 0.6648 GB, free: 10.18 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.003352/0.5965, allocations: 2.655 MB / 0.6674 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007591/0.5973, allocations: 350.5 kB / 0.6677 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.5976, allocations: 173.3 kB / 0.6679 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005063/0.5981, allocations: 433.9 kB / 0.6683 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/0.5982, allocations: 38.78 kB / 0.6683 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.5982, allocations: 0 / 0.6683 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001863/0.6001, allocations: 0.7265 MB / 0.669 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.6002, allocations: 132.5 kB / 0.6692 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007221/0.6009, allocations: 494 kB / 0.6696 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.201e-05/0.601, allocations: 33.7 kB / 0.6697 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.6013, allocations: 283.8 kB / 0.6699 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.6014, allocations: 118.2 kB / 0.6701 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000173/0.6016, allocations: 102.1 kB / 0.6701 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002937/0.6019, allocations: 358.8 kB / 0.6705 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003173/0.6022, allocations: 156.7 kB / 0.6706 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.6029, allocations: 279.7 kB / 0.6709 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.6036, allocations: 441.6 kB / 0.6713 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.6036, allocations: 0 / 0.6713 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001035/0.6047, allocations: 0.552 MB / 0.6719 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.6047, allocations: 7.938 kB / 0.6719 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.6047, allocations: 7.984 kB / 0.6719 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001516/0.6062, allocations: 244.9 kB / 0.6721 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003671/0.6066, allocations: 103.9 kB / 0.6722 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005101/0.6071, allocations: 0.5953 MB / 0.6728 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.6075, allocations: 71.42 kB / 0.6729 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.6076, allocations: 47.98 kB / 0.6729 GB, free: 1.289 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002831/0.6079, allocations: 181.6 kB / 0.6731 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.608, allocations: 51.44 kB / 0.6731 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.6101, allocations: 1.082 MB / 0.6742 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.6101, allocations: 3.984 kB / 0.6742 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6102, allocations: 3.938 kB / 0.6742 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6102, allocations: 7.984 kB / 0.6742 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.6119, allocations: 1.022 MB / 0.6752 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.6119, allocations: 4 kB / 0.6752 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.6121, allocations: 55.91 kB / 0.6753 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00324/0.6154, allocations: 460.3 kB / 0.6757 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.6154, allocations: 11.98 kB / 0.6757 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005404/0.616, allocations: 0.6031 MB / 0.6763 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.616, allocations: 0 / 0.6763 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009314/0.6169, allocations: 0.5201 MB / 0.6768 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.6171, allocations: 132.4 kB / 0.6769 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.6173, allocations: 19.84 kB / 0.677 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.6176, allocations: 27.97 kB / 0.677 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.98e-05/0.6177, allocations: 31.84 kB / 0.677 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.6178, allocations: 20 kB / 0.677 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005814/0.6184, allocations: 422.8 kB / 0.6774 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.377e-06/0.6184, allocations: 0 / 0.6774 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001038/0.6194, allocations: 335.6 kB / 0.6778 GB, free: 12.14 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.002377/0.6218, allocations: 1.379 MB / 0.6791 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.6229, allocations: 397.8 kB / 0.6795 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6229, allocations: 0 / 0.6795 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003968/0.6233, allocations: 175.8 kB / 0.6796 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/0.6251, allocations: 374.3 kB / 0.68 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00786/0.633, allocations: 5.24 MB / 0.6851 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.6336, allocations: 0.8557 MB / 0.686 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001409/0.635, allocations: 0.5556 MB / 0.6865 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.6355, allocations: 227.2 kB / 0.6867 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.6355, allocations: 0 / 0.6867 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2426/0.8781, allocations: 23.22 MB / 0.7094 GB, free: 199.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004166/0.8786, allocations: 303.3 kB / 0.7097 GB, free: 198.8 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_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_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_TestComponents_NewFittings_Bends_CurvedBend.c:306:157: 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[28] /* fitting2.m_flow variable */) = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, tmp6, tmp7, (data->localData[0]->realVars[17] /* fitting1.dp variable */)); ^~~~ ./ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:224: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_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1