Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000833/0.0008331, allocations: 88.41 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3493/0.3493, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.826e-05/3.829e-05, allocations: 8 kB / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 58.84 MB / 484.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.453/1.575, allocations: 0.5845 GB / 1.057 GB, free: 35.29 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.575, allocations: 98.27 kB / 1.057 GB, free: 35.24 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8322/2.407, allocations: 239.5 MB / 1.291 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.414e-06/2.407, allocations: 0 / 1.291 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.748e-05/2.407, allocations: 28.08 kB / 1.291 GB, free: 15.69 MB / 0.5105 GB 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.002314/2.41, allocations: 0.9509 MB / 1.292 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/2.41, allocations: 8.031 kB / 1.292 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.767e-05/2.41, allocations: 82.52 kB / 1.292 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009594/2.411, allocations: 143.2 kB / 1.293 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/2.412, allocations: 487.2 kB / 1.293 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/2.412, allocations: 40.88 kB / 1.293 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/2.412, allocations: 36 kB / 1.293 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008994/2.413, allocations: 0.5772 MB / 1.294 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/2.413, allocations: 0 / 1.294 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/2.413, allocations: 23.95 kB / 1.294 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/2.413, allocations: 12 kB / 1.294 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006493/2.414, allocations: 450.9 kB / 1.294 GB, free: 12.77 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002399/2.416, allocations: 2.642 MB / 1.297 GB, free: 9.898 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/2.416, allocations: 303.7 kB / 1.297 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/2.417, allocations: 149.4 kB / 1.297 GB, free: 9.445 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003533/2.417, allocations: 318 kB / 1.297 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/2.417, allocations: 42.84 kB / 1.297 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/2.417, allocations: 0 / 1.297 GB, free: 9.031 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0009155/2.418, allocations: 439.9 kB / 1.298 GB, free: 8.594 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/2.418, allocations: 132.5 kB / 1.298 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/2.418, allocations: 435.9 kB / 1.298 GB, free: 8.004 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/2.419, allocations: 37.7 kB / 1.298 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/2.419, allocations: 283.9 kB / 1.299 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.03e-05/2.419, allocations: 110.4 kB / 1.299 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/2.419, allocations: 8 kB / 1.299 GB, free: 7.562 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.884e-05/2.419, allocations: 366.7 kB / 1.299 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002218/2.419, allocations: 173.1 kB / 1.299 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/2.419, allocations: 301 kB / 1.3 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000279/2.42, allocations: 215.8 kB / 1.3 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/2.42, allocations: 0 / 1.3 GB, free: 6.465 MB / 0.5105 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007907/2.421, allocations: 0.5989 MB / 1.3 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/2.421, allocations: 4 kB / 1.3 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/2.421, allocations: 4 kB / 1.3 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/2.422, allocations: 241 kB / 1.301 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/2.422, allocations: 135.8 kB / 1.301 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3762/2.799, allocations: 23.09 MB / 1.323 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/2.799, allocations: 67.44 kB / 1.323 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/2.799, allocations: 47.67 kB / 1.323 GB, free: 73.48 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 45 * 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.0001678/2.8, allocations: 141.4 kB / 1.324 GB, free: 73.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/2.8, allocations: 56.66 kB / 1.324 GB, free: 73.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/2.801, allocations: 0.6439 MB / 1.324 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/2.801, allocations: 6.406 kB / 1.324 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.801, allocations: 1.719 kB / 1.324 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/2.801, allocations: 1.5 kB / 1.324 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/2.803, allocations: 0.909 MB / 1.325 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/2.803, allocations: 4.906 kB / 1.325 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/2.803, allocations: 54.11 kB / 1.325 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001283/2.804, allocations: 234.8 kB / 1.325 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/2.804, allocations: 8.406 kB / 1.325 GB, free: 72.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000325/2.805, allocations: 0.5957 MB / 1.326 GB, free: 72.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/2.805, allocations: 1.688 kB / 1.326 GB, free: 72.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006115/2.805, allocations: 0.5032 MB / 1.327 GB, free: 72.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/2.805, allocations: 154.9 kB / 1.327 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/2.806, allocations: 7.156 kB / 1.327 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/2.806, allocations: 40.14 kB / 1.327 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.141e-05/2.806, allocations: 20.41 kB / 1.327 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/2.806, allocations: 21.47 kB / 1.327 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004664/2.807, allocations: 387.7 kB / 1.327 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/2.807, allocations: 0 / 1.327 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002088/2.809, allocations: 478.9 kB / 1.328 GB, free: 71.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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.003264/2.812, allocations: 2.517 MB / 1.33 GB, free: 70.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008332/2.813, allocations: 376.9 kB / 1.33 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/2.813, allocations: 4.531 kB / 1.33 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/2.813, allocations: 128.3 kB / 1.331 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/2.814, allocations: 282 kB / 1.331 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/2.816, allocations: 0.8133 MB / 1.332 GB, free: 70.38 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/2.817, allocations: 0.867 MB / 1.332 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0008334/2.818, allocations: 186.4 kB / 1.333 GB, free: 69.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/2.818, allocations: 207.4 kB / 1.333 GB, free: 69.67 MB / 0.5105 GB Notification: Performance of SimCode: time 4.51e-07/2.818, allocations: 3.062 kB / 1.333 GB, free: 69.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07604/2.894, allocations: 37.19 MB / 1.369 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002086/2.894, allocations: 233.9 kB / 1.369 GB, free: 68.1 MB / 0.5105 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:245: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[6] /* 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[11] /* fitting1.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[10] /* fitting1.geometry.R_0 PARAM */, data->simulationInfo->realParameter[12] /* fitting1.geometry.delta PARAM */, data->simulationInfo->realParameter[9] /* 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[19] /* fitting1.dp variable */, data->localData[0]->realVars[20] /* fitting1.eta_a variable */, data->localData[0]->realVars[21] /* fitting1.eta_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[19] /* fitting1.dp variable */, data->localData[0]->realVars[17] /* fitting1.d_a variable */, data->localData[0]->realVars[18] /* fitting1.d_b variable */, data->simulationInfo->realParameter[7] /* fitting1.dp_small PARAM */)), data->localData[0]->realVars[19] /* fitting1.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:1745: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_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1