Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.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.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0009591/0.0009591, allocations: 106.2 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.0009471/0.0009472, allocations: 189.2 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 1.615/1.615, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.3846/0.3846, allocations: 43.5 MB / 313.6 MB, free: 8.52 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.001446/0.001446, allocations: 75.83 kB / 382.3 MB, free: 8.477 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1425, allocations: 57.78 MB / 440.1 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.3154/0.4579, allocations: 51.22 MB / 491.3 MB, free: 19.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02371/0.4817, allocations: 19.18 MB / 0.4986 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/0.4851, allocations: 55.59 kB / 0.4986 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00491/0.4901, allocations: 0.8322 MB / 0.4994 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01417/0.5043, allocations: 3.69 MB / 0.503 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009653/0.514, allocations: 2.634 MB / 0.5056 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01094/0.5249, allocations: 4.611 MB / 0.5101 GB, free: 15.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/0.528, allocations: 1.251 MB / 0.5113 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/0.5337, allocations: 1.897 MB / 0.5132 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/0.5374, allocations: 1.437 MB / 0.5146 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004939/0.538, allocations: 150.2 kB / 0.5147 GB, free: 13.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.5481, allocations: 3.845 MB / 0.5185 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008334/0.549, allocations: 0.4893 MB / 0.519 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.5511, allocations: 1.025 MB / 0.52 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01172/0.5628, allocations: 4.422 MB / 0.5243 GB, free: 8.824 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.5629, allocations: 0 / 0.5243 GB, free: 8.824 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.5629, allocations: 4 kB / 0.5243 GB, free: 8.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.421e-05/0.563, allocations: 0 / 0.5243 GB, free: 8.82 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.006154/0.5691, allocations: 2.29 MB / 0.5265 GB, free: 7.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.945e-05/0.5692, allocations: 13.92 kB / 0.5265 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003001/0.5695, allocations: 204.5 kB / 0.5267 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.5709, allocations: 239.3 kB / 0.527 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.5727, allocations: 1.067 MB / 0.528 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.5728, allocations: 97.12 kB / 0.5281 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.573, allocations: 132.1 kB / 0.5282 GB, free: 5.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003277/0.5763, allocations: 1.921 MB / 0.5301 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.5763, allocations: 6.094 kB / 0.5301 GB, free: 4.602 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.5765, allocations: 67.28 kB / 0.5302 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.5765, allocations: 33.12 kB / 0.5302 GB, free: 4.559 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002721/0.5793, allocations: 1.621 MB / 0.5318 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0107/0.59, allocations: 9.225 MB / 0.5408 GB, free: 9.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.5921, allocations: 1.034 MB / 0.5418 GB, free: 8.621 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007484/0.5929, allocations: 0.5219 MB / 0.5423 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006619/0.5995, allocations: 5.52 MB / 0.5477 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.242e-05/0.5997, allocations: 51.56 kB / 0.5477 GB, free: 1.602 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 3.045e-06/0.5997, allocations: 0 / 0.5477 GB, free: 1.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.003943/0.6036, allocations: 1.381 MB / 0.5491 GB, free: 224 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000218/0.6039, allocations: 380.8 kB / 0.5495 GB, free: 15.76 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/0.6054, allocations: 1.145 MB / 0.5506 GB, free: 14.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.6055, allocations: 49.7 kB / 0.5506 GB, free: 14.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006204/0.6062, allocations: 0.7708 MB / 0.5514 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.6065, allocations: 335.3 kB / 0.5517 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/0.6069, allocations: 303.2 kB / 0.552 GB, free: 13.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.6071, allocations: 369.8 kB / 0.5523 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007285/0.6078, allocations: 395.8 kB / 0.5527 GB, free: 12.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.6091, allocations: 1.007 MB / 0.5537 GB, free: 11.1 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.6112, allocations: 1.427 MB / 0.5551 GB, free: 9.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.6113, allocations: 4 kB / 0.5551 GB, free: 9.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002882/0.6141, allocations: 1.51 MB / 0.5566 GB, free: 7.906 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.6142, allocations: 12.22 kB / 0.5566 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.6142, allocations: 24 kB / 0.5566 GB, free: 7.871 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.171e-05/0.6143, allocations: 24 kB / 0.5566 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/0.617, allocations: 0.4991 MB / 0.5571 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.6187, allocations: 1.875 MB / 0.5589 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.6204, allocations: 210.4 kB / 0.5591 GB, free: 5.195 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.6206, allocations: 87.95 kB / 0.5592 GB, free: 5.109 MB / 430.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.0008658/0.6214, allocations: 361.1 kB / 0.5596 GB, free: 4.746 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.6218, allocations: 154.2 kB / 0.5597 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/0.6263, allocations: 2.41 MB / 0.5621 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/0.6264, allocations: 16 kB / 0.5621 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.6264, allocations: 3.984 kB / 0.5621 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.6264, allocations: 3.984 kB / 0.5621 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005988/0.6324, allocations: 3.897 MB / 0.5659 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.6324, allocations: 8 kB / 0.5659 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/0.6332, allocations: 219.7 kB / 0.5661 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000906/0.6341, allocations: 195.1 kB / 0.5663 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-05/0.6342, allocations: 51.95 kB / 0.5664 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.6358, allocations: 1.684 MB / 0.568 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/0.6358, allocations: 8 kB / 0.568 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.6391, allocations: 1.701 MB / 0.5697 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/0.6397, allocations: 274.5 kB / 0.5699 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.6401, allocations: 36 kB / 0.57 GB, free: 9.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.6412, allocations: 103.7 kB / 0.5701 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.6414, allocations: 116.7 kB / 0.5702 GB, free: 9.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/0.6416, allocations: 83.92 kB / 0.5703 GB, free: 9.246 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001333/0.643, allocations: 0.8838 MB / 0.5711 GB, free: 8.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.643, allocations: 0 / 0.5711 GB, free: 8.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003527/0.6465, allocations: 0.8506 MB / 0.572 GB, free: 7.512 MB / 446.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.006465/0.653, allocations: 3.035 MB / 0.5749 GB, free: 4.348 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005402/0.6584, allocations: 1.49 MB / 0.5764 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-05/0.6585, allocations: 4.656 kB / 0.5764 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.6601, allocations: 0.6754 MB / 0.577 GB, free: 2.191 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005156/0.6653, allocations: 0.9676 MB / 0.578 GB, free: 1.242 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02219/0.6875, allocations: 13.77 MB / 0.5914 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/0.6884, allocations: 1.281 MB / 0.5927 GB, free: 1.078 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002364/0.6908, allocations: 494.5 kB / 0.5931 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009523/0.6918, allocations: 0.6711 MB / 0.5938 GB, free: 15.91 MB / 478.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6918, allocations: 3.938 kB / 0.5938 GB, free: 15.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3448/1.037, allocations: 59.19 MB / 0.6516 GB, free: 141.7 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/1.037, allocations: 307.3 kB / 0.6519 GB, free: 141.3 MB / 494.1 MB 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_SeveralTestCases.o ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_3_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_3_2_3_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_3_2_3_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_3_2_3_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1