Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.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.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 112.7 kB / 17.33 MB, free: 6.016 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.001001/0.001001, allocations: 193.3 kB / 18.25 MB, free: 5.113 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.335/1.335, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.1889/0.1889, allocations: 44.18 MB / 336.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 61.17 kB / 408 MB, free: 27.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09781, allocations: 60.82 MB / 468.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3376/0.4355, allocations: 181.1 MB / 0.6346 GB, free: 11.92 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007915/0.4434, allocations: 3.703 MB / 0.6383 GB, free: 8.203 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007296/0.4442, allocations: 27.81 kB / 0.6383 GB, free: 8.176 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.4455, allocations: 274.5 kB / 0.6385 GB, free: 7.906 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.4508, allocations: 1.574 MB / 0.6401 GB, free: 6.336 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.4531, allocations: 0.6591 MB / 0.6407 GB, free: 5.684 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002363/0.4554, allocations: 1.524 MB / 0.6422 GB, free: 4.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008256/0.4563, allocations: 420 kB / 0.6426 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.4576, allocations: 0.5878 MB / 0.6432 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008489/0.4585, allocations: 478 kB / 0.6436 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001604/0.4586, allocations: 52 kB / 0.6437 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/0.4635, allocations: 2.309 MB / 0.646 GB, free: 324 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.4638, allocations: 155.5 kB / 0.6461 GB, free: 168 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005993/0.4644, allocations: 358.4 kB / 0.6464 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003786/0.4682, allocations: 1.952 MB / 0.6483 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4683, allocations: 0 / 0.6483 GB, free: 13.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.4683, allocations: 0 / 0.6483 GB, free: 13.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.4683, allocations: 0 / 0.6483 GB, free: 13.86 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003227/0.4715, allocations: 1.071 MB / 0.6494 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.4716, allocations: 8.031 kB / 0.6494 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.4718, allocations: 86.52 kB / 0.6495 GB, free: 12.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.4736, allocations: 143.1 kB / 0.6496 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4747, allocations: 484.4 kB / 0.6501 GB, free: 11.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.395e-05/0.4747, allocations: 33 kB / 0.6501 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.4749, allocations: 43.94 kB / 0.6502 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.4766, allocations: 0.5945 MB / 0.6507 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.4766, allocations: 0 / 0.6507 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.4768, allocations: 20 kB / 0.6508 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.258e-05/0.4768, allocations: 15.94 kB / 0.6508 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.4783, allocations: 475.6 kB / 0.6512 GB, free: 10.77 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.004622/0.483, allocations: 2.655 MB / 0.6538 GB, free: 7.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4841, allocations: 339.5 kB / 0.6541 GB, free: 7.555 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.4847, allocations: 177.4 kB / 0.6543 GB, free: 7.379 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000578/0.4853, allocations: 437.8 kB / 0.6547 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.4853, allocations: 38.84 kB / 0.6548 GB, free: 6.812 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 3.135e-06/0.4853, allocations: 4 kB / 0.6548 GB, free: 6.809 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.002732/0.4881, allocations: 0.7148 MB / 0.6555 GB, free: 6.066 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.685e-05/0.4882, allocations: 144.5 kB / 0.6556 GB, free: 5.895 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.4888, allocations: 490.1 kB / 0.6561 GB, free: 5.406 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.4889, allocations: 29.7 kB / 0.6561 GB, free: 5.371 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.4891, allocations: 283.7 kB / 0.6564 GB, free: 5.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.4892, allocations: 118.3 kB / 0.6565 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.4894, allocations: 102.1 kB / 0.6566 GB, free: 4.867 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4895, allocations: 358.8 kB / 0.6569 GB, free: 4.508 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.4899, allocations: 152.8 kB / 0.6571 GB, free: 4.359 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.4903, allocations: 280.3 kB / 0.6573 GB, free: 4.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.491, allocations: 449.6 kB / 0.6578 GB, free: 3.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.491, allocations: 0 / 0.6578 GB, free: 3.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001018/0.492, allocations: 0.5485 MB / 0.6583 GB, free: 2.992 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4921, allocations: 14.42 kB / 0.6583 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4921, allocations: 7.062 kB / 0.6583 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001578/0.4937, allocations: 232.6 kB / 0.6585 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/0.494, allocations: 107.8 kB / 0.6586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004324/0.4945, allocations: 0.5953 MB / 0.6592 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.4949, allocations: 71.47 kB / 0.6593 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/0.495, allocations: 44 kB / 0.6593 GB, free: 1.906 MB / 494.1 MB 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.0002398/0.4952, allocations: 185.6 kB / 0.6595 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.4953, allocations: 55.44 kB / 0.6596 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.4974, allocations: 1.088 MB / 0.6606 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.4974, allocations: 7.984 kB / 0.6606 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4974, allocations: 0 / 0.6606 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4974, allocations: 3.984 kB / 0.6606 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.4988, allocations: 1.018 MB / 0.6616 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4989, allocations: 3.984 kB / 0.6616 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002219/0.4991, allocations: 52.48 kB / 0.6617 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003365/0.5025, allocations: 460.3 kB / 0.6621 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.5025, allocations: 9.25 kB / 0.6621 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004286/0.5029, allocations: 0.6108 MB / 0.6627 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5029, allocations: 3.938 kB / 0.6627 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.5037, allocations: 0.5155 MB / 0.6632 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.5039, allocations: 132.4 kB / 0.6634 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.504, allocations: 11.91 kB / 0.6634 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.5044, allocations: 39.97 kB / 0.6634 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.173e-05/0.5045, allocations: 31.84 kB / 0.6634 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.5045, allocations: 19.98 kB / 0.6635 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000483/0.505, allocations: 422.8 kB / 0.6639 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.505, allocations: 0 / 0.6639 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008937/0.5059, allocations: 319.7 kB / 0.6642 GB, free: 12.76 MB / 0.4981 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.002015/0.5079, allocations: 1.375 MB / 0.6655 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008513/0.5088, allocations: 387.8 kB / 0.6659 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.5088, allocations: 8.812 kB / 0.6659 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003555/0.5092, allocations: 180.1 kB / 0.6661 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.5109, allocations: 379.5 kB / 0.6664 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006713/0.5176, allocations: 5.22 MB / 0.6715 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.518, allocations: 0.8634 MB / 0.6724 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001205/0.5192, allocations: 0.5423 MB / 0.6729 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/0.5196, allocations: 231.3 kB / 0.6731 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.5196, allocations: 4 kB / 0.6731 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4898/1.009, allocations: 22.97 MB / 0.6956 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000339/1.01, allocations: 298.3 kB / 0.6958 GB, free: 12.33 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_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_4_0_0_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_0_0_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_0_0_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_0_0_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1