Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, 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.2511/0.2511, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 73.48 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1063, allocations: 62.44 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.2638/0.3702, allocations: 51.48 MB / 0.5186 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.3945, allocations: 19.25 MB / 0.5374 GB, free: 4.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.3972, allocations: 53.31 kB / 0.5375 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.3999, allocations: 0.8434 MB / 0.5383 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01111/0.411, allocations: 3.697 MB / 0.5419 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008334/0.4194, allocations: 2.644 MB / 0.5445 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00719/0.4266, allocations: 4.632 MB / 0.549 GB, free: 13.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.4285, allocations: 1.246 MB / 0.5502 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.4322, allocations: 1.904 MB / 0.5521 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.4346, allocations: 1.439 MB / 0.5535 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005584/0.4351, allocations: 150.1 kB / 0.5537 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009517/0.4447, allocations: 3.87 MB / 0.5574 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009343/0.4456, allocations: 0.4906 MB / 0.5579 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002633/0.4483, allocations: 1.027 MB / 0.5589 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.4585, allocations: 4.438 MB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4585, allocations: 4 kB / 0.5633 GB, free: 2.586 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4585, allocations: 0 / 0.5633 GB, free: 2.586 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001093/0.4587, allocations: 4 kB / 0.5633 GB, free: 2.582 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.005544/0.4642, allocations: 2.296 MB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4643, allocations: 8.031 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004301/0.4647, allocations: 206.7 kB / 0.5657 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/0.4662, allocations: 250.6 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.4683, allocations: 1.068 MB / 0.567 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.4683, allocations: 95.03 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002562/0.4686, allocations: 139.9 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003659/0.4723, allocations: 1.916 MB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.4723, allocations: 7.938 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.4725, allocations: 71.94 kB / 0.5692 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-05/0.4726, allocations: 36 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.4755, allocations: 1.621 MB / 0.5708 GB, free: 10.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.486, allocations: 9.232 MB / 0.5798 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.488, allocations: 1.042 MB / 0.5808 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007314/0.4888, allocations: 0.5121 MB / 0.5813 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006494/0.4953, allocations: 5.516 MB / 0.5867 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.4954, allocations: 51.56 kB / 0.5867 GB, free: 8.695 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.888e-06/0.4954, allocations: 8 kB / 0.5868 GB, free: 8.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.004062/0.4995, allocations: 1.377 MB / 0.5881 GB, free: 7.309 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000173/0.4997, allocations: 380.8 kB / 0.5885 GB, free: 6.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.5014, allocations: 1.154 MB / 0.5896 GB, free: 5.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.5016, allocations: 49.7 kB / 0.5896 GB, free: 5.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007236/0.5023, allocations: 0.767 MB / 0.5904 GB, free: 4.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003913/0.5027, allocations: 343.2 kB / 0.5907 GB, free: 4.516 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004862/0.5032, allocations: 303.3 kB / 0.591 GB, free: 4.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5034, allocations: 361.9 kB / 0.5913 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000795/0.5042, allocations: 395.8 kB / 0.5917 GB, free: 3.465 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.5055, allocations: 1.001 MB / 0.5927 GB, free: 2.188 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.5076, allocations: 1.431 MB / 0.5941 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.761e-05/0.5077, allocations: 4 kB / 0.5941 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.003005/0.5107, allocations: 1.52 MB / 0.5956 GB, free: 14.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.5107, allocations: 12 kB / 0.5956 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.5108, allocations: 20 kB / 0.5956 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.925e-05/0.5108, allocations: 31.92 kB / 0.5956 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.5137, allocations: 0.4993 MB / 0.5961 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.5153, allocations: 1.867 MB / 0.598 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.5167, allocations: 210.2 kB / 0.5982 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/0.5168, allocations: 87.97 kB / 0.5982 GB, free: 12.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (179): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009139/0.5178, allocations: 353.2 kB / 0.5986 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004881/0.5183, allocations: 154.3 kB / 0.5987 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004544/0.5228, allocations: 2.411 MB / 0.6011 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/0.5228, allocations: 19.98 kB / 0.6011 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5229, allocations: 0 / 0.6011 GB, free: 9.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.5229, allocations: 3.984 kB / 0.6011 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006027/0.5289, allocations: 3.897 MB / 0.6049 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/0.529, allocations: 12.94 kB / 0.6049 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007508/0.5297, allocations: 215.6 kB / 0.6051 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009388/0.5307, allocations: 194.4 kB / 0.6053 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.5308, allocations: 51.97 kB / 0.6054 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.5324, allocations: 1.688 MB / 0.607 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.237e-05/0.5324, allocations: 11.94 kB / 0.607 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.5355, allocations: 1.701 MB / 0.6087 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.536, allocations: 262.6 kB / 0.6089 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003957/0.5364, allocations: 43.92 kB / 0.609 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001236/0.5377, allocations: 95.78 kB / 0.6091 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.5379, allocations: 116.7 kB / 0.6092 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001869/0.5381, allocations: 83.92 kB / 0.6093 GB, free: 432 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001391/0.5395, allocations: 0.8879 MB / 0.6101 GB, free: 15.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5395, allocations: 4 kB / 0.6101 GB, free: 15.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002575/0.5421, allocations: 0.8544 MB / 0.611 GB, free: 14.67 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (130): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005552/0.5476, allocations: 3.043 MB / 0.6139 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005318/0.553, allocations: 1.494 MB / 0.6154 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.553, allocations: 8.656 kB / 0.6154 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00163/0.5546, allocations: 0.6743 MB / 0.6161 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005048/0.5597, allocations: 0.969 MB / 0.617 GB, free: 8.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/0.581, allocations: 13.8 MB / 0.6305 GB, free: 9.523 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009136/0.5819, allocations: 1.277 MB / 0.6317 GB, free: 8.215 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002226/0.5842, allocations: 491.1 kB / 0.6322 GB, free: 7.785 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009714/0.5851, allocations: 0.6749 MB / 0.6329 GB, free: 7.109 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5852, allocations: 0 / 0.6329 GB, free: 7.109 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.099/0.6842, allocations: 59.32 MB / 0.6908 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00032/0.6845, allocations: 309.2 kB / 0.6911 GB, free: 11.83 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_SeveralTestCases.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_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_SeveralTestCases.c:1044:158: 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[191] /* from_dp3.m_flow variable */) = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, tmp0, tmp1, (data->localData[0]->realVars[188] /* from_dp3.dp variable */)); ^~~~ ./ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_functions.h:587: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_SeveralTestCases.o] Error 1