Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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.001611/0.001611, allocations: 117.4 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001855/0.001856, 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.406/1.406, allocations: 227.4 MB / 246.5 MB, free: 9.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2263/0.2263, allocations: 46.1 MB / 343.8 MB, free: 11.5 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002222, allocations: 84.52 kB / 417.2 MB, free: 19.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1201, allocations: 62.45 MB / 479.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.2666/0.3867, allocations: 51.46 MB / 0.5187 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0218/0.4086, allocations: 19.26 MB / 0.5375 GB, free: 4.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.4117, allocations: 56.78 kB / 0.5376 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.4142, allocations: 0.8223 MB / 0.5384 GB, free: 4.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01043/0.4247, allocations: 3.703 MB / 0.542 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007371/0.4321, allocations: 2.646 MB / 0.5446 GB, free: 500 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006907/0.439, allocations: 4.624 MB / 0.5491 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.4409, allocations: 1.249 MB / 0.5503 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003794/0.4447, allocations: 1.905 MB / 0.5522 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.448, allocations: 1.436 MB / 0.5536 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004889/0.4485, allocations: 148.8 kB / 0.5537 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007816/0.4564, allocations: 3.946 MB / 0.5576 GB, free: 8.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006983/0.4571, allocations: 0.4905 MB / 0.558 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002316/0.4594, allocations: 1.027 MB / 0.559 GB, free: 6.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.4697, allocations: 4.551 MB / 0.5635 GB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.4698, allocations: 0 / 0.5635 GB, free: 2.336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4698, allocations: 4 kB / 0.5635 GB, free: 2.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.655e-05/0.4699, allocations: 0 / 0.5635 GB, free: 2.332 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.004125/0.474, allocations: 2.308 MB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.474, allocations: 8.031 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002808/0.4743, allocations: 202.7 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.4756, allocations: 250.6 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/0.4774, allocations: 1.068 MB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/0.4775, allocations: 103 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.4776, allocations: 127.9 kB / 0.5674 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003381/0.481, allocations: 1.919 MB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.4811, allocations: 11.94 kB / 0.5693 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.4812, allocations: 64 kB / 0.5694 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/0.4813, allocations: 39.62 kB / 0.5694 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002785/0.4841, allocations: 1.613 MB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.4948, allocations: 9.236 MB / 0.58 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.4968, allocations: 1.049 MB / 0.5811 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007855/0.4976, allocations: 0.5136 MB / 0.5816 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006922/0.5046, allocations: 5.512 MB / 0.5869 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.483e-05/0.5047, allocations: 51.56 kB / 0.587 GB, free: 8.441 MB / 430.1 MB Notification: Performance of pre-optimization done (n=95): time 3.386e-06/0.5047, allocations: 0 / 0.587 GB, free: 8.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.00423/0.5089, allocations: 1.385 MB / 0.5883 GB, free: 7.055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/0.5092, allocations: 376.8 kB / 0.5887 GB, free: 6.598 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/0.511, allocations: 1.15 MB / 0.5898 GB, free: 5.441 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.5112, allocations: 49.7 kB / 0.5899 GB, free: 5.387 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006855/0.5119, allocations: 0.767 MB / 0.5906 GB, free: 4.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003564/0.5122, allocations: 343.1 kB / 0.5909 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004508/0.5127, allocations: 299.3 kB / 0.5912 GB, free: 3.969 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5129, allocations: 365.9 kB / 0.5916 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/0.5137, allocations: 399.8 kB / 0.592 GB, free: 3.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.5152, allocations: 1.003 MB / 0.5929 GB, free: 1.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/0.5178, allocations: 1.427 MB / 0.5943 GB, free: 268 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.53e-05/0.5178, allocations: 4 kB / 0.5943 GB, free: 264 kB / 430.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.00334/0.5212, allocations: 1.522 MB / 0.5958 GB, free: 14.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.5212, allocations: 16.97 kB / 0.5958 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.893e-05/0.5213, allocations: 16 kB / 0.5959 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.954e-05/0.5213, allocations: 28 kB / 0.5959 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002913/0.5242, allocations: 0.4953 MB / 0.5964 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.5262, allocations: 1.871 MB / 0.5982 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5276, allocations: 210.4 kB / 0.5984 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002129/0.5278, allocations: 87.95 kB / 0.5985 GB, free: 11.94 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.000794/0.5286, allocations: 353.2 kB / 0.5988 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005541/0.5292, allocations: 154.3 kB / 0.599 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004946/0.5342, allocations: 2.418 MB / 0.6013 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.5342, allocations: 16 kB / 0.6013 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.5342, allocations: 3.984 kB / 0.6013 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/0.5342, allocations: 11.97 kB / 0.6013 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006457/0.5407, allocations: 3.889 MB / 0.6051 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/0.5407, allocations: 8 kB / 0.6052 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/0.5415, allocations: 223.6 kB / 0.6054 GB, free: 4.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009307/0.5425, allocations: 186.9 kB / 0.6055 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5426, allocations: 47.97 kB / 0.6056 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001763/0.5444, allocations: 1.684 MB / 0.6072 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-05/0.5444, allocations: 11.94 kB / 0.6072 GB, free: 2.609 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.5476, allocations: 1.705 MB / 0.6089 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/0.5482, allocations: 266.6 kB / 0.6092 GB, free: 0.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004172/0.5486, allocations: 35.94 kB / 0.6092 GB, free: 476 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/0.55, allocations: 103.8 kB / 0.6093 GB, free: 372 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.5502, allocations: 116.7 kB / 0.6094 GB, free: 256 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/0.5504, allocations: 87.92 kB / 0.6095 GB, free: 168 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001691/0.5521, allocations: 0.8916 MB / 0.6104 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5522, allocations: 0 / 0.6104 GB, free: 15.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002976/0.5551, allocations: 0.8661 MB / 0.6112 GB, free: 14.4 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.006201/0.5613, allocations: 3.023 MB / 0.6142 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005583/0.567, allocations: 1.494 MB / 0.6156 GB, free: 9.777 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.538e-05/0.567, allocations: 8.656 kB / 0.6156 GB, free: 9.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.5687, allocations: 0.6706 MB / 0.6163 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005627/0.5744, allocations: 0.975 MB / 0.6172 GB, free: 8.148 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02492/0.5993, allocations: 13.8 MB / 0.6307 GB, free: 9.27 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.6004, allocations: 1.269 MB / 0.632 GB, free: 7.969 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002148/0.6026, allocations: 0.4886 MB / 0.6324 GB, free: 7.527 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001024/0.6036, allocations: 0.6711 MB / 0.6331 GB, free: 6.855 MB / 478.1 MB Notification: Performance of SimCode: time 6.62e-07/0.6036, allocations: 0 / 0.6331 GB, free: 6.855 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1152/0.7188, allocations: 59.45 MB / 0.6911 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003943/0.7192, allocations: 312.8 kB / 0.6914 GB, free: 11.48 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_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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_4_1_0-beta_om_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_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1