Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01097/0.01097, allocations: 102.6 kB / 15.05 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001214/0.001215, allocations: 170.8 kB / 15.93 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.797/1.797, allocations: 170.9 MB / 187.6 MB, free: 1.004 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.3017/0.3017, allocations: 38.09 MB / 265.1 MB, free: 3.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006756/0.0006759, allocations: 8 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1126, allocations: 48.72 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.SeveralTestCases): time 0.07158/0.1843, allocations: 42.17 MB / 414.5 MB, free: 2.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03245/0.2168, allocations: 15.69 MB / 430.2 MB, free: 2.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.2191, allocations: 59.5 kB / 430.2 MB, free: 2.789 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.223, allocations: 0.7579 MB / 431 MB, free: 2.027 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2948/0.5179, allocations: 2.72 MB / 433.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.5297, allocations: 2.816 MB / 436.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00738/0.5371, allocations: 2.743 MB / 439.3 MB, free: 12.96 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002889/0.5401, allocations: 1.036 MB / 440.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005489/0.5456, allocations: 1.518 MB / 441.8 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/0.5491, allocations: 0.9681 MB / 442.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008176/0.5499, allocations: 74.17 kB / 442.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01081/0.5608, allocations: 3.448 MB / 446.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001203/0.562, allocations: 375.4 kB / 446.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001383/0.5634, allocations: 390.8 kB / 447.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007792/0.5713, allocations: 2.653 MB / 449.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5713, allocations: 0 / 449.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5713, allocations: 0 / 449.7 MB, free: 12.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.515e-05/0.5714, allocations: 4 kB / 449.7 MB, free: 12.6 MB / 330.7 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.005049/0.5765, allocations: 1.85 MB / 451.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5765, allocations: 10.34 kB / 451.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006253/0.5772, allocations: 205.1 kB / 451.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.5788, allocations: 241.8 kB / 452 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.5817, allocations: 1.058 MB / 453.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.5819, allocations: 96.97 kB / 453.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/0.5822, allocations: 129.6 kB / 453.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005093/0.5873, allocations: 1.891 MB / 455.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-05/0.5874, allocations: 10.95 kB / 455.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003208/0.5877, allocations: 63.22 kB / 455.2 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.5878, allocations: 35.22 kB / 455.3 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004647/0.5925, allocations: 1.601 MB / 456.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01369/0.6062, allocations: 9.285 MB / 466.2 MB, free: 3.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.6093, allocations: 1.044 MB / 467.2 MB, free: 3.637 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009213/0.6185, allocations: 6.327 MB / 473.5 MB, free: 13.56 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.6186, allocations: 53.97 kB / 473.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=41): time 3.898e-06/0.6187, allocations: 6.969 kB / 473.6 MB, free: 13.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=41): time 0.003463/0.6221, allocations: 0.712 MB / 474.3 MB, free: 13.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002229/0.6224, allocations: 364.9 kB / 474.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002373/0.6248, allocations: 1.261 MB / 475.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/0.625, allocations: 33.02 kB / 476 MB, free: 12.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.6261, allocations: 0.9944 MB / 477 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.6264, allocations: 162.8 kB / 477.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.356e-05/0.6265, allocations: 29.72 kB / 477.1 MB, free: 11.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.6267, allocations: 366.1 kB / 477.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008561/0.6276, allocations: 286.2 kB / 477.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.6294, allocations: 1.363 MB / 479.1 MB, free: 9.797 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.6309, allocations: 0.5264 MB / 479.7 MB, free: 9.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.611e-05/0.631, allocations: 10.84 kB / 479.7 MB, free: 9.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004475/0.6355, allocations: 1.59 MB / 481.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.6355, allocations: 20.94 kB / 481.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.65e-05/0.6356, allocations: 42.39 kB / 481.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.159e-05/0.6357, allocations: 53.41 kB / 481.4 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007771/0.6435, allocations: 0.6895 MB / 482.1 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.6455, allocations: 1.902 MB / 484 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002717/0.6483, allocations: 266.3 kB / 484.2 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003169/0.6486, allocations: 112.8 kB / 484.3 MB, free: 7.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 163 * 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 (203): * Single equations (assignments): 200 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008998/0.6496, allocations: 389.1 kB / 484.7 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.6499, allocations: 142.3 kB / 484.9 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.6548, allocations: 1.411 MB / 486.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/0.6549, allocations: 11.98 kB / 486.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6549, allocations: 0 / 486.3 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.6549, allocations: 3.984 kB / 486.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/0.6576, allocations: 1.012 MB / 487.3 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/0.6577, allocations: 4 kB / 487.3 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/0.6586, allocations: 119.4 kB / 487.4 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001436/0.6601, allocations: 177.7 kB / 487.6 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.6603, allocations: 29.98 kB / 487.6 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.6617, allocations: 1.657 MB / 489.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6617, allocations: 0 / 489.3 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.6643, allocations: 0.883 MB / 490.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001127/0.6655, allocations: 333.8 kB / 490.5 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004943/0.666, allocations: 20.45 kB / 490.5 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.6673, allocations: 53.19 kB / 490.6 MB, free: 1.746 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.6675, allocations: 51.27 kB / 490.6 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.6676, allocations: 31.73 kB / 490.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001967/0.6696, allocations: 0.8437 MB / 491.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.6697, allocations: 3.094 kB / 491.5 MB, free: 1.055 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003785/0.6735, allocations: 0.7295 MB / 492.2 MB, free: 392 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005301/0.6788, allocations: 1.99 MB / 494.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008171/0.687, allocations: 1.192 MB / 495.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.6871, allocations: 0 / 495.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.6883, allocations: 339.2 kB / 495.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/0.6933, allocations: 0.5401 MB / 496.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03048/0.7238, allocations: 32.75 MB / 0.5166 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.725, allocations: 1.282 MB / 0.5179 GB, free: 11.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002605/0.7276, allocations: 388.2 kB / 0.5182 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.729, allocations: 0.6156 MB / 0.5189 GB, free: 10.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.663e-06/0.729, allocations: 0 / 0.5189 GB, free: 10.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1308/0.8598, allocations: 43.25 MB / 0.5611 GB, free: 15.86 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/0.8601, allocations: 284 kB / 0.5614 GB, free: 15.5 MB / 442.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c In file included from ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.c:616: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[233] /* from_dp3.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[69] /* from_dp3.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[68] /* from_dp3.geometry.R_0 PARAM */, data->simulationInfo->realParameter[70] /* from_dp3.geometry.delta PARAM */, data->simulationInfo->realParameter[67] /* from_dp3.geometry.K PARAM */), tmp0, data->localData[0]->realVars[230] /* from_dp3.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_1_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. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_SeveralTestCases.o] Error 1