Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_4_0_0_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.001088/0.001087, allocations: 116.3 kB / 17.33 MB, free: 6.02 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.001122/0.001122, allocations: 193.3 kB / 18.25 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.18 MB / 336.3 MB, free: 2.945 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.17 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1292, allocations: 60.82 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.3552/0.4844, allocations: 51.22 MB / 0.5079 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02492/0.5094, allocations: 19.22 MB / 0.5266 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.5123, allocations: 57.78 kB / 0.5267 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.5152, allocations: 0.8342 MB / 0.5275 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.5275, allocations: 3.69 MB / 0.5311 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009286/0.5368, allocations: 2.63 MB / 0.5337 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007984/0.5448, allocations: 4.627 MB / 0.5382 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/0.5469, allocations: 1.258 MB / 0.5394 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003303/0.5502, allocations: 1.885 MB / 0.5413 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001441/0.5516, allocations: 1.447 MB / 0.5427 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002276/0.5519, allocations: 149.7 kB / 0.5428 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007256/0.5591, allocations: 3.847 MB / 0.5466 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004913/0.5596, allocations: 497.3 kB / 0.5471 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.5607, allocations: 1.032 MB / 0.5481 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006863/0.5676, allocations: 4.416 MB / 0.5524 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5676, allocations: 0 / 0.5524 GB, free: 14.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5676, allocations: 0 / 0.5524 GB, free: 14.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.665e-05/0.5676, allocations: 4 kB / 0.5524 GB, free: 14.32 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.003543/0.5712, allocations: 2.293 MB / 0.5546 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.5712, allocations: 8.031 kB / 0.5546 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002459/0.5715, allocations: 206.7 kB / 0.5548 GB, free: 11.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.5725, allocations: 246.6 kB / 0.5551 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.574, allocations: 1.062 MB / 0.5561 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.5741, allocations: 99.03 kB / 0.5562 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.5742, allocations: 131.9 kB / 0.5563 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002963/0.5772, allocations: 1.919 MB / 0.5582 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.5772, allocations: 3.938 kB / 0.5582 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.5774, allocations: 75.94 kB / 0.5583 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.5774, allocations: 32 kB / 0.5583 GB, free: 8.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002501/0.5799, allocations: 1.613 MB / 0.5599 GB, free: 6.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009277/0.5892, allocations: 9.235 MB / 0.5689 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.591, allocations: 1.038 MB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006833/0.5917, allocations: 0.5142 MB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004963/0.5967, allocations: 5.516 MB / 0.5758 GB, free: 4.684 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.51e-05/0.5967, allocations: 59.34 kB / 0.5758 GB, free: 4.617 MB / 414.1 MB Notification: Performance of pre-optimization done (n=95): time 2.224e-06/0.5967, allocations: 0 / 0.5758 GB, free: 4.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=95): time 0.003419/0.6002, allocations: 1.385 MB / 0.5772 GB, free: 3.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001691/0.6003, allocations: 372.8 kB / 0.5776 GB, free: 2.801 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6016, allocations: 1.149 MB / 0.5787 GB, free: 1.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/0.6017, allocations: 45.7 kB / 0.5787 GB, free: 1.594 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.6022, allocations: 0.7739 MB / 0.5795 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/0.6024, allocations: 337.6 kB / 0.5798 GB, free: 500 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004075/0.6029, allocations: 303.3 kB / 0.5801 GB, free: 188 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.603, allocations: 361.9 kB / 0.5804 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/0.6038, allocations: 399.8 kB / 0.5808 GB, free: 15.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.6051, allocations: 1.007 MB / 0.5818 GB, free: 14.15 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.607, allocations: 1.427 MB / 0.5832 GB, free: 12.49 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.607, allocations: 4 kB / 0.5832 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002565/0.6096, allocations: 1.512 MB / 0.5847 GB, free: 10.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.6097, allocations: 15.98 kB / 0.5847 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.6097, allocations: 24.09 kB / 0.5847 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.6097, allocations: 27.94 kB / 0.5847 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002735/0.6125, allocations: 0.4978 MB / 0.5852 GB, free: 10.42 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.6144, allocations: 1.871 MB / 0.587 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6158, allocations: 208.5 kB / 0.5872 GB, free: 8.277 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.616, allocations: 83.97 kB / 0.5873 GB, free: 8.195 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.0007324/0.6167, allocations: 365.1 kB / 0.5877 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.6171, allocations: 154.2 kB / 0.5878 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/0.6214, allocations: 2.416 MB / 0.5902 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.6214, allocations: 23.98 kB / 0.5902 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6214, allocations: 0 / 0.5902 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/0.6215, allocations: 7.969 kB / 0.5902 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/0.6269, allocations: 3.894 MB / 0.594 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.627, allocations: 8 kB / 0.594 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/0.6277, allocations: 211.7 kB / 0.5942 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008707/0.6285, allocations: 195 kB / 0.5944 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.929e-05/0.6286, allocations: 55.97 kB / 0.5945 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001556/0.6302, allocations: 1.684 MB / 0.5961 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/0.6302, allocations: 16.16 kB / 0.5961 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.6331, allocations: 1.697 MB / 0.5978 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004326/0.6335, allocations: 258.7 kB / 0.598 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/0.6338, allocations: 51.83 kB / 0.5981 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/0.6349, allocations: 99.78 kB / 0.5982 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.6351, allocations: 120.6 kB / 0.5983 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/0.6352, allocations: 83.94 kB / 0.5984 GB, free: 12.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.6364, allocations: 0.8799 MB / 0.5992 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6364, allocations: 0 / 0.5992 GB, free: 11.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002506/0.6389, allocations: 0.8544 MB / 0.6001 GB, free: 10.7 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.005037/0.644, allocations: 3.03 MB / 0.603 GB, free: 7.605 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00525/0.6492, allocations: 1.494 MB / 0.6045 GB, free: 6.117 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.6493, allocations: 4.656 kB / 0.6045 GB, free: 6.113 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001588/0.6509, allocations: 0.6709 MB / 0.6051 GB, free: 5.441 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004863/0.6557, allocations: 0.9625 MB / 0.6061 GB, free: 4.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02094/0.6767, allocations: 13.77 MB / 0.6195 GB, free: 5.668 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.6775, allocations: 1.277 MB / 0.6208 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002147/0.6797, allocations: 0.4906 MB / 0.6213 GB, free: 3.867 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008777/0.6806, allocations: 0.6672 MB / 0.6219 GB, free: 3.199 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.6806, allocations: 0 / 0.6219 GB, free: 3.199 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/0.781, allocations: 59.21 MB / 0.6797 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.7814, allocations: 314.6 kB / 0.68 GB, free: 7.941 MB / 0.5137 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_4_0_0_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_0_0_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_0_0_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_0_0_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1