Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 109.9 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009828/0.0009828, allocations: 189.4 kB / 18.25 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 241.9 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1899/0.1899, allocations: 44.18 MB / 336.2 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.83 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1226, allocations: 60.82 MB / 468.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4028/0.5254, allocations: 179 MB / 0.6327 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007885/0.5333, allocations: 4.997 MB / 0.6375 GB, free: 9.082 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008297/0.5342, allocations: 23.81 kB / 0.6376 GB, free: 9.059 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.5353, allocations: 302.4 kB / 0.6379 GB, free: 8.762 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.5406, allocations: 1.923 MB / 0.6397 GB, free: 6.84 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002242/0.5429, allocations: 0.8475 MB / 0.6406 GB, free: 6 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00209/0.545, allocations: 1.672 MB / 0.6422 GB, free: 4.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006924/0.5457, allocations: 434.6 kB / 0.6426 GB, free: 3.898 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.5474, allocations: 0.8486 MB / 0.6434 GB, free: 3.047 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007969/0.5482, allocations: 0.5137 MB / 0.6439 GB, free: 2.531 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001402/0.5483, allocations: 55.94 kB / 0.644 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003517/0.5519, allocations: 2.414 MB / 0.6463 GB, free: 60 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.5521, allocations: 171.6 kB / 0.6465 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.5526, allocations: 374.3 kB / 0.6469 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.5559, allocations: 2.1 MB / 0.6489 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5559, allocations: 0 / 0.6489 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5559, allocations: 0 / 0.6489 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.276e-05/0.5559, allocations: 0 / 0.6489 GB, free: 13.42 MB / 494.1 MB 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.002066/0.558, allocations: 1.127 MB / 0.65 GB, free: 12.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5581, allocations: 8.031 kB / 0.65 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001298/0.5582, allocations: 86.53 kB / 0.6501 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.5594, allocations: 155.1 kB / 0.6503 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.5601, allocations: 492.4 kB / 0.6507 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.5601, allocations: 29 kB / 0.6508 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.115e-05/0.5602, allocations: 48 kB / 0.6508 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5614, allocations: 0.6438 MB / 0.6514 GB, free: 10.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5615, allocations: 7.938 kB / 0.6514 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-05/0.5615, allocations: 24 kB / 0.6515 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.5616, allocations: 12 kB / 0.6515 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009111/0.5625, allocations: 491.6 kB / 0.6519 GB, free: 10.17 MB / 494.1 MB 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.003124/0.5656, allocations: 2.629 MB / 0.6545 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006978/0.5663, allocations: 340.5 kB / 0.6548 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/0.5666, allocations: 152.9 kB / 0.655 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004637/0.5671, allocations: 437.5 kB / 0.6554 GB, free: 6.348 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.5671, allocations: 38.56 kB / 0.6554 GB, free: 6.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 1.693e-06/0.5671, allocations: 0 / 0.6554 GB, free: 6.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.001609/0.5687, allocations: 0.6985 MB / 0.6561 GB, free: 5.574 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.5688, allocations: 162.2 kB / 0.6563 GB, free: 5.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.5694, allocations: 0.5183 MB / 0.6568 GB, free: 4.848 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.5695, allocations: 33.7 kB / 0.6568 GB, free: 4.809 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.5697, allocations: 295.6 kB / 0.6571 GB, free: 4.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.5698, allocations: 122.3 kB / 0.6572 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.57, allocations: 126.1 kB / 0.6573 GB, free: 4.266 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5701, allocations: 358.8 kB / 0.6577 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.5704, allocations: 149 kB / 0.6578 GB, free: 3.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.5708, allocations: 322.9 kB / 0.6581 GB, free: 3.367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.5716, allocations: 485.7 kB / 0.6586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5716, allocations: 0 / 0.6586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0009947/0.5726, allocations: 0.5637 MB / 0.6591 GB, free: 2.254 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5726, allocations: 11.94 kB / 0.6591 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.5727, allocations: 7.984 kB / 0.6591 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.5742, allocations: 241.1 kB / 0.6594 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.5746, allocations: 123.9 kB / 0.6595 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00046/0.5751, allocations: 0.5913 MB / 0.6601 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.5755, allocations: 63.36 kB / 0.6601 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/0.5756, allocations: 55.98 kB / 0.6602 GB, free: 1.141 MB / 494.1 MB 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.000259/0.5758, allocations: 197.6 kB / 0.6604 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.576, allocations: 59.34 kB / 0.6604 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.578, allocations: 1.093 MB / 0.6615 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.578, allocations: 4 kB / 0.6615 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.578, allocations: 0 / 0.6615 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.578, allocations: 3.984 kB / 0.6615 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.5794, allocations: 1.004 MB / 0.6625 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5794, allocations: 0 / 0.6625 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.5797, allocations: 51.91 kB / 0.6625 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003303/0.583, allocations: 456.3 kB / 0.663 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.583, allocations: 12 kB / 0.663 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004184/0.5834, allocations: 0.6031 MB / 0.6636 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.5835, allocations: 6.125 kB / 0.6636 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.5842, allocations: 0.5006 MB / 0.6641 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.5843, allocations: 132.4 kB / 0.6642 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.5845, allocations: 23.84 kB / 0.6642 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/0.5849, allocations: 31.91 kB / 0.6642 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.5849, allocations: 27.91 kB / 0.6643 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.585, allocations: 15.98 kB / 0.6643 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005225/0.5855, allocations: 442.8 kB / 0.6647 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5855, allocations: 0 / 0.6647 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000938/0.5864, allocations: 335.7 kB / 0.665 GB, free: 11.98 MB / 0.4981 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.00198/0.5884, allocations: 1.381 MB / 0.6664 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007863/0.5892, allocations: 392.6 kB / 0.6668 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5892, allocations: 0 / 0.6668 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.5895, allocations: 159.8 kB / 0.6669 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.5914, allocations: 412.4 kB / 0.6673 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007016/0.5984, allocations: 5.345 MB / 0.6725 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5989, allocations: 0.8677 MB / 0.6734 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001324/0.6002, allocations: 0.5792 MB / 0.6739 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004165/0.6006, allocations: 235.3 kB / 0.6742 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.6006, allocations: 0 / 0.6742 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04783/0.6485, allocations: 24.34 MB / 0.6979 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/0.6488, allocations: 292.7 kB / 0.6982 GB, free: 9.953 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 "-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_Bend.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_4_0_0_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_0_0_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_0_0_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_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1