Notification: Performance of loadModel(Modelica): time 1.475/1.475, allocations: 194.8 MB / 201.1 MB, free: 4.84 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2017/1.677, allocations: 46.45 MB / 247.6 MB, free: 4.715 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/1.753, allocations: 44.51 MB / 292.1 MB, free: 8.93 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.355/2.109, allocations: 187 MB / 479 MB, free: 3.027 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/2.109, allocations: 76.02 kB / 479.1 MB, free: 2.988 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.2071/2.316, allocations: 30.2 MB / 0.4974 GB, free: 140 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/2.316, allocations: 11.59 kB / 0.4974 GB, free: 140 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004548/2.316, allocations: 25.95 kB / 0.4974 GB, free: 139.9 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/2.317, allocations: 209.1 kB / 0.4976 GB, free: 139.7 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/2.317, allocations: 3.844 kB / 0.4976 GB, free: 139.7 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/2.317, allocations: 7.938 kB / 0.4976 GB, free: 139.7 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002062/2.317, allocations: 100.7 kB / 0.4977 GB, free: 139.7 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/2.317, allocations: 138.2 kB / 0.4979 GB, free: 139.7 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.895e-06/2.317, allocations: 3.906 kB / 0.4979 GB, free: 139.7 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/2.317, allocations: 0 / 0.4979 GB, free: 139.7 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/2.317, allocations: 3.938 kB / 0.4979 GB, free: 139.7 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006077/2.318, allocations: 0.6041 MB / 0.4985 GB, free: 139.2 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/2.318, allocations: 88.77 kB / 0.4985 GB, free: 139.2 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.815e-05/2.318, allocations: 39.25 kB / 0.4986 GB, free: 139.2 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005203/2.319, allocations: 0.8509 MB / 0.4994 GB, free: 138.2 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/2.319, allocations: 30.56 kB / 0.4994 GB, free: 138.2 MB / 392.6 MB Notification: Performance of pre-optimization done (n=13): time 1.805e-06/2.319, allocations: 0 / 0.4994 GB, free: 138.2 MB / 392.6 MB Notification: Performance of matching and sorting (n=13): time 0.001242/2.32, allocations: 149.8 kB / 0.4996 GB, free: 138.1 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/2.32, allocations: 55.38 kB / 0.4996 GB, free: 138.1 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.325e-05/2.32, allocations: 118 kB / 0.4997 GB, free: 138 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/2.32, allocations: 29.64 kB / 0.4998 GB, free: 137.9 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/2.32, allocations: 166.1 kB / 0.4999 GB, free: 137.8 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/2.32, allocations: 42.62 kB / 0.5 GB, free: 137.8 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-06/2.32, allocations: 0 / 0.5 GB, free: 137.8 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 4.999e-05/2.32, allocations: 317.6 kB / 0.5003 GB, free: 137.4 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/2.32, allocations: 22.53 kB / 0.5003 GB, free: 137.4 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/2.32, allocations: 67.19 kB / 0.5004 GB, free: 137.4 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/2.321, allocations: 82.52 kB / 0.5004 GB, free: 137.4 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.242e-06/2.321, allocations: 2.312 kB / 0.5004 GB, free: 137.4 MB / 392.6 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001227/2.323, allocations: 179.6 kB / 0.5006 GB, free: 137.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/2.323, allocations: 7.688 kB / 0.5006 GB, free: 137.3 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-06/2.323, allocations: 0 / 0.5006 GB, free: 137.3 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/2.323, allocations: 5.594 kB / 0.5006 GB, free: 137.3 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/2.323, allocations: 30.84 kB / 0.5007 GB, free: 137.3 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.087e-06/2.323, allocations: 7.75 kB / 0.5007 GB, free: 137.3 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.93e-05/2.323, allocations: 12.23 kB / 0.5007 GB, free: 137.3 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/2.323, allocations: 19.53 kB / 0.5007 GB, free: 137.3 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/2.323, allocations: 80.47 kB / 0.5008 GB, free: 137.3 MB / 392.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001193/2.324, allocations: 146.6 kB / 0.5009 GB, free: 137.2 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/2.324, allocations: 11.66 kB / 0.5009 GB, free: 137.2 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/2.326, allocations: 336.1 kB / 0.5012 GB, free: 137.1 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/2.326, allocations: 3.844 kB / 0.5012 GB, free: 137.1 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.783e-06/2.326, allocations: 0 / 0.5012 GB, free: 137.1 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.37e-06/2.326, allocations: 3.969 kB / 0.5012 GB, free: 137.1 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/2.328, allocations: 483.6 kB / 0.5017 GB, free: 136.8 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/2.328, allocations: 3.562 kB / 0.5017 GB, free: 136.8 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/2.328, allocations: 26.08 kB / 0.5017 GB, free: 136.8 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.927e-06/2.328, allocations: 7.438 kB / 0.5017 GB, free: 136.8 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/2.328, allocations: 0 / 0.5017 GB, free: 136.8 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.17e-06/2.328, allocations: 7.906 kB / 0.5018 GB, free: 136.8 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.872e-06/2.328, allocations: 0 / 0.5018 GB, free: 136.8 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001118/2.329, allocations: 300.1 kB / 0.502 GB, free: 136.7 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 8.113e-05/2.329, allocations: 110.7 kB / 0.5021 GB, free: 136.6 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/2.329, allocations: 0 / 0.5021 GB, free: 136.6 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/2.329, allocations: 3.281 kB / 0.5021 GB, free: 136.6 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/2.329, allocations: 7.906 kB / 0.5022 GB, free: 136.6 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/2.329, allocations: 19.72 kB / 0.5022 GB, free: 136.6 MB / 392.6 MB Notification: Performance of sort global known variables: time 4.14e-05/2.329, allocations: 87.56 kB / 0.5023 GB, free: 136.5 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.000555/2.33, allocations: 94.67 kB / 0.5023 GB, free: 136.5 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.00174/2.332, allocations: 0.9162 MB / 0.5032 GB, free: 135.8 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0002219/2.332, allocations: 108 kB / 0.5033 GB, free: 135.8 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 2.633e-06/2.332, allocations: 1.344 kB / 0.5033 GB, free: 135.8 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/2.332, allocations: 70.44 kB / 0.5034 GB, free: 135.8 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/2.332, allocations: 37.7 kB / 0.5034 GB, free: 135.8 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/2.333, allocations: 223.3 kB / 0.5037 GB, free: 135.6 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/2.333, allocations: 0.7581 MB / 0.5044 GB, free: 134.9 MB / 392.6 MB Notification: Performance of SimCode: time 5.56e-07/2.333, allocations: 1.375 kB / 0.5044 GB, free: 134.9 MB / 392.6 MB Notification: Performance of translateModelFMU complete: time 0.007189/2.34, allocations: 3.506 MB / 0.5078 GB, free: 134.5 MB / 392.6 MB 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=5 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.cpp:28: ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFunctions.cpp:247:26: error: use of undeclared identifier 'poly_Cp_' double tmp32_data[]={poly_Cp_(1), poly_Cp_(2)}; ^ ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFunctions.cpp:247:39: error: use of undeclared identifier 'poly_Cp_' double tmp32_data[]={poly_Cp_(1), poly_Cp_(2)}; ^ In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFMU.cpp:11: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/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 'OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_2_fmi_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.o] Error 1