Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.166/2.166, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006609/0.0006611, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3823, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.008877/0.3912, allocations: 4.644 MB / 335.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005326/0.3966, allocations: 2.94 MB / 338.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.3968, allocations: 1.281 kB / 338.9 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000277/0.3971, allocations: 35.61 kB / 338.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00417/0.4013, allocations: 1.057 MB / 340 MB, free: 0.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.4019, allocations: 133.1 kB / 340.1 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.4024, allocations: 209.4 kB / 340.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.4025, allocations: 8.562 kB / 340.3 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.4043, allocations: 0.7023 MB / 341 MB, free: 288 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.4047, allocations: 135.5 kB / 341.1 MB, free: 228 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.4047, allocations: 4.312 kB / 341.1 MB, free: 228 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003809/0.4086, allocations: 1.301 MB / 342.4 MB, free: 15.72 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.54e-05/0.4087, allocations: 36.34 kB / 342.5 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.436e-05/0.4088, allocations: 52.39 kB / 342.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.4103, allocations: 430.2 kB / 342.9 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4103, allocations: 4 kB / 343 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4103, allocations: 5.062 kB / 343 MB, free: 15.42 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.4103, allocations: 0 / 343 MB, free: 15.42 MB / 282.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.001273/0.4116, allocations: 0.5491 MB / 343.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.4117, allocations: 9.188 kB / 343.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.018e-05/0.4118, allocations: 52.52 kB / 343.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006294/0.4124, allocations: 46.05 kB / 343.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4127, allocations: 208.7 kB / 343.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.4128, allocations: 14.56 kB / 343.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.4128, allocations: 14.16 kB / 343.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006054/0.4134, allocations: 242 kB / 344.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4135, allocations: 5.75 kB / 344.1 MB, free: 14.4 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.4135, allocations: 10.31 kB / 344.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.4135, allocations: 4.031 kB / 344.1 MB, free: 14.39 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005373/0.4141, allocations: 235.5 kB / 344.3 MB, free: 14.29 MB / 282.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.001806/0.4159, allocations: 1.383 MB / 345.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002997/0.4162, allocations: 93.3 kB / 345.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002063/0.4183, allocations: 1.835 MB / 347.6 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003491/0.4187, allocations: 171.2 kB / 347.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.375e-06/0.4187, allocations: 0 / 347.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.00139/0.4201, allocations: 357.4 kB / 348.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003265/0.4205, allocations: 271.7 kB / 348.4 MB, free: 10.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.4213, allocations: 146.6 kB / 348.6 MB, free: 9.898 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.4214, allocations: 31.27 kB / 348.6 MB, free: 9.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.4219, allocations: 217.4 kB / 348.8 MB, free: 9.656 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.4223, allocations: 64.41 kB / 348.9 MB, free: 9.602 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-05/0.4225, allocations: 9.125 kB / 348.9 MB, free: 9.594 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.4227, allocations: 330.3 kB / 349.2 MB, free: 9.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.4229, allocations: 42.84 kB / 349.2 MB, free: 9.246 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003803/0.4233, allocations: 184 kB / 349.4 MB, free: 9.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.4237, allocations: 71.83 kB / 349.5 MB, free: 9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4237, allocations: 2.375 kB / 349.5 MB, free: 9 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001132/0.4249, allocations: 260.2 kB / 349.7 MB, free: 8.859 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.4249, allocations: 7.719 kB / 349.8 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/0.425, allocations: 12.25 kB / 349.8 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/0.425, allocations: 7.844 kB / 349.8 MB, free: 8.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.4262, allocations: 97.05 kB / 349.9 MB, free: 8.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000712/0.4269, allocations: 0.5964 MB / 350.5 MB, free: 8.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004584/0.4274, allocations: 17.59 kB / 350.5 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.997e-05/0.4275, allocations: 22.52 kB / 350.5 MB, free: 8.211 MB / 282.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.0002906/0.4279, allocations: 139.3 kB / 350.6 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.428, allocations: 14.41 kB / 350.7 MB, free: 8.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/0.4294, allocations: 248.6 kB / 350.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4295, allocations: 2.312 kB / 350.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.4295, allocations: 1.094 kB / 350.9 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.4295, allocations: 3.953 kB / 350.9 MB, free: 7.859 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.4302, allocations: 235.6 kB / 351.1 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.4302, allocations: 5.25 kB / 351.1 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.4311, allocations: 45.62 kB / 351.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.4311, allocations: 1.031 kB / 351.2 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.4312, allocations: 11.27 kB / 351.2 MB, free: 7.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000921/0.4321, allocations: 0.583 MB / 351.8 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.4323, allocations: 5.031 kB / 351.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.4339, allocations: 137.2 kB / 351.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.4344, allocations: 122.3 kB / 352 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.4347, allocations: 2.344 kB / 352 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/0.435, allocations: 14.25 kB / 352.1 MB, free: 6.742 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.4351, allocations: 9.016 kB / 352.1 MB, free: 6.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.4351, allocations: 10.97 kB / 352.1 MB, free: 6.734 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.4353, allocations: 132.7 kB / 352.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4353, allocations: 0 / 352.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009192/0.4363, allocations: 168.1 kB / 352.4 MB, free: 6.59 MB / 282.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.001908/0.4382, allocations: 0.9113 MB / 353.3 MB, free: 5.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008914/0.4391, allocations: 154.3 kB / 353.4 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.4392, allocations: 0 / 353.4 MB, free: 5.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.4395, allocations: 61.75 kB / 353.5 MB, free: 5.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.4399, allocations: 28.94 kB / 353.5 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.4424, allocations: 1.114 MB / 354.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4428, allocations: 0.7215 MB / 355.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.443, allocations: 63.23 kB / 355.4 MB, free: 4.047 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.443, allocations: 0 / 355.4 MB, free: 4.047 MB / 282.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_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:229:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:229:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:229:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:463:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:463:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_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_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.o] Error 1