Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.002122/0.002121, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.092/2.092, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001149/0.001149, allocations: 97.98 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5497/0.5497, allocations: 43.56 MB / 362.7 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006914/0.0006917, allocations: 12 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1398, allocations: 58.85 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.009885/0.1497, allocations: 4.875 MB / 495.2 MB, free: 6.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006088/0.1559, allocations: 2.948 MB / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.1561, allocations: 0 / 498.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002798/0.1564, allocations: 27.88 kB / 498.2 MB, free: 3.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004439/0.1608, allocations: 1.052 MB / 499.2 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.1615, allocations: 143.7 kB / 499.4 MB, free: 2.055 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.162, allocations: 203.6 kB / 499.6 MB, free: 1.855 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.249e-05/0.1621, allocations: 9.547 kB / 499.6 MB, free: 1.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.1644, allocations: 0.7606 MB / 0.4886 GB, free: 1.082 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004793/0.1649, allocations: 143.6 kB / 0.4887 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.165, allocations: 8 kB / 0.4887 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3662/0.5312, allocations: 1.352 MB / 0.4901 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.729e-05/0.5313, allocations: 28.44 kB / 0.4901 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.467e-05/0.5314, allocations: 52.11 kB / 0.4901 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001365/0.5328, allocations: 437.9 kB / 0.4906 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5328, allocations: 3.188 kB / 0.4906 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5329, allocations: 0 / 0.4906 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.5329, allocations: 1.469 kB / 0.4906 GB, free: 36.11 MB / 378.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.001223/0.5341, allocations: 0.5578 MB / 0.4911 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.5342, allocations: 14.41 kB / 0.4911 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001017/0.5343, allocations: 54.39 kB / 0.4912 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/0.5349, allocations: 45.72 kB / 0.4912 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.5351, allocations: 207.7 kB / 0.4914 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.5352, allocations: 12.41 kB / 0.4914 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.5352, allocations: 14.16 kB / 0.4914 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.5358, allocations: 247.4 kB / 0.4917 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.5358, allocations: 0 / 0.4917 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.5359, allocations: 6.875 kB / 0.4917 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.5359, allocations: 4.469 kB / 0.4917 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.5365, allocations: 234 kB / 0.4919 GB, free: 35.32 MB / 378.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.001521/0.538, allocations: 1.389 MB / 0.4933 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.5383, allocations: 87.94 kB / 0.4934 GB, free: 34.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001654/0.54, allocations: 1.837 MB / 0.4951 GB, free: 32.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.5403, allocations: 170.1 kB / 0.4953 GB, free: 31.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.315e-06/0.5404, allocations: 1.062 kB / 0.4953 GB, free: 31.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.00132/0.5417, allocations: 354.3 kB / 0.4956 GB, free: 31.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.413e-05/0.5418, allocations: 268 kB / 0.4959 GB, free: 31.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.542, allocations: 153.1 kB / 0.496 GB, free: 31.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.542, allocations: 29.67 kB / 0.4961 GB, free: 31.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.671e-05/0.5421, allocations: 223.5 kB / 0.4963 GB, free: 31.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.5422, allocations: 61.47 kB / 0.4963 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.5423, allocations: 9.062 kB / 0.4964 GB, free: 31.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.5424, allocations: 326.4 kB / 0.4967 GB, free: 30.87 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.5425, allocations: 45 kB / 0.4967 GB, free: 30.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.5427, allocations: 180 kB / 0.4969 GB, free: 30.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.5429, allocations: 73.48 kB / 0.497 GB, free: 30.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5429, allocations: 1.25 kB / 0.497 GB, free: 30.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000627/0.5436, allocations: 261.9 kB / 0.4972 GB, free: 30.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.5436, allocations: 7.281 kB / 0.4972 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5436, allocations: 4.969 kB / 0.4972 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.5437, allocations: 8.781 kB / 0.4972 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.5445, allocations: 105.3 kB / 0.4973 GB, free: 30.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002914/0.5448, allocations: 0.5962 MB / 0.4979 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.545, allocations: 14 kB / 0.4979 GB, free: 30.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/0.5451, allocations: 22.52 kB / 0.4979 GB, free: 30.06 MB / 378.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.0001519/0.5453, allocations: 138.9 kB / 0.4981 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.681e-05/0.5453, allocations: 18.42 kB / 0.4981 GB, free: 29.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007358/0.5461, allocations: 248.8 kB / 0.4983 GB, free: 29.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.5461, allocations: 4.969 kB / 0.4983 GB, free: 29.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.5461, allocations: 1.609 kB / 0.4983 GB, free: 29.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5461, allocations: 5.594 kB / 0.4983 GB, free: 29.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.5465, allocations: 220.5 kB / 0.4986 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5465, allocations: 0.9688 kB / 0.4986 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.547, allocations: 55.53 kB / 0.4986 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5471, allocations: 0.9688 kB / 0.4986 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.5471, allocations: 3.469 kB / 0.4986 GB, free: 29.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002318/0.5473, allocations: 0.596 MB / 0.4992 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5473, allocations: 0.9688 kB / 0.4992 GB, free: 29.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.5476, allocations: 169.5 kB / 0.4994 GB, free: 28.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5478, allocations: 126.4 kB / 0.4995 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.5478, allocations: 3.547 kB / 0.4995 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.5481, allocations: 7.062 kB / 0.4995 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.5481, allocations: 8.297 kB / 0.4995 GB, free: 28.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.142e-05/0.5482, allocations: 11.38 kB / 0.4995 GB, free: 28.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001284/0.5483, allocations: 121.1 kB / 0.4996 GB, free: 28.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.443e-06/0.5483, allocations: 0 / 0.4996 GB, free: 28.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009803/0.5493, allocations: 176.2 kB / 0.4998 GB, free: 28.72 MB / 378.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.001546/0.5509, allocations: 1.089 MB / 0.5009 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.5516, allocations: 158 kB / 0.501 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.5516, allocations: 0 / 0.501 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002867/0.5519, allocations: 53.28 kB / 0.5011 GB, free: 27.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.5523, allocations: 34.05 kB / 0.5011 GB, free: 27.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.5549, allocations: 4.241 MB / 0.5052 GB, free: 24.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.5552, allocations: 0.7242 MB / 0.5059 GB, free: 23.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.5554, allocations: 57.33 kB / 0.506 GB, free: 23.34 MB / 378.7 MB Notification: Performance of SimCode: time 1.482e-06/0.5554, allocations: 3.969 kB / 0.506 GB, free: 23.34 MB / 378.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_Essotherm650CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:234:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:234:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:234:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:489:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.cpp:489:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650Functions.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_Essotherm650CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650FMU.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_Essotherm650CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650CalcHelperMain.o] Error 1