Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_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.001232/0.001232, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001141/0.001141, allocations: 192.9 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6385/0.6385, allocations: 43.5 MB / 313.6 MB, free: 8.539 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001859, allocations: 67.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2371, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.8126/1.05, allocations: 188 MB / 0.6134 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/1.063, allocations: 6.12 MB / 0.6194 GB, free: 9.766 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/1.065, allocations: 23.81 kB / 0.6194 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001528/1.067, allocations: 290.5 kB / 0.6197 GB, free: 9.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007947/1.075, allocations: 1.784 MB / 0.6214 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002862/1.078, allocations: 0.6422 MB / 0.6221 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003246/1.081, allocations: 1.524 MB / 0.6235 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009566/1.082, allocations: 421.1 kB / 0.6239 GB, free: 5.105 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/1.083, allocations: 0.5994 MB / 0.6245 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007676/1.084, allocations: 466.1 kB / 0.625 GB, free: 4.047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/1.084, allocations: 52 kB / 0.625 GB, free: 3.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005536/1.09, allocations: 2.476 MB / 0.6274 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002601/1.09, allocations: 163.5 kB / 0.6276 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005809/1.09, allocations: 350.4 kB / 0.6279 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6346/1.725, allocations: 2.064 MB / 0.63 GB, free: 7.348 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/1.725, allocations: 0 / 0.63 GB, free: 7.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.657e-06/1.725, allocations: 0 / 0.63 GB, free: 7.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.097e-05/1.725, allocations: 0 / 0.63 GB, free: 7.348 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.003468/1.729, allocations: 1.105 MB / 0.631 GB, free: 6.809 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001004/1.729, allocations: 15.27 kB / 0.631 GB, free: 6.805 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/1.729, allocations: 83.02 kB / 0.6311 GB, free: 6.766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.73, allocations: 142.5 kB / 0.6313 GB, free: 6.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008935/1.731, allocations: 489.4 kB / 0.6317 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/1.731, allocations: 30.5 kB / 0.6318 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.283e-05/1.731, allocations: 42.23 kB / 0.6318 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/1.733, allocations: 0.5906 MB / 0.6324 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/1.733, allocations: 2.375 kB / 0.6324 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.726e-05/1.733, allocations: 20.62 kB / 0.6324 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/1.733, allocations: 11.64 kB / 0.6324 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/1.734, allocations: 478.8 kB / 0.6329 GB, free: 6.355 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.003611/1.738, allocations: 2.682 MB / 0.6355 GB, free: 4.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008732/1.738, allocations: 340.4 kB / 0.6358 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/1.739, allocations: 176 kB / 0.636 GB, free: 4.539 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/1.741, allocations: 1.305 MB / 0.6372 GB, free: 3.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/1.741, allocations: 37.53 kB / 0.6373 GB, free: 3.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/1.741, allocations: 0 / 0.6373 GB, free: 3.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0022/1.743, allocations: 0.7127 MB / 0.638 GB, free: 3.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003478/1.743, allocations: 133.6 kB / 0.6381 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/1.744, allocations: 498.1 kB / 0.6386 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/1.744, allocations: 32.64 kB / 0.6386 GB, free: 18.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/1.744, allocations: 279 kB / 0.6389 GB, free: 18.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/1.745, allocations: 115.7 kB / 0.639 GB, free: 18.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/1.745, allocations: 105.1 kB / 0.6391 GB, free: 18.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003004/1.745, allocations: 363.6 kB / 0.6394 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/1.745, allocations: 151.2 kB / 0.6396 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/1.746, allocations: 282.9 kB / 0.6399 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000774/1.747, allocations: 443.4 kB / 0.6403 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.747, allocations: 0 / 0.6403 GB, free: 18.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001271/1.748, allocations: 0.536 MB / 0.6408 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/1.748, allocations: 8.188 kB / 0.6408 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/1.748, allocations: 3.531 kB / 0.6408 GB, free: 18.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001713/1.75, allocations: 236.2 kB / 0.641 GB, free: 18.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/1.75, allocations: 109.2 kB / 0.6411 GB, free: 18.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007307/1.751, allocations: 0.605 MB / 0.6417 GB, free: 17.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005864/1.751, allocations: 63.3 kB / 0.6418 GB, free: 17.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.752, allocations: 43.36 kB / 0.6418 GB, free: 17.46 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.0004264/1.752, allocations: 182.2 kB / 0.642 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/1.752, allocations: 53.94 kB / 0.6421 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00194/1.754, allocations: 0.7273 MB / 0.6428 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.754, allocations: 8.188 kB / 0.6428 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/1.754, allocations: 0.7188 kB / 0.6428 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/1.754, allocations: 2.625 kB / 0.6428 GB, free: 17.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002021/1.756, allocations: 1.024 MB / 0.6438 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.587e-06/1.756, allocations: 1.562 kB / 0.6438 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/1.756, allocations: 57.34 kB / 0.6438 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/1.76, allocations: 451.4 kB / 0.6443 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/1.76, allocations: 8.5 kB / 0.6443 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006566/1.76, allocations: 0.6096 MB / 0.6449 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.761, allocations: 9.562 kB / 0.6449 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/1.762, allocations: 0.5155 MB / 0.6454 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/1.762, allocations: 138.2 kB / 0.6455 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.762, allocations: 9.75 kB / 0.6455 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/1.763, allocations: 29.72 kB / 0.6455 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.967e-05/1.763, allocations: 31.89 kB / 0.6456 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/1.763, allocations: 18.95 kB / 0.6456 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008975/1.764, allocations: 421.4 kB / 0.646 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.764, allocations: 0 / 0.646 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002265/1.766, allocations: 365.3 kB / 0.6463 GB, free: 15.81 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.004124/1.77, allocations: 1.469 MB / 0.6478 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001446/1.772, allocations: 393.5 kB / 0.6482 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.772, allocations: 3.031 kB / 0.6482 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004358/1.772, allocations: 172.8 kB / 0.6483 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.774, allocations: 374.3 kB / 0.6487 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/1.785, allocations: 5.229 MB / 0.6538 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/1.786, allocations: 0.8567 MB / 0.6546 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001561/1.788, allocations: 199.6 kB / 0.6548 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005313/1.788, allocations: 212.2 kB / 0.655 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.184e-06/1.788, allocations: 0.9375 kB / 0.655 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08515/1.873, allocations: 23.99 MB / 0.6785 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/1.874, allocations: 298 kB / 0.6787 GB, free: 5.727 MB / 0.4981 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_3_2_3_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_3_2_3_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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_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_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1