Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 234.9 MB / 250.4 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000607/0.0006071, allocations: 12 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3606, allocations: 54.85 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008906/0.3696, allocations: 4.677 MB / 373.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005848/0.3755, allocations: 2.948 MB / 376.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.3757, allocations: 4 kB / 376.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.376, allocations: 31.81 kB / 376.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004158/0.3802, allocations: 1.044 MB / 378 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.3808, allocations: 147.6 kB / 378.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000504/0.3813, allocations: 203.4 kB / 378.3 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.939e-05/0.3814, allocations: 13.55 kB / 378.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.3835, allocations: 0.7567 MB / 379.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000464/0.384, allocations: 143.6 kB / 379.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.3841, allocations: 8 kB / 379.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.388, allocations: 1.356 MB / 380.6 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.3882, allocations: 39.83 kB / 380.6 MB, free: 1.367 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.537e-05/0.3883, allocations: 49.64 kB / 380.7 MB, free: 1.312 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.3898, allocations: 423.2 kB / 381.1 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3898, allocations: 3.938 kB / 381.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3898, allocations: 0 / 381.1 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3898, allocations: 0 / 381.1 MB, free: 0.8945 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001362/0.3912, allocations: 0.5495 MB / 381.6 MB, free: 304 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.3913, allocations: 12.03 kB / 381.7 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.293e-05/0.3914, allocations: 50.55 kB / 381.7 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.3919, allocations: 47.72 kB / 381.7 MB, free: 184 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003466/0.3923, allocations: 210.8 kB / 382 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.3923, allocations: 16 kB / 382 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.3924, allocations: 23.89 kB / 382 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.393, allocations: 233 kB / 382.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.393, allocations: 3.938 kB / 382.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/0.3931, allocations: 15.98 kB / 382.2 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.3931, allocations: 4 kB / 382.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005498/0.3937, allocations: 228.6 kB / 382.5 MB, free: 15.39 MB / 314.7 MB 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.001992/0.3957, allocations: 1.384 MB / 383.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.3961, allocations: 94.58 kB / 383.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002173/0.3982, allocations: 1.821 MB / 385.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003425/0.3986, allocations: 166.9 kB / 385.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.3987, allocations: 4 kB / 385.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001489/0.4002, allocations: 367.9 kB / 386.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/0.4003, allocations: 261 kB / 386.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.4006, allocations: 157 kB / 386.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/0.4006, allocations: 29.7 kB / 386.7 MB, free: 10.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.4008, allocations: 222.2 kB / 386.9 MB, free: 10.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.232e-05/0.4009, allocations: 63.22 kB / 387 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.4009, allocations: 8 kB / 387 MB, free: 10.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.401, allocations: 318.8 kB / 387.3 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.4012, allocations: 49.69 kB / 387.4 MB, free: 9.84 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/0.4014, allocations: 175.4 kB / 387.5 MB, free: 9.602 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.4017, allocations: 71.92 kB / 387.6 MB, free: 9.531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4017, allocations: 4 kB / 387.6 MB, free: 9.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000704/0.4024, allocations: 269.2 kB / 387.9 MB, free: 9.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.4024, allocations: 6.5 kB / 387.9 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.4025, allocations: 8 kB / 387.9 MB, free: 9.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.809e-05/0.4025, allocations: 8 kB / 387.9 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008731/0.4034, allocations: 103.8 kB / 388 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004825/0.4039, allocations: 0.5942 MB / 388.6 MB, free: 8.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.4042, allocations: 15.94 kB / 388.6 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.4042, allocations: 16 kB / 388.6 MB, free: 8.488 MB / 314.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.4044, allocations: 137.8 kB / 388.8 MB, free: 8.344 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.4045, allocations: 19.77 kB / 388.8 MB, free: 8.324 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008136/0.4053, allocations: 248 kB / 389 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.4054, allocations: 4.062 kB / 389 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.4054, allocations: 4 kB / 389 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4054, allocations: 0 / 389 MB, free: 8.047 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.4058, allocations: 217.5 kB / 389.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4058, allocations: 4 kB / 389.3 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.4064, allocations: 55.92 kB / 389.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/0.4064, allocations: 3.953 kB / 389.3 MB, free: 7.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.4065, allocations: 4 kB / 389.3 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003849/0.4069, allocations: 0.5898 MB / 389.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4069, allocations: 0 / 389.9 MB, free: 7.105 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.4072, allocations: 150.6 kB / 390.1 MB, free: 6.934 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.4074, allocations: 124.9 kB / 390.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.239e-05/0.4075, allocations: 4 kB / 390.2 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.4077, allocations: 12.08 kB / 390.2 MB, free: 6.777 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.4078, allocations: 4 kB / 390.2 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.4078, allocations: 19.98 kB / 390.2 MB, free: 6.754 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.408, allocations: 127.3 kB / 390.3 MB, free: 6.629 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.408, allocations: 3.938 kB / 390.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008317/0.4088, allocations: 167.9 kB / 390.5 MB, free: 6.461 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001669/0.4105, allocations: 0.926 MB / 391.4 MB, free: 5.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008103/0.4114, allocations: 156.5 kB / 391.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4114, allocations: 0 / 391.6 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.4117, allocations: 55.89 kB / 391.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003959/0.4121, allocations: 27.98 kB / 391.7 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.4146, allocations: 1.121 MB / 392.8 MB, free: 4.031 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.415, allocations: 0.7167 MB / 393.5 MB, free: 3.285 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.4152, allocations: 63.41 kB / 393.6 MB, free: 3.223 MB / 314.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4152, allocations: 0 / 393.6 MB, free: 3.223 MB / 314.7 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=5 -DSUNDIALS_MINOR_VERSION=4 -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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:229:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:229:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:229:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:463:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:463:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:463:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650FMU.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 4 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.o] Error 1