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: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.002157, allocations: 182.1 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, 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.001775/0.001774, allocations: 91.34 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004145/0.0004146, allocations: 8 kB / 326.9 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007323/0.3397, allocations: 4.552 MB / 379.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.3408, allocations: 0.5268 MB / 379.6 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.999e-05/0.3409, allocations: 0 / 379.6 MB, free: 41.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002453/0.3412, allocations: 23.45 kB / 379.6 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.3429, allocations: 0.4986 MB / 380.1 MB, free: 41.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.3433, allocations: 83.38 kB / 380.2 MB, free: 41.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3436, allocations: 111.4 kB / 380.3 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.176e-05/0.3437, allocations: 8.047 kB / 380.3 MB, free: 40.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.3455, allocations: 0.6405 MB / 381 MB, free: 40.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.3457, allocations: 39.14 kB / 381 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3457, allocations: 3.719 kB / 381 MB, free: 40.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.3482, allocations: 0.8727 MB / 381.9 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.455e-05/0.3483, allocations: 21.23 kB / 381.9 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.18e-05/0.3484, allocations: 40.48 kB / 381.9 MB, free: 40.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.3489, allocations: 171.5 kB / 382.1 MB, free: 40.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.349, allocations: 0 / 382.1 MB, free: 40.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.349, allocations: 3.938 kB / 382.1 MB, free: 40.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.349, allocations: 1.188 kB / 382.1 MB, free: 40.19 MB / 298.7 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.0004699/0.3495, allocations: 401.7 kB / 382.5 MB, free: 39.78 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3495, allocations: 10.06 kB / 382.5 MB, free: 39.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005063/0.35, allocations: 39.03 kB / 382.5 MB, free: 39.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.3502, allocations: 199.9 kB / 382.7 MB, free: 39.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3503, allocations: 6.406 kB / 382.7 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3503, allocations: 5.5 kB / 382.7 MB, free: 39.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.3506, allocations: 136.5 kB / 382.9 MB, free: 39.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3507, allocations: 3.938 kB / 382.9 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.3507, allocations: 5.75 kB / 382.9 MB, free: 39.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.3507, allocations: 10.17 kB / 382.9 MB, free: 39.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.351, allocations: 104 kB / 383 MB, free: 39.36 MB / 298.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.0007921/0.3518, allocations: 0.6655 MB / 383.7 MB, free: 38.67 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.352, allocations: 89.59 kB / 383.8 MB, free: 38.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.3526, allocations: 0.8144 MB / 384.6 MB, free: 37.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.3527, allocations: 35.81 kB / 384.6 MB, free: 37.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.594e-06/0.3527, allocations: 1.406 kB / 384.6 MB, free: 37.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003929/0.3531, allocations: 117.8 kB / 384.7 MB, free: 37.53 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.3531, allocations: 52.91 kB / 384.8 MB, free: 37.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.3532, allocations: 115.6 kB / 384.9 MB, free: 37.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3533, allocations: 34.08 kB / 384.9 MB, free: 37.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.3533, allocations: 172.9 kB / 385.1 MB, free: 37.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.3534, allocations: 45.27 kB / 385.1 MB, free: 37.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.3534, allocations: 4 kB / 385.1 MB, free: 37.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.536e-05/0.3535, allocations: 321.5 kB / 385.5 MB, free: 36.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.3535, allocations: 29.61 kB / 385.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.737e-05/0.3537, allocations: 68.73 kB / 385.5 MB, free: 36.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.3538, allocations: 42.11 kB / 385.6 MB, free: 36.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3538, allocations: 1.156 kB / 385.6 MB, free: 36.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003/0.3541, allocations: 136.6 kB / 385.7 MB, free: 36.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3541, allocations: 9.594 kB / 385.7 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.3541, allocations: 2.219 kB / 385.7 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3542, allocations: 2.062 kB / 385.7 MB, free: 36.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3544, allocations: 33.36 kB / 385.8 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3544, allocations: 2.25 kB / 385.8 MB, free: 36.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.3545, allocations: 15.91 kB / 385.8 MB, free: 36.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.3546, allocations: 6.312 kB / 385.8 MB, free: 36.58 MB / 298.7 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 9.254e-05/0.3547, allocations: 123.6 kB / 385.9 MB, free: 36.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.3548, allocations: 9.234 kB / 385.9 MB, free: 36.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004372/0.3552, allocations: 147.6 kB / 386.1 MB, free: 36.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3552, allocations: 1.969 kB / 386.1 MB, free: 36.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3552, allocations: 0 / 386.1 MB, free: 36.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3553, allocations: 1.094 kB / 386.1 MB, free: 36.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.3558, allocations: 394.1 kB / 386.5 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3558, allocations: 5.312 kB / 386.5 MB, free: 35.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.356, allocations: 25.17 kB / 386.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.356, allocations: 1.094 kB / 386.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.356, allocations: 6.234 kB / 386.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.3561, allocations: 0 / 386.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3561, allocations: 1.062 kB / 386.5 MB, free: 35.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.3563, allocations: 206.8 kB / 386.7 MB, free: 35.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/0.3564, allocations: 106.4 kB / 386.8 MB, free: 35.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3565, allocations: 5.062 kB / 386.8 MB, free: 35.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.3566, allocations: 5.375 kB / 386.8 MB, free: 35.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.3567, allocations: 8.641 kB / 386.8 MB, free: 35.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.3567, allocations: 8.781 kB / 386.8 MB, free: 35.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.381e-05/0.3568, allocations: 91.17 kB / 386.9 MB, free: 35.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3568, allocations: 0 / 386.9 MB, free: 35.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004943/0.3573, allocations: 63.61 kB / 387 MB, free: 35.55 MB / 298.7 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.0004059/0.3577, allocations: 166.5 kB / 387.1 MB, free: 35.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.358, allocations: 81.78 kB / 387.2 MB, free: 35.4 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.358, allocations: 0 / 387.2 MB, free: 35.4 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.3581, allocations: 44.81 kB / 387.3 MB, free: 35.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.3587, allocations: 39.48 kB / 387.3 MB, free: 35.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005377/0.3592, allocations: 327.2 kB / 387.6 MB, free: 35.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.3594, allocations: 0.7019 MB / 388.3 MB, free: 34.38 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3595, allocations: 22.56 kB / 388.3 MB, free: 34.37 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3595, allocations: 3.938 kB / 388.3 MB, free: 34.36 MB / 298.7 MB Notification: Performance of Templates: time 0.6476/1.007, allocations: 2.292 MB / 390.6 MB, free: 32.11 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycol.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -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\nIn file included from OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.cpp:28:\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:19: error: expected \')\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:10: note: to match this \'(\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:88:16: error: use of undeclared identifier \'X\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:19: error: expected \')\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:10: note: to match this \'(\'\n if (!(size(X) not implemented > 0))\n ^\n./OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolFunctions.cpp:218:16: error: use of undeclared identifier \'X\'\n if (!(size(X) not implemented > 0))\n ^\n4 errors generated.\n: recipe for target \'OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o\' failed\nmake: *** [OMCppModelica_3.2.3_cpp_Modelica.Media.Incompressible.Examples.TestGlycolCalcHelperMain.o] Error 1\n'