Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001042/0.001042, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.351/1.351, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001644/0.001644, allocations: 116.2 kB / 252.6 MB, free: 4.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1894/0.1894, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.436e-05/3.439e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1055, allocations: 54.86 MB / 455.2 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.353, allocations: 0.581 GB / 1.025 GB, free: 29.76 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/1.353, allocations: 97.62 kB / 1.026 GB, free: 29.71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.024/2.377, allocations: 237.7 MB / 1.258 GB, free: 94.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.592e-06/2.377, allocations: 2.844 kB / 1.258 GB, free: 94.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.529e-05/2.377, allocations: 16.27 kB / 1.258 GB, free: 94.88 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.002222/2.38, allocations: 0.9554 MB / 1.259 GB, free: 94.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/2.38, allocations: 9.5 kB / 1.259 GB, free: 94.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009438/2.381, allocations: 135.5 kB / 1.259 GB, free: 94.48 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/2.381, allocations: 0.5275 MB / 1.259 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/2.381, allocations: 32.84 kB / 1.259 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/2.381, allocations: 39.17 kB / 1.259 GB, free: 94.26 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008555/2.382, allocations: 0.569 MB / 1.26 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/2.382, allocations: 0 / 1.26 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/2.382, allocations: 25.83 kB / 1.26 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/2.382, allocations: 10.25 kB / 1.26 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000659/2.383, allocations: 442.2 kB / 1.26 GB, free: 94.12 MB / 490.7 MB 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.002111/2.385, allocations: 2.592 MB / 1.263 GB, free: 92.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005597/2.386, allocations: 297.3 kB / 1.263 GB, free: 92.34 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/2.386, allocations: 157.4 kB / 1.263 GB, free: 92.33 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003115/2.386, allocations: 326.8 kB / 1.264 GB, free: 92.05 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/2.386, allocations: 41.75 kB / 1.264 GB, free: 92.01 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.285e-06/2.386, allocations: 0 / 1.264 GB, free: 92.01 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.000782/2.387, allocations: 422.6 kB / 1.264 GB, free: 91.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/2.387, allocations: 132.5 kB / 1.264 GB, free: 91.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/2.388, allocations: 383.9 kB / 1.265 GB, free: 91.68 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/2.388, allocations: 29.64 kB / 1.265 GB, free: 91.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/2.388, allocations: 293.5 kB / 1.265 GB, free: 91.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/2.388, allocations: 121.3 kB / 1.265 GB, free: 91.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/2.388, allocations: 8.594 kB / 1.265 GB, free: 91.45 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.681e-05/2.388, allocations: 360.4 kB / 1.265 GB, free: 91.13 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/2.388, allocations: 172.7 kB / 1.266 GB, free: 91.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003912/2.389, allocations: 345.5 kB / 1.266 GB, free: 90.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/2.389, allocations: 226.2 kB / 1.266 GB, free: 90.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/2.389, allocations: 1.062 kB / 1.266 GB, free: 90.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009952/2.39, allocations: 0.6275 MB / 1.267 GB, free: 90.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/2.39, allocations: 7.406 kB / 1.267 GB, free: 90.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/2.39, allocations: 4.812 kB / 1.267 GB, free: 90.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/2.391, allocations: 243.7 kB / 1.267 GB, free: 90.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005078/2.392, allocations: 150.7 kB / 1.267 GB, free: 90.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/2.398, allocations: 23.1 MB / 1.29 GB, free: 67.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006995/2.399, allocations: 66.14 kB / 1.29 GB, free: 67.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/2.399, allocations: 56.7 kB / 1.29 GB, free: 67.05 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 () * 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.0001495/2.399, allocations: 137.2 kB / 1.29 GB, free: 66.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.26e-05/2.399, allocations: 50.59 kB / 1.29 GB, free: 66.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/2.401, allocations: 0.6308 MB / 1.291 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/2.401, allocations: 3.781 kB / 1.291 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/2.401, allocations: 7.312 kB / 1.291 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/2.401, allocations: 1.312 kB / 1.291 GB, free: 66.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/2.403, allocations: 1.11 MB / 1.292 GB, free: 66.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/2.403, allocations: 1.656 kB / 1.292 GB, free: 66.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/2.403, allocations: 60.08 kB / 1.292 GB, free: 66.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/2.404, allocations: 234.8 kB / 1.292 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/2.404, allocations: 11.19 kB / 1.292 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003351/2.405, allocations: 0.5933 MB / 1.293 GB, free: 65.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/2.405, allocations: 9.094 kB / 1.293 GB, free: 65.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007004/2.405, allocations: 0.5628 MB / 1.293 GB, free: 65.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001641/2.405, allocations: 140.1 kB / 1.293 GB, free: 65.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/2.406, allocations: 12.08 kB / 1.293 GB, free: 65.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/2.406, allocations: 35.78 kB / 1.293 GB, free: 65.36 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.113e-05/2.406, allocations: 29.42 kB / 1.293 GB, free: 65.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/2.406, allocations: 26.58 kB / 1.293 GB, free: 65.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000468/2.407, allocations: 319.8 kB / 1.294 GB, free: 65.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/2.407, allocations: 1.312 kB / 1.294 GB, free: 65.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002497/2.409, allocations: 481.1 kB / 1.294 GB, free: 65.27 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 () * 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.002515/2.412, allocations: 1.231 MB / 1.295 GB, free: 65.08 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008842/2.412, allocations: 396.1 kB / 1.296 GB, free: 65.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/2.412, allocations: 1.25 kB / 1.296 GB, free: 65.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000282/2.413, allocations: 145.5 kB / 1.296 GB, free: 65.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/2.414, allocations: 228.2 kB / 1.296 GB, free: 65.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006825/2.421, allocations: 2.178 MB / 1.298 GB, free: 64.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/2.421, allocations: 0.8634 MB / 1.299 GB, free: 64.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009816/2.422, allocations: 180.5 kB / 1.299 GB, free: 64.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/2.422, allocations: 76.09 kB / 1.299 GB, free: 64.09 MB / 490.7 MB Notification: Performance of SimCode: time 2.916e-06/2.422, allocations: 0 / 1.299 GB, free: 64.09 MB / 490.7 MB Notification: Performance of Templates: time 0.03937/2.462, allocations: 27.82 MB / 1.326 GB, free: 63.07 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.c:298: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: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); ^ 1 error generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.o] Error 1