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.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.328/2.328, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006032/0.0006034, allocations: 11.98 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3425, allocations: 54.85 MB / 369.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.009082/0.3517, allocations: 4.677 MB / 373.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006059/0.3578, allocations: 2.948 MB / 376.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.358, allocations: 4 kB / 376.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.3583, allocations: 35.75 kB / 376.9 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.3626, allocations: 1.017 MB / 377.9 MB, free: 2.023 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006566/0.3633, allocations: 143.7 kB / 378.1 MB, free: 1.883 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.3639, allocations: 203.4 kB / 378.3 MB, free: 1.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.648e-05/0.364, allocations: 13.5 kB / 378.3 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.3659, allocations: 0.6748 MB / 379 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004655/0.3664, allocations: 139.7 kB / 379.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.3665, allocations: 4 kB / 379.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003822/0.3703, allocations: 1.264 MB / 380.4 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.294e-05/0.3705, allocations: 23.91 kB / 380.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3706, allocations: 53.64 kB / 380.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.3722, allocations: 431.1 kB / 380.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3723, allocations: 0 / 380.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.3723, allocations: 0 / 380.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3723, allocations: 0 / 380.9 MB, free: 15.09 MB / 314.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.001337/0.3736, allocations: 0.5495 MB / 381.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/0.3737, allocations: 12.03 kB / 381.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.88e-05/0.3738, allocations: 54.48 kB / 381.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.3743, allocations: 39.78 kB / 381.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.3747, allocations: 218.8 kB / 381.7 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3747, allocations: 12 kB / 381.8 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.3747, allocations: 19.95 kB / 381.8 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006172/0.3754, allocations: 236.9 kB / 382 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.3754, allocations: 0 / 382 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.3755, allocations: 11.94 kB / 382 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.3755, allocations: 4 kB / 382 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/0.376, allocations: 236.5 kB / 382.3 MB, free: 13.59 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.001915/0.378, allocations: 1.388 MB / 383.6 MB, free: 12.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.3783, allocations: 86.55 kB / 383.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/0.3806, allocations: 1.829 MB / 385.6 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.381, allocations: 162.9 kB / 385.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 3.196e-06/0.381, allocations: 4 kB / 385.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001402/0.3824, allocations: 364.1 kB / 386.1 MB, free: 9.207 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.3826, allocations: 266 kB / 386.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/0.3828, allocations: 160.8 kB / 386.5 MB, free: 8.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3829, allocations: 33.64 kB / 386.5 MB, free: 8.684 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.383, allocations: 206.2 kB / 386.7 MB, free: 8.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.801e-05/0.3831, allocations: 71.2 kB / 386.8 MB, free: 8.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/0.3832, allocations: 8 kB / 386.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3833, allocations: 318.8 kB / 387.1 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3835, allocations: 39.97 kB / 387.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.3837, allocations: 179.4 kB / 387.3 MB, free: 7.801 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.384, allocations: 71.92 kB / 387.4 MB, free: 7.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.384, allocations: 4 kB / 387.4 MB, free: 7.727 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006844/0.3847, allocations: 261 kB / 387.7 MB, free: 7.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3847, allocations: 4 kB / 387.7 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.3847, allocations: 8 kB / 387.7 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.3848, allocations: 4 kB / 387.7 MB, free: 7.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.3856, allocations: 108.4 kB / 387.8 MB, free: 7.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005137/0.3861, allocations: 0.5899 MB / 388.4 MB, free: 6.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.3865, allocations: 15.94 kB / 388.4 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.283e-05/0.3866, allocations: 23.98 kB / 388.4 MB, free: 6.691 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.0002361/0.3869, allocations: 141.7 kB / 388.5 MB, free: 6.543 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.387, allocations: 19.77 kB / 388.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/0.388, allocations: 243.8 kB / 388.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/0.3881, allocations: 3.984 kB / 388.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3881, allocations: 0 / 388.8 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3881, allocations: 4 kB / 388.8 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.3886, allocations: 221.5 kB / 389 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3886, allocations: 0 / 389 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.3894, allocations: 59.91 kB / 389.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.3894, allocations: 3.953 kB / 389.1 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.3895, allocations: 8 kB / 389.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004696/0.39, allocations: 0.586 MB / 389.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.39, allocations: 0 / 389.7 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.3904, allocations: 154.7 kB / 389.8 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.3906, allocations: 124.9 kB / 390 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.603e-05/0.3907, allocations: 4 kB / 390 MB, free: 4.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.391, allocations: 12 kB / 390 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.3911, allocations: 8.078 kB / 390 MB, free: 4.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.3912, allocations: 11.94 kB / 390 MB, free: 4.949 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.3914, allocations: 131.2 kB / 390.1 MB, free: 4.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3914, allocations: 0 / 390.1 MB, free: 4.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00122/0.3926, allocations: 171.9 kB / 390.3 MB, free: 4.652 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.002061/0.3947, allocations: 0.9162 MB / 391.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.3957, allocations: 156.1 kB / 391.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.3958, allocations: 0 / 391.4 MB, free: 3.559 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.3962, allocations: 51.91 kB / 391.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.3967, allocations: 32 kB / 391.4 MB, free: 3.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.4079, allocations: 1.122 MB / 392.6 MB, free: 2.238 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.4084, allocations: 0.7245 MB / 393.3 MB, free: 1.484 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.4088, allocations: 63.41 kB / 393.3 MB, free: 1.422 MB / 314.7 MB Notification: Performance of SimCode: time 4.018e-06/0.4088, allocations: 0 / 393.3 MB, free: 1.422 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_Glycol47CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:229:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:229:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:229:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:463:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:463:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.o] Error 1