Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.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) 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(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",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.001584/0.001588, allocations: 188.5 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.146/2.146, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001183, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004006/0.0004008, allocations: 8 kB / 327.1 MB, free: 15.02 MB / 234.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1026, allocations: 47.58 MB / 374.6 MB, free: 15.36 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.00876/0.1114, allocations: 4.547 MB / 379.2 MB, free: 10.78 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1127, allocations: 0.5262 MB / 379.7 MB, free: 10.25 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.1128, allocations: 0 / 379.7 MB, free: 10.25 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.1131, allocations: 23.83 kB / 379.7 MB, free: 10.23 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.115, allocations: 0.5026 MB / 380.2 MB, free: 9.723 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.1155, allocations: 79.78 kB / 380.3 MB, free: 9.645 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003188/0.1158, allocations: 115.8 kB / 380.4 MB, free: 9.531 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.296e-05/0.1159, allocations: 8 kB / 380.4 MB, free: 9.523 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.1178, allocations: 0.6358 MB / 381.1 MB, free: 8.887 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.118, allocations: 43.84 kB / 381.1 MB, free: 8.844 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1181, allocations: 4 kB / 381.1 MB, free: 8.84 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.1208, allocations: 0.87 MB / 382 MB, free: 7.969 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.1209, allocations: 19.91 kB / 382 MB, free: 7.949 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 7.083e-05/0.121, allocations: 41.7 kB / 382 MB, free: 7.902 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.1216, allocations: 175.8 kB / 382.2 MB, free: 7.73 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1217, allocations: 4 kB / 382.2 MB, free: 7.727 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1217, allocations: 0 / 382.2 MB, free: 7.727 MB / 282.8 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1217, allocations: 4 kB / 382.2 MB, free: 7.723 MB / 282.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005818/0.1223, allocations: 399.1 kB / 382.6 MB, free: 7.285 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.1224, allocations: 8.031 kB / 382.6 MB, free: 7.277 MB / 282.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.14e-05/0.1224, allocations: 50.48 kB / 382.7 MB, free: 7.219 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/0.123, allocations: 31.88 kB / 382.7 MB, free: 7.188 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.1232, allocations: 194.8 kB / 382.9 MB, free: 6.957 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.1233, allocations: 8 kB / 382.9 MB, free: 6.949 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1233, allocations: 4 kB / 382.9 MB, free: 6.945 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.1237, allocations: 145 kB / 383 MB, free: 6.785 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1237, allocations: 0 / 383 MB, free: 6.785 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.996e-05/0.1237, allocations: 4 kB / 383.1 MB, free: 6.781 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1238, allocations: 7.953 kB / 383.1 MB, free: 6.773 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.124, allocations: 107.8 kB / 383.2 MB, free: 6.668 MB / 282.8 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.0009743/0.125, allocations: 0.6763 MB / 383.8 MB, free: 5.918 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.1253, allocations: 90.42 kB / 383.9 MB, free: 5.82 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009064/0.1262, allocations: 0.7998 MB / 384.7 MB, free: 4.836 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.1262, allocations: 42.56 kB / 384.8 MB, free: 4.785 MB / 282.8 MB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.1263, allocations: 0 / 384.8 MB, free: 4.785 MB / 282.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003947/0.1267, allocations: 122.2 kB / 384.9 MB, free: 4.66 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.1267, allocations: 59.33 kB / 384.9 MB, free: 4.59 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.1269, allocations: 114 kB / 385.1 MB, free: 4.469 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1269, allocations: 29.7 kB / 385.1 MB, free: 4.434 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.484e-05/0.127, allocations: 158.4 kB / 385.2 MB, free: 4.277 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.1271, allocations: 55.28 kB / 385.3 MB, free: 4.223 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.1271, allocations: 4 kB / 385.3 MB, free: 4.219 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1273, allocations: 322.8 kB / 385.6 MB, free: 3.895 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.303e-05/0.1274, allocations: 23.98 kB / 385.6 MB, free: 3.871 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.1275, allocations: 65.14 kB / 385.7 MB, free: 3.789 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1276, allocations: 40.11 kB / 385.7 MB, free: 3.75 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1276, allocations: 4 kB / 385.7 MB, free: 3.746 MB / 282.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003747/0.128, allocations: 137.4 kB / 385.9 MB, free: 3.605 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.1281, allocations: 4 kB / 385.9 MB, free: 3.602 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1281, allocations: 0 / 385.9 MB, free: 3.602 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.1281, allocations: 7.938 kB / 385.9 MB, free: 3.594 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1283, allocations: 31.92 kB / 385.9 MB, free: 3.562 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1284, allocations: 4 kB / 385.9 MB, free: 3.559 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.1285, allocations: 20 kB / 385.9 MB, free: 3.539 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.1285, allocations: 4.375 kB / 386 MB, free: 3.535 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.1287, allocations: 125.8 kB / 386.1 MB, free: 3.402 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.891e-05/0.1287, allocations: 11.86 kB / 386.1 MB, free: 3.391 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.1292, allocations: 142.2 kB / 386.2 MB, free: 3.25 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1292, allocations: 8 kB / 386.2 MB, free: 3.242 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1293, allocations: 0 / 386.2 MB, free: 3.242 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.1293, allocations: 3.984 kB / 386.2 MB, free: 3.238 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006846/0.13, allocations: 398.3 kB / 386.6 MB, free: 2.793 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.13, allocations: 4 kB / 386.6 MB, free: 2.789 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1302, allocations: 23.94 kB / 386.7 MB, free: 2.766 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1302, allocations: 3.984 kB / 386.7 MB, free: 2.762 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1302, allocations: 0 / 386.7 MB, free: 2.762 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.1302, allocations: 4 kB / 386.7 MB, free: 2.758 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1302, allocations: 4 kB / 386.7 MB, free: 2.754 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.1306, allocations: 199.4 kB / 386.9 MB, free: 2.543 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.1307, allocations: 96.98 kB / 387 MB, free: 2.43 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1307, allocations: 4 kB / 387 MB, free: 2.426 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.1309, allocations: 4 kB / 387 MB, free: 2.422 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.1309, allocations: 7.984 kB / 387 MB, free: 2.414 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.131, allocations: 4 kB / 387 MB, free: 2.41 MB / 282.8 MB Notification: Performance of sorting global known variables: time 9.636e-05/0.1311, allocations: 99.2 kB / 387.1 MB, free: 2.312 MB / 282.8 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1311, allocations: 0 / 387.1 MB, free: 2.312 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0005042/0.1316, allocations: 67.92 kB / 387.1 MB, free: 2.246 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.1326, allocations: 0.7986 MB / 387.9 MB, free: 1.418 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0002827/0.133, allocations: 83.91 kB / 388 MB, free: 1.336 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.133, allocations: 3.938 kB / 388 MB, free: 1.332 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 9.144e-05/0.1331, allocations: 35.98 kB / 388.1 MB, free: 1.297 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.1337, allocations: 44.22 kB / 388.1 MB, free: 1.254 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2492/0.3829, allocations: 1.433 MB / 389.5 MB, free: 20.92 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.3831, allocations: 0.7005 MB / 390.2 MB, free: 20.22 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.3833, allocations: 31.39 kB / 390.3 MB, free: 20.21 MB / 282.8 MB Notification: Performance of SimCode: time 1.473e-06/0.3833, allocations: 0 / 390.3 MB, free: 20.21 MB / 282.8 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 OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFunctions.cpp:88:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFunctions.cpp:88:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFunctions.cpp:88:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFunctions.cpp:218:19: error: expected ')' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFunctions.cpp:218:10: note: to match this '(' if (!(size(X) not implemented > 0)) ^ ./OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFunctions.cpp:218:16: error: use of undeclared identifier 'X' if (!(size(X) not implemented > 0)) ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolFMU.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 'OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Media_Incompressible_Examples_TestGlycolCalcHelperMain.o] Error 1