Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001425/0.001425, allocations: 115.1 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001707/0.001707, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1847/0.1847, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 77.59 kB / 417.2 MB, free: 19.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.08989, allocations: 62.45 MB / 479.6 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Bends.CurvedBend): time 0.3199/0.4098, allocations: 184 MB / 0.648 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004816/0.4147, allocations: 3.732 MB / 0.6517 GB, free: 7.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004155/0.4151, allocations: 23.81 kB / 0.6517 GB, free: 7.746 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007411/0.4159, allocations: 286.5 kB / 0.652 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.4194, allocations: 1.593 MB / 0.6535 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.4208, allocations: 0.6452 MB / 0.6542 GB, free: 5.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.4224, allocations: 1.532 MB / 0.6556 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005788/0.423, allocations: 423.5 kB / 0.6561 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000879/0.4239, allocations: 0.5799 MB / 0.6566 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005933/0.4245, allocations: 478.1 kB / 0.6571 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.855e-05/0.4246, allocations: 56 kB / 0.6571 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.4275, allocations: 2.344 MB / 0.6594 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.4276, allocations: 147.5 kB / 0.6596 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.428, allocations: 358.4 kB / 0.6599 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.4304, allocations: 1.972 MB / 0.6618 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4304, allocations: 0 / 0.6618 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4304, allocations: 0 / 0.6618 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.4304, allocations: 0 / 0.6618 GB, free: 13.36 MB / 0.4981 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.00184/0.4323, allocations: 1.085 MB / 0.6629 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.4323, allocations: 8.031 kB / 0.6629 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.4324, allocations: 90.39 kB / 0.663 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009712/0.4334, allocations: 135.2 kB / 0.6631 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.434, allocations: 484.4 kB / 0.6636 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.4341, allocations: 33 kB / 0.6636 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.947e-05/0.4341, allocations: 39.94 kB / 0.6636 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.4351, allocations: 0.6022 MB / 0.6642 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4352, allocations: 0 / 0.6642 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.4352, allocations: 20 kB / 0.6642 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.4352, allocations: 8 kB / 0.6643 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008494/0.4361, allocations: 479.6 kB / 0.6647 GB, free: 10.27 MB / 0.4981 GB 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.00258/0.4387, allocations: 2.647 MB / 0.6673 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006746/0.4394, allocations: 357.6 kB / 0.6676 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.4397, allocations: 173.3 kB / 0.6678 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.44, allocations: 433.9 kB / 0.6682 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.44, allocations: 38.84 kB / 0.6683 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.44, allocations: 0 / 0.6683 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.001546/0.4416, allocations: 0.7264 MB / 0.669 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.4417, allocations: 132.5 kB / 0.6691 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.4421, allocations: 494 kB / 0.6696 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.4422, allocations: 37.7 kB / 0.6696 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.4424, allocations: 279.8 kB / 0.6699 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.4424, allocations: 114.3 kB / 0.67 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.4426, allocations: 102.1 kB / 0.6701 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.4427, allocations: 358.8 kB / 0.6704 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.443, allocations: 156.7 kB / 0.6706 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.4434, allocations: 287.7 kB / 0.6708 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/0.444, allocations: 441.6 kB / 0.6713 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.444, allocations: 3.938 kB / 0.6713 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009095/0.4449, allocations: 0.5442 MB / 0.6718 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.445, allocations: 11.94 kB / 0.6718 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.445, allocations: 4 kB / 0.6718 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.4464, allocations: 245 kB / 0.672 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.4468, allocations: 107.8 kB / 0.6721 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003738/0.4471, allocations: 0.5876 MB / 0.6727 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003369/0.4475, allocations: 67.47 kB / 0.6728 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.4476, allocations: 43.98 kB / 0.6728 GB, free: 1.395 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002135/0.4478, allocations: 193.6 kB / 0.673 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.4479, allocations: 47.44 kB / 0.6731 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.4497, allocations: 1.092 MB / 0.6741 GB, free: 36 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4498, allocations: 4 kB / 0.6741 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.4498, allocations: 0 / 0.6741 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4498, allocations: 3.984 kB / 0.6741 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.4511, allocations: 1.018 MB / 0.6751 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.4511, allocations: 4 kB / 0.6751 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.4513, allocations: 47.91 kB / 0.6752 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003096/0.4544, allocations: 461.2 kB / 0.6756 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.4544, allocations: 8 kB / 0.6756 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003581/0.4548, allocations: 0.6186 MB / 0.6762 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4548, allocations: 4.031 kB / 0.6762 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006972/0.4555, allocations: 0.5122 MB / 0.6767 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.4556, allocations: 136.4 kB / 0.6769 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.4557, allocations: 19.84 kB / 0.6769 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.4561, allocations: 31.97 kB / 0.6769 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.662e-05/0.4562, allocations: 27.91 kB / 0.6769 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.4562, allocations: 12 kB / 0.6769 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004314/0.4566, allocations: 426.8 kB / 0.6774 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4566, allocations: 0 / 0.6774 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008512/0.4575, allocations: 331.7 kB / 0.6777 GB, free: 12.25 MB / 0.5137 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001882/0.4594, allocations: 1.389 MB / 0.679 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007706/0.4602, allocations: 398.1 kB / 0.6794 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4602, allocations: 0 / 0.6794 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.4605, allocations: 171.8 kB / 0.6796 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.4621, allocations: 375.3 kB / 0.6799 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.4681, allocations: 5.232 MB / 0.685 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.4685, allocations: 0.8596 MB / 0.6859 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001099/0.4696, allocations: 0.5585 MB / 0.6864 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.47, allocations: 227.3 kB / 0.6866 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.47, allocations: 0 / 0.6866 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.631/2.101, allocations: 23.17 MB / 0.7093 GB, free: 199.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002398/2.101, allocations: 291.2 kB / 0.7095 GB, free: 198.8 MB / 0.5294 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.o ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c In file included from ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend.c:306: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[28] /* fitting2.m_flow variable */) = omc_Modelica_Fluid_Dissipation_PressureLoss_Bend_dp__curvedOverall__MFLOW(threadData, tmp6, tmp7, (data->localData[0]->realVars[17] /* fitting1.dp variable */)); ^~~~ ./ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_NewFittings_Bends_CurvedBend_functions.h:224: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_TestComponents_NewFittings_Bends_CurvedBend.o] Error 1