Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002539/0.002539, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.316/2.316, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3027/0.3027, allocations: 43.56 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004854/0.0004856, allocations: 12 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.133, allocations: 58.85 MB / 490.3 MB, free: 9.25 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47): time 0.009922/0.143, allocations: 4.853 MB / 495.2 MB, free: 4.367 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.006083/0.1491, allocations: 2.952 MB / 498.1 MB, free: 1.402 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1494, allocations: 0 / 498.1 MB, free: 1.402 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.1497, allocations: 31.81 kB / 498.2 MB, free: 1.371 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004577/0.1543, allocations: 1.028 MB / 499.2 MB, free: 348 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.1549, allocations: 135.7 kB / 499.3 MB, free: 212 kB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000577/0.1555, allocations: 203.6 kB / 499.5 MB, free: 8 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1556, allocations: 13.55 kB / 499.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.1577, allocations: 0.6786 MB / 0.4885 GB, free: 15.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.1583, allocations: 139.6 kB / 0.4886 GB, free: 15.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.1584, allocations: 4 kB / 0.4886 GB, free: 15.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004072/0.1625, allocations: 1.248 MB / 0.4898 GB, free: 13.93 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1626, allocations: 35.89 kB / 0.4899 GB, free: 13.89 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.1628, allocations: 53.64 kB / 0.4899 GB, free: 13.83 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001765/0.1646, allocations: 439.4 kB / 0.4903 GB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1646, allocations: 0 / 0.4903 GB, free: 13.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1646, allocations: 0 / 0.4903 GB, free: 13.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1646, allocations: 0 / 0.4903 GB, free: 13.4 MB / 346.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.001495/0.1661, allocations: 0.5574 MB / 0.4909 GB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.1662, allocations: 8.031 kB / 0.4909 GB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.249e-05/0.1663, allocations: 54.55 kB / 0.491 GB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006102/0.1669, allocations: 43.77 kB / 0.491 GB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1673, allocations: 210.8 kB / 0.4912 GB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.1673, allocations: 11.94 kB / 0.4912 GB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1674, allocations: 20 kB / 0.4912 GB, free: 12.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.168, allocations: 236.8 kB / 0.4915 GB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1681, allocations: 3.938 kB / 0.4915 GB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.404e-05/0.1681, allocations: 11.95 kB / 0.4915 GB, free: 12.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1681, allocations: 4 kB / 0.4915 GB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.1687, allocations: 236.6 kB / 0.4917 GB, free: 11.89 MB / 346.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.002057/0.1708, allocations: 1.392 MB / 0.4931 GB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.1712, allocations: 82.61 kB / 0.4931 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002335/0.1735, allocations: 1.845 MB / 0.4949 GB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.174, allocations: 177.6 kB / 0.4951 GB, free: 7.855 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.276e-06/0.174, allocations: 0 / 0.4951 GB, free: 7.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001469/0.1754, allocations: 351.1 kB / 0.4954 GB, free: 7.504 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/0.1757, allocations: 266 kB / 0.4957 GB, free: 7.184 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.1759, allocations: 150.5 kB / 0.4958 GB, free: 7.027 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.176, allocations: 29.7 kB / 0.4959 GB, free: 6.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1762, allocations: 210.2 kB / 0.4961 GB, free: 6.785 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.144e-05/0.1763, allocations: 71 kB / 0.4961 GB, free: 6.715 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.1763, allocations: 8 kB / 0.4961 GB, free: 6.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1765, allocations: 322.8 kB / 0.4964 GB, free: 6.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1766, allocations: 43.91 kB / 0.4965 GB, free: 6.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.1769, allocations: 183.3 kB / 0.4967 GB, free: 6.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.1771, allocations: 75.92 kB / 0.4967 GB, free: 6.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.1771, allocations: 4.656 kB / 0.4967 GB, free: 6.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007516/0.1779, allocations: 253 kB / 0.497 GB, free: 5.762 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.523e-05/0.178, allocations: 8 kB / 0.497 GB, free: 5.754 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.178, allocations: 4 kB / 0.497 GB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.178, allocations: 8.656 kB / 0.497 GB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/0.179, allocations: 103.8 kB / 0.4971 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005165/0.1795, allocations: 0.5977 MB / 0.4977 GB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.1798, allocations: 19.84 kB / 0.4977 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/0.1799, allocations: 23.98 kB / 0.4977 GB, free: 4.977 MB / 346.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.0002172/0.1801, allocations: 137.8 kB / 0.4979 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.1802, allocations: 15.84 kB / 0.4979 GB, free: 4.816 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008364/0.181, allocations: 247.7 kB / 0.4981 GB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.1811, allocations: 3.953 kB / 0.4981 GB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1811, allocations: 0 / 0.4981 GB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.1811, allocations: 4.094 kB / 0.4981 GB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.1816, allocations: 237.4 kB / 0.4983 GB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.1816, allocations: 0 / 0.4983 GB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006448/0.1823, allocations: 51.91 kB / 0.4984 GB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.1823, allocations: 0 / 0.4984 GB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.1823, allocations: 12.05 kB / 0.4984 GB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004515/0.1828, allocations: 0.586 MB / 0.499 GB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1828, allocations: 0 / 0.499 GB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003857/0.1832, allocations: 170.1 kB / 0.4991 GB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.1834, allocations: 117 kB / 0.4993 GB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.1835, allocations: 4 kB / 0.4993 GB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1837, allocations: 11.98 kB / 0.4993 GB, free: 3.234 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.1838, allocations: 7.984 kB / 0.4993 GB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.1838, allocations: 15.94 kB / 0.4993 GB, free: 3.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.184, allocations: 127.2 kB / 0.4994 GB, free: 3.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.184, allocations: 4 kB / 0.4994 GB, free: 3.082 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009366/0.185, allocations: 171.9 kB / 0.4996 GB, free: 2.914 MB / 346.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.001979/0.187, allocations: 1.086 MB / 0.5006 GB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000886/0.1879, allocations: 156.9 kB / 0.5008 GB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.1879, allocations: 0 / 0.5008 GB, free: 1.637 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.1883, allocations: 48.03 kB / 0.5008 GB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004279/0.1887, allocations: 39.98 kB / 0.5009 GB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004133/0.1929, allocations: 4.24 MB / 0.505 GB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1933, allocations: 0.7245 MB / 0.5057 GB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.1936, allocations: 59.41 kB / 0.5058 GB, free: 12.35 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.1936, allocations: 0 / 0.5058 GB, free: 12.35 MB / 362.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:234:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:234:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:234:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:489:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:489:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47Functions.cpp:489:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47FMU.cpp:11: /var/lib/jenkins1/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_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47CalcHelperMain.o] Error 1