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.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.103/2.103, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006513/0.0006515, allocations: 15.94 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3658, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.008017/0.3739, allocations: 4.64 MB / 335.9 MB, free: 3.508 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005275/0.3792, allocations: 2.944 MB / 338.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.3794, allocations: 1.094 kB / 338.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.3798, allocations: 31.53 kB / 338.9 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004263/0.384, allocations: 1.025 MB / 339.9 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000581/0.3846, allocations: 133.8 kB / 340.1 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.3851, allocations: 209.4 kB / 340.3 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.975e-05/0.3852, allocations: 8.656 kB / 340.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001717/0.3869, allocations: 0.622 MB / 340.9 MB, free: 320 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.3875, allocations: 139 kB / 341 MB, free: 256 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.3875, allocations: 8.438 kB / 341 MB, free: 252 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00387/0.3914, allocations: 1.199 MB / 342.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.3916, allocations: 33.64 kB / 342.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3917, allocations: 55.7 kB / 342.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.3935, allocations: 429.9 kB / 342.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3935, allocations: 0 / 342.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3935, allocations: 0 / 342.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.3935, allocations: 0 / 342.7 MB, free: 15.48 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.001458/0.395, allocations: 0.5531 MB / 343.3 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3951, allocations: 13.56 kB / 343.3 MB, free: 14.97 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.387e-05/0.3952, allocations: 55.7 kB / 343.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.3957, allocations: 42.36 kB / 343.4 MB, free: 14.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.396, allocations: 213 kB / 343.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.3961, allocations: 10.12 kB / 343.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.418e-05/0.3961, allocations: 18.23 kB / 343.6 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.3967, allocations: 243.2 kB / 343.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3967, allocations: 0 / 343.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.3968, allocations: 6.781 kB / 343.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.3968, allocations: 5.344 kB / 343.9 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.3974, allocations: 239.2 kB / 344.1 MB, free: 14.34 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.002026/0.3994, allocations: 1.381 MB / 345.5 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.3998, allocations: 102 kB / 345.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002334/0.4021, allocations: 1.827 MB / 347.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003643/0.4025, allocations: 170.1 kB / 347.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.345e-06/0.4026, allocations: 0 / 347.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.001449/0.404, allocations: 361.4 kB / 347.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001656/0.4042, allocations: 268.5 kB / 348.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.4044, allocations: 149.7 kB / 348.4 MB, free: 9.949 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.4045, allocations: 32.23 kB / 348.4 MB, free: 9.914 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.4047, allocations: 213.1 kB / 348.6 MB, free: 9.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.4048, allocations: 72.61 kB / 348.7 MB, free: 9.648 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.876e-05/0.4048, allocations: 9.156 kB / 348.7 MB, free: 9.641 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.405, allocations: 325.2 kB / 349 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.4051, allocations: 43.81 kB / 349 MB, free: 9.297 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.4054, allocations: 180.4 kB / 349.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.4056, allocations: 67.34 kB / 349.3 MB, free: 9.059 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.4057, allocations: 6.438 kB / 349.3 MB, free: 9.055 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007092/0.4064, allocations: 264.3 kB / 349.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.4064, allocations: 6.438 kB / 349.5 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.4065, allocations: 6.5 kB / 349.6 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.4065, allocations: 6.469 kB / 349.6 MB, free: 8.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009094/0.4074, allocations: 101 kB / 349.7 MB, free: 8.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005008/0.4079, allocations: 0.5918 MB / 350.3 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.4082, allocations: 22.25 kB / 350.3 MB, free: 8.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.811e-05/0.4083, allocations: 22.8 kB / 350.3 MB, free: 8.266 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.0002176/0.4086, allocations: 135 kB / 350.4 MB, free: 8.133 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.4086, allocations: 18.31 kB / 350.4 MB, free: 8.125 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.4095, allocations: 241.2 kB / 350.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4095, allocations: 2.062 kB / 350.7 MB, free: 7.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4095, allocations: 5.062 kB / 350.7 MB, free: 7.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.4095, allocations: 13.22 kB / 350.7 MB, free: 7.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.41, allocations: 222.9 kB / 350.9 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.41, allocations: 1.094 kB / 350.9 MB, free: 7.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.4106, allocations: 57.77 kB / 351 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/0.4107, allocations: 1.562 kB / 351 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.4107, allocations: 2.656 kB / 351 MB, free: 7.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000477/0.4112, allocations: 0.5867 MB / 351.6 MB, free: 7.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4112, allocations: 4.062 kB / 351.6 MB, free: 7.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003563/0.4116, allocations: 141.9 kB / 351.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4118, allocations: 118.7 kB / 351.8 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.4118, allocations: 5.375 kB / 351.8 MB, free: 6.809 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.4121, allocations: 10.81 kB / 351.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.4122, allocations: 13.3 kB / 351.9 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.4122, allocations: 10.44 kB / 351.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.4124, allocations: 124.1 kB / 352 MB, free: 6.691 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4124, allocations: 1 kB / 352 MB, free: 6.691 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000941/0.4134, allocations: 169 kB / 352.1 MB, free: 6.652 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.001786/0.4152, allocations: 0.91 MB / 353.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.416, allocations: 166.8 kB / 353.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.416, allocations: 5.812 kB / 353.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.4164, allocations: 48.88 kB / 353.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.4168, allocations: 28.47 kB / 353.3 MB, free: 5.801 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.4193, allocations: 1.122 MB / 354.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.4198, allocations: 0.7182 MB / 355.1 MB, free: 4.145 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.42, allocations: 62.64 kB / 355.2 MB, free: 4.102 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.42, allocations: 0 / 355.2 MB, free: 4.102 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_Glycol47CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:229:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:229:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:229:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:463:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:463:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.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_Glycol47CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47FMU.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_Glycol47CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.o] Error 1