Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.583e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4037, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.89/11.3, allocations: 3.439 GB / 3.838 GB, free: 99.31 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/11.3, allocations: 87.12 kB / 3.839 GB, free: 99.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.794/14.09, allocations: 464.4 MB / 4.292 GB, free: 48.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.444e-06/14.09, allocations: 4 kB / 4.292 GB, free: 48.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.902e-05/14.09, allocations: 24 kB / 4.292 GB, free: 48.71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008245/14.1, allocations: 1.868 MB / 4.294 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/14.1, allocations: 8.031 kB / 4.294 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004567/14.1, allocations: 126.8 kB / 4.294 GB, free: 46.65 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007339/14.1, allocations: 121.6 kB / 4.294 GB, free: 46.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002653/14.1, allocations: 0.7382 MB / 4.295 GB, free: 45.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.892e-05/14.1, allocations: 57.98 kB / 4.295 GB, free: 45.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/14.1, allocations: 67.98 kB / 4.295 GB, free: 45.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/14.11, allocations: 1.194 MB / 4.296 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/14.11, allocations: 4 kB / 4.296 GB, free: 44.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001947/14.11, allocations: 31.98 kB / 4.296 GB, free: 44.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001519/14.11, allocations: 77.95 kB / 4.296 GB, free: 44.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003507/14.11, allocations: 1.308 MB / 4.298 GB, free: 42.99 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/14.12, allocations: 4.871 MB / 4.302 GB, free: 37.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/14.13, allocations: 0.7785 MB / 4.303 GB, free: 36.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009065/14.13, allocations: 366 kB / 4.303 GB, free: 36.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008039/14.13, allocations: 0.7835 MB / 4.304 GB, free: 35.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/14.13, allocations: 46.94 kB / 4.304 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=53): time 4.078e-06/14.13, allocations: 0 / 4.304 GB, free: 35.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.002465/14.13, allocations: 0.8072 MB / 4.305 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/14.13, allocations: 107.2 kB / 4.305 GB, free: 34.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001829/14.13, allocations: 0.8795 MB / 4.306 GB, free: 33.78 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000281/14.13, allocations: 41.64 kB / 4.306 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/14.13, allocations: 458 kB / 4.306 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/14.13, allocations: 193.2 kB / 4.307 GB, free: 33.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/14.13, allocations: 16 kB / 4.307 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/14.13, allocations: 342.8 kB / 4.307 GB, free: 32.73 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/14.14, allocations: 425.8 kB / 4.307 GB, free: 32.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/14.14, allocations: 0.5387 MB / 4.308 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/14.14, allocations: 497.9 kB / 4.308 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/14.14, allocations: 0 / 4.308 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00298/14.14, allocations: 1.101 MB / 4.309 GB, free: 30.13 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/14.14, allocations: 0.963 MB / 4.31 GB, free: 29.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/14.14, allocations: 4 kB / 4.31 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.028e-05/14.14, allocations: 7.938 kB / 4.31 GB, free: 29.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001913/14.14, allocations: 195.8 kB / 4.311 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.503e-05/14.14, allocations: 8 kB / 4.311 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/14.15, allocations: 138.7 kB / 4.311 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/14.15, allocations: 47.97 kB / 4.311 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/14.15, allocations: 7.938 kB / 4.311 GB, free: 28.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002778/14.15, allocations: 1.006 MB / 4.312 GB, free: 27.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/14.15, allocations: 0 / 4.312 GB, free: 27.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/14.15, allocations: 8 kB / 4.312 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/14.15, allocations: 195.7 kB / 4.312 GB, free: 27.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/14.15, allocations: 11.94 kB / 4.312 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/14.15, allocations: 91.64 kB / 4.312 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/14.15, allocations: 47.97 kB / 4.312 GB, free: 27.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003848/14.15, allocations: 136.9 kB / 4.312 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003571/14.15, allocations: 102.8 kB / 4.312 GB, free: 27.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/14.16, allocations: 1.101 MB / 4.313 GB, free: 25.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/14.16, allocations: 8 kB / 4.313 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/14.16, allocations: 0 / 4.313 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/14.16, allocations: 0 / 4.313 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00404/14.16, allocations: 1.769 MB / 4.315 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.547e-06/14.16, allocations: 4 kB / 4.315 GB, free: 24.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009781/14.16, allocations: 112.1 kB / 4.315 GB, free: 24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-05/14.16, allocations: 7.984 kB / 4.315 GB, free: 23.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.498e-05/14.16, allocations: 16 kB / 4.315 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.729e-06/14.16, allocations: 7.938 kB / 4.315 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/14.16, allocations: 4 kB / 4.315 GB, free: 23.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/14.16, allocations: 0.9552 MB / 4.316 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005601/14.16, allocations: 231.7 kB / 4.316 GB, free: 22.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/14.16, allocations: 19.89 kB / 4.316 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/14.17, allocations: 51.95 kB / 4.317 GB, free: 22.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/14.17, allocations: 40.38 kB / 4.317 GB, free: 22.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001643/14.17, allocations: 35.98 kB / 4.317 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001638/14.17, allocations: 0.7417 MB / 4.317 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.052e-06/14.17, allocations: 0 / 4.317 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005884/14.17, allocations: 1.303 MB / 4.319 GB, free: 20.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009383/14.18, allocations: 3.842 MB / 4.322 GB, free: 16.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003885/14.19, allocations: 1.394 MB / 4.324 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/14.19, allocations: 4 kB / 4.324 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008346/14.19, allocations: 333.4 kB / 4.324 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/14.19, allocations: 488.2 kB / 4.325 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006849/14.2, allocations: 1.906 MB / 4.326 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006514/14.2, allocations: 1.063 MB / 4.327 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/14.2, allocations: 363.3 kB / 4.328 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of SimCode: time 2.885e-06/14.2, allocations: 0 / 4.328 GB, free: 10.92 MB / 0.5261 GB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortCalcHelperMain.cpp:17: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.h:622:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706532_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.h:11:7: note: forward declaration of 'Functions' class Functions; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.h:640:19: error: member access into incomplete type 'Functions' _functions->Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706531_Medium_T__phX_f__nonlinear(u, p, h, X, output); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort.h:11:7: note: forward declaration of 'Functions' class Functions; ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPortCalcHelperMain.o] Error 1