Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001137/0.001137, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.269/1.269, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008339/0.0008339, allocations: 87.14 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1807/0.1808, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.862e-05/2.865e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1086, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/1.422, allocations: 0.5011 GB / 1.013 GB, free: 179.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.423, allocations: 91.94 kB / 1.013 GB, free: 179.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.7424/2.165, allocations: 250.1 MB / 1.257 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.593e-06/2.165, allocations: 3.938 kB / 1.257 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.747e-05/2.165, allocations: 17.81 kB / 1.257 GB, free: 120.4 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.003022/2.168, allocations: 1.098 MB / 1.258 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/2.168, allocations: 10.81 kB / 1.258 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.469e-05/2.168, allocations: 87.73 kB / 1.258 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/2.169, allocations: 165.7 kB / 1.258 GB, free: 119.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/2.17, allocations: 0.4965 MB / 1.259 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/2.17, allocations: 32.06 kB / 1.259 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/2.17, allocations: 41.72 kB / 1.259 GB, free: 119.5 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009364/2.171, allocations: 0.6332 MB / 1.259 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/2.171, allocations: 3.656 kB / 1.259 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/2.171, allocations: 22.97 kB / 1.259 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/2.171, allocations: 11.5 kB / 1.259 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007289/2.172, allocations: 484.8 kB / 1.26 GB, free: 119.2 MB / 0.5417 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.002317/2.174, allocations: 2.617 MB / 1.263 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005261/2.175, allocations: 310.8 kB / 1.263 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/2.175, allocations: 144.4 kB / 1.263 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/2.175, allocations: 438.1 kB / 1.263 GB, free: 116.6 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/2.176, allocations: 40.47 kB / 1.263 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 2.715e-06/2.176, allocations: 0 / 1.263 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0009173/2.176, allocations: 463.2 kB / 1.264 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.888e-05/2.177, allocations: 157.9 kB / 1.264 GB, free: 116.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004276/2.177, allocations: 470.4 kB / 1.264 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.034e-05/2.177, allocations: 32.7 kB / 1.264 GB, free: 115.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/2.177, allocations: 303.2 kB / 1.265 GB, free: 115.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.222e-05/2.177, allocations: 114.7 kB / 1.265 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/2.177, allocations: 11.69 kB / 1.265 GB, free: 115.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/2.177, allocations: 365.2 kB / 1.265 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/2.178, allocations: 131.7 kB / 1.265 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/2.178, allocations: 314.6 kB / 1.266 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/2.178, allocations: 185.5 kB / 1.266 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/2.178, allocations: 3.938 kB / 1.266 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007276/2.179, allocations: 0.5398 MB / 1.266 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/2.179, allocations: 10.44 kB / 1.266 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/2.179, allocations: 10.33 kB / 1.266 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/2.18, allocations: 237.4 kB / 1.267 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/2.18, allocations: 115.4 kB / 1.267 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003019/2.181, allocations: 0.5944 MB / 1.267 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003823/2.181, allocations: 70.06 kB / 1.267 GB, free: 114 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.012e-05/2.181, allocations: 53.47 kB / 1.267 GB, free: 114 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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 prepare postOptimizeDAE: time 0.0001166/2.181, allocations: 139.5 kB / 1.268 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/2.181, allocations: 60.94 kB / 1.268 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/2.183, allocations: 1.047 MB / 1.269 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/2.183, allocations: 2.312 kB / 1.269 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/2.183, allocations: 3.75 kB / 1.269 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/2.183, allocations: 3.906 kB / 1.269 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009885/2.184, allocations: 0.9281 MB / 1.27 GB, free: 113 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/2.184, allocations: 0 / 1.27 GB, free: 113 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/2.184, allocations: 45.98 kB / 1.27 GB, free: 113 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001072/2.185, allocations: 240.6 kB / 1.27 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/2.185, allocations: 10.22 kB / 1.27 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002656/2.186, allocations: 0.5875 MB / 1.27 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/2.186, allocations: 2.125 kB / 1.27 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/2.186, allocations: 0.5238 MB / 1.271 GB, free: 112 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/2.186, allocations: 154 kB / 1.271 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/2.186, allocations: 14.73 kB / 1.271 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/2.187, allocations: 29.53 kB / 1.271 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/2.187, allocations: 27.45 kB / 1.271 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/2.187, allocations: 18.33 kB / 1.271 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003751/2.187, allocations: 402.3 kB / 1.272 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/2.187, allocations: 2.406 kB / 1.272 GB, free: 111.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001383/2.189, allocations: 477.1 kB / 1.272 GB, free: 111.5 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.002245/2.191, allocations: 2.592 MB / 1.275 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005837/2.191, allocations: 348.8 kB / 1.275 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.191, allocations: 6.312 kB / 1.275 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/2.192, allocations: 130.3 kB / 1.275 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/2.193, allocations: 347.5 kB / 1.275 GB, free: 109.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/2.194, allocations: 0.8227 MB / 1.276 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/2.195, allocations: 0.8805 MB / 1.277 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001043/2.196, allocations: 0.5654 MB / 1.278 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/2.196, allocations: 221.7 kB / 1.278 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of SimCode: time 3.51e-07/2.196, allocations: 1.594 kB / 1.278 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/2.246, allocations: 38.2 MB / 1.315 GB, free: 84.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001457/2.246, allocations: 229.8 kB / 1.315 GB, free: 84.48 MB / 0.5417 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.c:362:154: error: passing 'Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp24geometry' (aka '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[46] /* from_dp.m_flow variable */ = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, omc_Modelica_Fluid_Fittings_BaseClasses_Bends_CurvedBend_D_Geometry24from__dp24geometry(threadData, data->simulationInfo->realParameter[42] /* from_dp.geometry.d_hyd PARAM */, data->simulationInfo->realParameter[41] /* from_dp.geometry.R_0 PARAM */, data->simulationInfo->realParameter[43] /* from_dp.geometry.delta PARAM */, data->simulationInfo->realParameter[40] /* from_dp.geometry.K PARAM */), omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__IN__var(threadData, omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[43] /* from_dp.dp variable */, data->localData[0]->realVars[44] /* from_dp.eta_a variable */, data->localData[0]->realVars[45] /* from_dp.eta_b variable */, data->simulationInfo->realParameter[38] /* from_dp.dp_small PARAM */), omc_Modelica_Fluid_Utilities_regStep(threadData, data->localData[0]->realVars[43] /* from_dp.dp variable */, data->localData[0]->realVars[41] /* from_dp.d_a variable */, data->localData[0]->realVars[42] /* from_dp.d_b variable */, data->simulationInfo->realParameter[38] /* from_dp.dp_small PARAM */)), data->localData[0]->realVars[43] /* from_dp.dp variable */); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend_functions.h:1920: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_trunk_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend.o] Error 1