Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_3_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.001189/0.001189, allocations: 103.8 kB / 15.98 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.001364/0.001364, allocations: 193.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, 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.306/0.306, allocations: 43.49 MB / 313.6 MB, free: 8.551 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.002399/0.002399, allocations: 71.89 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.107, allocations: 57.78 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.3161/0.4232, allocations: 185.6 MB / 0.611 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007876/0.4311, allocations: 7.408 MB / 0.6183 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.4313, allocations: 19.88 kB / 0.6183 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.432, allocations: 302.4 kB / 0.6186 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.4365, allocations: 2.469 MB / 0.621 GB, free: 8.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00157/0.4381, allocations: 0.8452 MB / 0.6218 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.4394, allocations: 1.673 MB / 0.6235 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.4399, allocations: 434.2 kB / 0.6239 GB, free: 5.172 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.4409, allocations: 0.8409 MB / 0.6247 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.4414, allocations: 0.5253 MB / 0.6252 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.217e-05/0.4415, allocations: 52 kB / 0.6253 GB, free: 3.75 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.4442, allocations: 2.566 MB / 0.6278 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.4443, allocations: 175.4 kB / 0.6279 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002846/0.4446, allocations: 374.4 kB / 0.6283 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1858/0.6304, allocations: 2.217 MB / 0.6304 GB, free: 7.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6305, allocations: 0 / 0.6304 GB, free: 7.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.6305, allocations: 0 / 0.6304 GB, free: 7.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.6305, allocations: 0 / 0.6304 GB, free: 7.148 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.001841/0.6324, allocations: 1.155 MB / 0.6316 GB, free: 6.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.6324, allocations: 14.23 kB / 0.6316 GB, free: 6.594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.662e-05/0.6325, allocations: 87.8 kB / 0.6317 GB, free: 6.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.6336, allocations: 154.3 kB / 0.6318 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.6341, allocations: 0.4909 MB / 0.6323 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.6342, allocations: 34.56 kB / 0.6323 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.6342, allocations: 42.81 kB / 0.6324 GB, free: 6.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008903/0.6351, allocations: 0.6393 MB / 0.633 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.6351, allocations: 2.062 kB / 0.633 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.734e-05/0.6352, allocations: 25.75 kB / 0.633 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6352, allocations: 11 kB / 0.633 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.6359, allocations: 496.4 kB / 0.6335 GB, free: 6.117 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.002246/0.6382, allocations: 2.659 MB / 0.6361 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/0.6387, allocations: 320 kB / 0.6364 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.6389, allocations: 160.8 kB / 0.6366 GB, free: 4.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009654/0.6399, allocations: 1.294 MB / 0.6378 GB, free: 19.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.6399, allocations: 45.67 kB / 0.6379 GB, free: 19.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.6399, allocations: 0 / 0.6379 GB, free: 19.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001296/0.6412, allocations: 0.6865 MB / 0.6385 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.6413, allocations: 163.9 kB / 0.6387 GB, free: 18.89 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.6418, allocations: 0.5221 MB / 0.6392 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.6418, allocations: 37.05 kB / 0.6392 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.642, allocations: 301.4 kB / 0.6395 GB, free: 18.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.642, allocations: 125.5 kB / 0.6396 GB, free: 18.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.6422, allocations: 116.8 kB / 0.6398 GB, free: 18.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6423, allocations: 362.5 kB / 0.6401 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/0.6425, allocations: 146 kB / 0.6402 GB, free: 18.17 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.6428, allocations: 321.7 kB / 0.6406 GB, free: 17.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005036/0.6433, allocations: 473.7 kB / 0.641 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6433, allocations: 3.719 kB / 0.641 GB, free: 17.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007876/0.6441, allocations: 0.5815 MB / 0.6416 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.6441, allocations: 8.75 kB / 0.6416 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6441, allocations: 4.656 kB / 0.6416 GB, free: 17.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.6455, allocations: 235.5 kB / 0.6418 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.6458, allocations: 113.1 kB / 0.6419 GB, free: 17.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003452/0.6462, allocations: 0.5941 MB / 0.6425 GB, free: 17.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.6465, allocations: 63.89 kB / 0.6426 GB, free: 17.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.6466, allocations: 55.08 kB / 0.6426 GB, free: 17.17 MB / 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.0001932/0.6468, allocations: 199 kB / 0.6428 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.6469, allocations: 57.28 kB / 0.6429 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.6482, allocations: 0.7289 MB / 0.6436 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.6482, allocations: 7.766 kB / 0.6436 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6482, allocations: 1.031 kB / 0.6436 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6482, allocations: 2.25 kB / 0.6436 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.6493, allocations: 1.003 MB / 0.6446 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6493, allocations: 3.062 kB / 0.6446 GB, free: 16.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.6495, allocations: 56.77 kB / 0.6446 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002863/0.6523, allocations: 451.8 kB / 0.645 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.6524, allocations: 11.12 kB / 0.6451 GB, free: 16.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000316/0.6527, allocations: 0.6036 MB / 0.6456 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6527, allocations: 0 / 0.6456 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.6533, allocations: 0.4965 MB / 0.6461 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.6534, allocations: 135 kB / 0.6463 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.209e-05/0.6535, allocations: 14.83 kB / 0.6463 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.6538, allocations: 32.3 kB / 0.6463 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.6539, allocations: 31.64 kB / 0.6463 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.6539, allocations: 18.36 kB / 0.6464 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003925/0.6543, allocations: 439 kB / 0.6468 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.91e-07/0.6543, allocations: 1.094 kB / 0.6468 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008105/0.6551, allocations: 382.9 kB / 0.6471 GB, free: 15.48 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.001602/0.6567, allocations: 1.449 MB / 0.6486 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006143/0.6573, allocations: 388.1 kB / 0.6489 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6574, allocations: 1.938 kB / 0.6489 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.6576, allocations: 157.7 kB / 0.6491 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.6591, allocations: 423.2 kB / 0.6495 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.6645, allocations: 5.381 MB / 0.6547 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6649, allocations: 0.8679 MB / 0.6556 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008359/0.6657, allocations: 218.5 kB / 0.6558 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.666, allocations: 225 kB / 0.656 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.666, allocations: 0 / 0.656 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7695/1.436, allocations: 25.37 MB / 0.6808 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/1.436, allocations: 301.2 kB / 0.6811 GB, free: 4.512 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_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_3_2_3_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_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:328: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_Dissipation_TestCases_PressureLoss_Bend.o] Error 1