Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001145/0.001145, allocations: 113.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001285/0.001285, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002468/0.002468, allocations: 82.73 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1425, allocations: 62.44 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.4479/0.5905, allocations: 181.9 MB / 0.646 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006949/0.5974, allocations: 5.053 MB / 0.651 GB, free: 8.484 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007024/0.5982, allocations: 19.81 kB / 0.651 GB, free: 8.465 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009761/0.5992, allocations: 306.3 kB / 0.6513 GB, free: 8.164 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.6044, allocations: 1.94 MB / 0.6532 GB, free: 6.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002453/0.6069, allocations: 0.8486 MB / 0.654 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.6089, allocations: 1.668 MB / 0.6556 GB, free: 3.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008048/0.6097, allocations: 426.2 kB / 0.6561 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001865/0.6116, allocations: 0.8643 MB / 0.6569 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008934/0.6125, allocations: 0.5137 MB / 0.6574 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.6127, allocations: 52 kB / 0.6574 GB, free: 1.863 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003764/0.6164, allocations: 2.445 MB / 0.6598 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.6167, allocations: 171.4 kB / 0.66 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.6172, allocations: 382.3 kB / 0.6604 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.6204, allocations: 2.112 MB / 0.6624 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6204, allocations: 0 / 0.6624 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6204, allocations: 0 / 0.6624 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.6204, allocations: 0 / 0.6624 GB, free: 12.76 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00209/0.6225, allocations: 1.146 MB / 0.6635 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6225, allocations: 8.031 kB / 0.6636 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.6227, allocations: 90.52 kB / 0.6636 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.624, allocations: 159.1 kB / 0.6638 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.6247, allocations: 496.4 kB / 0.6643 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.6247, allocations: 29 kB / 0.6643 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.847e-05/0.6248, allocations: 44 kB / 0.6643 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.6259, allocations: 0.6478 MB / 0.665 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.6259, allocations: 3.938 kB / 0.665 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.626, allocations: 24 kB / 0.665 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.626, allocations: 8 kB / 0.665 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008631/0.6269, allocations: 495.6 kB / 0.6655 GB, free: 9.484 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.002958/0.6298, allocations: 2.637 MB / 0.668 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.6305, allocations: 326.7 kB / 0.6684 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.6308, allocations: 160.8 kB / 0.6685 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003569/0.6312, allocations: 437.4 kB / 0.6689 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.6312, allocations: 38.56 kB / 0.669 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.734e-06/0.6312, allocations: 0 / 0.669 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.001579/0.6328, allocations: 0.7014 MB / 0.6697 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.6329, allocations: 158.2 kB / 0.6698 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006105/0.6335, allocations: 0.5262 MB / 0.6703 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.6336, allocations: 29.7 kB / 0.6703 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6338, allocations: 303.6 kB / 0.6706 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.6339, allocations: 130.1 kB / 0.6708 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001818/0.6341, allocations: 122.1 kB / 0.6709 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6343, allocations: 362.8 kB / 0.6712 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.6346, allocations: 145 kB / 0.6714 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004021/0.635, allocations: 318.9 kB / 0.6717 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006939/0.6357, allocations: 478.7 kB / 0.6721 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6357, allocations: 0 / 0.6721 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001002/0.6367, allocations: 0.5752 MB / 0.6727 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.6367, allocations: 11.94 kB / 0.6727 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.6367, allocations: 4 kB / 0.6727 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.6383, allocations: 241.1 kB / 0.6729 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003959/0.6387, allocations: 115.8 kB / 0.673 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004237/0.6392, allocations: 0.5875 MB / 0.6736 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000394/0.6396, allocations: 59.42 kB / 0.6737 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.979e-05/0.6397, allocations: 60.05 kB / 0.6737 GB, free: 460 kB / 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.0002422/0.6399, allocations: 197.6 kB / 0.6739 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.64, allocations: 60.12 kB / 0.674 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.642, allocations: 1.099 MB / 0.675 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.642, allocations: 4 kB / 0.675 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.642, allocations: 0 / 0.675 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.642, allocations: 0 / 0.675 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.6433, allocations: 0.996 MB / 0.676 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6433, allocations: 0 / 0.676 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.6435, allocations: 59.84 kB / 0.6761 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/0.6468, allocations: 460.3 kB / 0.6765 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.6468, allocations: 8 kB / 0.6765 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003703/0.6472, allocations: 0.603 MB / 0.6771 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6472, allocations: 0 / 0.6771 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000679/0.6479, allocations: 0.5013 MB / 0.6776 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.648, allocations: 140.3 kB / 0.6777 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.6482, allocations: 15.94 kB / 0.6778 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003862/0.6485, allocations: 27.89 kB / 0.6778 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.6486, allocations: 27.91 kB / 0.6778 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.6487, allocations: 19.98 kB / 0.6778 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004846/0.6491, allocations: 446.8 kB / 0.6782 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6492, allocations: 0 / 0.6782 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009787/0.6501, allocations: 347.7 kB / 0.6786 GB, free: 11.28 MB / 0.5137 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.001918/0.6521, allocations: 1.389 MB / 0.6799 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007806/0.6529, allocations: 385.6 kB / 0.6803 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.6529, allocations: 0 / 0.6803 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.6532, allocations: 155.8 kB / 0.6805 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.655, allocations: 416.2 kB / 0.6809 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006716/0.6618, allocations: 5.393 MB / 0.6861 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.6622, allocations: 0.8677 MB / 0.687 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001329/0.6635, allocations: 0.5754 MB / 0.6875 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.664, allocations: 235.3 kB / 0.6878 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of SimCode: time 7.72e-07/0.664, allocations: 0 / 0.6878 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2818/0.9458, allocations: 24.58 MB / 0.7118 GB, free: 199.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.946, allocations: 279.5 kB / 0.712 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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_trunk_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_trunk_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_trunk_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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1