Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01019/0.01019, allocations: 175.4 kB / 15.12 MB, free: 6.043 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.909/1.909, allocations: 194.5 MB / 210.3 MB, free: 8.781 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002012/0.002012, allocations: 116.7 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2512/0.2512, allocations: 40.01 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004923, allocations: 13.03 kB / 406.3 MB, free: 52.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 54.88 MB / 461.2 MB, free: 3.293 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.844/1.96, allocations: 0.6137 GB / 1.064 GB, free: 21.77 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/1.96, allocations: 104.5 kB / 1.064 GB, free: 21.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.541/3.501, allocations: 243.3 MB / 1.302 GB, free: 95.51 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.274e-06/3.501, allocations: 0 / 1.302 GB, free: 95.51 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.406e-05/3.501, allocations: 10.97 kB / 1.302 GB, free: 95.51 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003613/3.505, allocations: 1.051 MB / 1.303 GB, free: 95.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/3.505, allocations: 8.812 kB / 1.303 GB, free: 95.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002413/3.505, allocations: 83.3 kB / 1.303 GB, free: 95.06 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/3.507, allocations: 138.6 kB / 1.303 GB, free: 95.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/3.508, allocations: 0.5359 MB / 1.304 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/3.508, allocations: 37.42 kB / 1.304 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/3.509, allocations: 39.77 kB / 1.304 GB, free: 94.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/3.51, allocations: 0.5858 MB / 1.304 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/3.51, allocations: 3.844 kB / 1.304 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.69e-05/3.51, allocations: 19.16 kB / 1.304 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/3.51, allocations: 10.94 kB / 1.304 GB, free: 94.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/3.512, allocations: 488.5 kB / 1.305 GB, free: 94.66 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00426/3.516, allocations: 2.6 MB / 1.307 GB, free: 92.91 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/3.517, allocations: 308.7 kB / 1.308 GB, free: 92.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/3.518, allocations: 328.4 kB / 1.308 GB, free: 92.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.036e-05/3.518, allocations: 37.72 kB / 1.308 GB, free: 92.57 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 3.547e-06/3.518, allocations: 0 / 1.308 GB, free: 92.57 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.002696/3.52, allocations: 0.685 MB / 1.309 GB, free: 92.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.951e-05/3.521, allocations: 132.4 kB / 1.309 GB, free: 92.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/3.521, allocations: 389 kB / 1.309 GB, free: 92.14 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/3.521, allocations: 33.02 kB / 1.309 GB, free: 92.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/3.522, allocations: 294.5 kB / 1.309 GB, free: 91.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/3.522, allocations: 125.7 kB / 1.31 GB, free: 91.91 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/3.522, allocations: 7.25 kB / 1.31 GB, free: 91.91 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/3.522, allocations: 357 kB / 1.31 GB, free: 91.59 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/3.522, allocations: 190.4 kB / 1.31 GB, free: 91.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/3.523, allocations: 368.4 kB / 1.31 GB, free: 91.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/3.524, allocations: 239.3 kB / 1.311 GB, free: 91.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/3.524, allocations: 0 / 1.311 GB, free: 91.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001798/3.526, allocations: 0.6714 MB / 1.311 GB, free: 91.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/3.526, allocations: 7.25 kB / 1.311 GB, free: 91.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/3.526, allocations: 6.562 kB / 1.311 GB, free: 91.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/3.528, allocations: 240 kB / 1.312 GB, free: 91.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000962/3.529, allocations: 156.3 kB / 1.312 GB, free: 91.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/3.536, allocations: 23.1 MB / 1.334 GB, free: 67.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008691/3.537, allocations: 70.95 kB / 1.334 GB, free: 67.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/3.537, allocations: 49.11 kB / 1.334 GB, free: 67.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (61): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 8 {1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003897/3.538, allocations: 189.7 kB / 1.335 GB, free: 67.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/3.538, allocations: 48.44 kB / 1.335 GB, free: 67.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/3.54, allocations: 0.6738 MB / 1.335 GB, free: 67.29 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/3.54, allocations: 3.875 kB / 1.335 GB, free: 67.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/3.54, allocations: 0 / 1.335 GB, free: 67.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/3.54, allocations: 0 / 1.335 GB, free: 67.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/3.542, allocations: 1.148 MB / 1.336 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/3.542, allocations: 3.469 kB / 1.336 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003769/3.543, allocations: 59.98 kB / 1.336 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/3.545, allocations: 234.5 kB / 1.337 GB, free: 66.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/3.545, allocations: 15.44 kB / 1.337 GB, free: 66.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004572/3.546, allocations: 0.6002 MB / 1.337 GB, free: 66.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/3.546, allocations: 3.938 kB / 1.337 GB, free: 66.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/3.547, allocations: 0.5911 MB / 1.338 GB, free: 65.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/3.547, allocations: 145.9 kB / 1.338 GB, free: 65.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/3.547, allocations: 14.36 kB / 1.338 GB, free: 65.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005113/3.548, allocations: 31.12 kB / 1.338 GB, free: 65.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/3.548, allocations: 33.5 kB / 1.338 GB, free: 65.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/3.548, allocations: 18.28 kB / 1.338 GB, free: 65.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005188/3.548, allocations: 319.4 kB / 1.338 GB, free: 65.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/3.548, allocations: 0 / 1.338 GB, free: 65.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002668/3.551, allocations: 492.5 kB / 1.339 GB, free: 65.71 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0047/3.556, allocations: 2.754 MB / 1.342 GB, free: 64.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/3.557, allocations: 441.9 kB / 1.342 GB, free: 64.23 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/3.557, allocations: 3.125 kB / 1.342 GB, free: 64.23 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/3.558, allocations: 166.2 kB / 1.342 GB, free: 64.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/3.56, allocations: 234.3 kB / 1.342 GB, free: 64.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/3.573, allocations: 6.915 MB / 1.349 GB, free: 59.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/3.574, allocations: 0.8633 MB / 1.35 GB, free: 59.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001329/3.575, allocations: 186.2 kB / 1.35 GB, free: 59.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005094/3.576, allocations: 209.1 kB / 1.35 GB, free: 59.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/3.576, allocations: 0 / 1.35 GB, free: 59.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07981/3.655, allocations: 32.58 MB / 1.382 GB, free: 57.65 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002526/3.656, allocations: 261.7 kB / 1.382 GB, free: 57.29 MB / 490.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_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:292:157: 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[8] /* boundary.m_flow_in variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_Geometry(threadData, data->simulationInfo->realParameter[7] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[6] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[8] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[5] /* fitting1.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[22] /* fitting1.eta_a variable */, data->localData[0]->realVars[23] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[21] /* fitting1.dp variable */, data->localData[0]->realVars[19] /* fitting1.d_a variable */, data->localData[0]->realVars[20] /* fitting1.d_b variable */, data->simulationInfo->realParameter[3] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[21] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:1943: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_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1