Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 113.5 kB / 17.04 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 197.6 kB / 17.98 MB, free: 5.227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2028/0.2028, allocations: 43.52 MB / 314.7 MB, free: 488 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 65.47 kB / 442.4 MB, free: 5.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1213, allocations: 57.79 MB / 0.4885 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00161/0.123, allocations: 0.4979 MB / 0.489 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007654/0.1307, allocations: 5.055 MB / 0.4939 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.497e-05/0.1307, allocations: 0 / 0.4939 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.796e-05/0.1308, allocations: 0 / 0.4939 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.1308, allocations: 0 / 0.4939 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007441/0.1383, allocations: 2.999 MB / 0.4968 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.955e-05/0.1383, allocations: 15.92 kB / 0.4968 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1384, allocations: 0 / 0.4968 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.599e-05/0.1384, allocations: 0 / 0.4968 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.693e-05/0.1384, allocations: 0 / 0.4968 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.783e-06/0.1384, allocations: 0 / 0.4968 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02711/0.1655, allocations: 18.81 MB / 0.5152 GB, free: 436 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.374e-05/0.1656, allocations: 0 / 0.5152 GB, free: 436 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.1656, allocations: 0 / 0.5152 GB, free: 436 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2839/0.4495, allocations: 27.63 MB / 0.5422 GB, free: 20.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4496, allocations: 0 / 0.5422 GB, free: 20.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4496, allocations: 1.094 kB / 0.5422 GB, free: 20.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.4496, allocations: 0 / 0.5422 GB, free: 20.92 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.01635/0.4659, allocations: 0.665 MB / 0.5428 GB, free: 20.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.466, allocations: 13.77 kB / 0.5429 GB, free: 20.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.466, allocations: 4.359 kB / 0.5429 GB, free: 20.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.059e-05/0.4661, allocations: 165.5 kB / 0.543 GB, free: 20.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.4661, allocations: 0 / 0.543 GB, free: 20.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4661, allocations: 1.906 kB / 0.543 GB, free: 20.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.802e-05/0.4662, allocations: 32.41 kB / 0.543 GB, free: 20.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.4662, allocations: 1.312 kB / 0.543 GB, free: 20.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4663, allocations: 1.172 kB / 0.543 GB, free: 20.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4663, allocations: 0 / 0.543 GB, free: 20.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.4663, allocations: 7.25 kB / 0.5431 GB, free: 20.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.135e-05/0.4664, allocations: 150.7 kB / 0.5432 GB, free: 20 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.928e-05/0.4664, allocations: 16.2 kB / 0.5432 GB, free: 19.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.258e-05/0.4665, allocations: 9.297 kB / 0.5432 GB, free: 19.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.057e-06/0.4665, allocations: 1.062 kB / 0.5432 GB, free: 19.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.4665, allocations: 63.48 kB / 0.5433 GB, free: 19.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.4665, allocations: 0 / 0.5433 GB, free: 19.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.4667, allocations: 68.95 kB / 0.5434 GB, free: 19.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.4667, allocations: 78.33 kB / 0.5434 GB, free: 19.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.983e-05/0.4667, allocations: 89.86 kB / 0.5435 GB, free: 19.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.4667, allocations: 28.33 kB / 0.5435 GB, free: 19.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-06/0.4667, allocations: 86.73 kB / 0.5436 GB, free: 19.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.4668, allocations: 0 / 0.5436 GB, free: 19.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.206e-05/0.4668, allocations: 14.11 kB / 0.5436 GB, free: 19.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.287e-05/0.4669, allocations: 314.8 kB / 0.5439 GB, free: 19.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-06/0.4669, allocations: 1.094 kB / 0.5439 GB, free: 19.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.4669, allocations: 1.25 kB / 0.5439 GB, free: 19.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.412e-05/0.4669, allocations: 66.67 kB / 0.544 GB, free: 19.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4669, allocations: 7.688 kB / 0.544 GB, free: 19.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.202e-05/0.467, allocations: 56.72 kB / 0.5441 GB, free: 19.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.467, allocations: 33.08 kB / 0.5441 GB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.467, allocations: 0 / 0.5441 GB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.467, allocations: 5.156 kB / 0.5441 GB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-06/0.4671, allocations: 3.609 kB / 0.5441 GB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.4671, allocations: 3.172 kB / 0.5441 GB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.4671, allocations: 3 kB / 0.5441 GB, free: 19.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.4671, allocations: 6.5 kB / 0.5441 GB, free: 19.04 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.4672, allocations: 138.5 kB / 0.5442 GB, free: 18.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-06/0.4672, allocations: 1 kB / 0.5442 GB, free: 18.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.123e-05/0.4672, allocations: 5 kB / 0.5443 GB, free: 18.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.4672, allocations: 0 / 0.5443 GB, free: 18.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.4672, allocations: 0 / 0.5443 GB, free: 18.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.4672, allocations: 2.781 kB / 0.5443 GB, free: 18.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.26e-05/0.4673, allocations: 153.8 kB / 0.5444 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4673, allocations: 1.156 kB / 0.5444 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.4673, allocations: 0 / 0.5444 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.4673, allocations: 3.906 kB / 0.5444 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.4673, allocations: 1.656 kB / 0.5444 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.4673, allocations: 1 kB / 0.5444 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4673, allocations: 0 / 0.5444 GB, free: 18.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.773e-05/0.4674, allocations: 93.78 kB / 0.5445 GB, free: 18.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.617e-05/0.4674, allocations: 80.06 kB / 0.5446 GB, free: 18.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.4674, allocations: 1.594 kB / 0.5446 GB, free: 18.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.4674, allocations: 6.406 kB / 0.5446 GB, free: 18.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.4675, allocations: 1.125 kB / 0.5446 GB, free: 18.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.4675, allocations: 1.719 kB / 0.5446 GB, free: 18.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 1.283e-05/0.4675, allocations: 80.81 kB / 0.5447 GB, free: 18.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4675, allocations: 0 / 0.5447 GB, free: 18.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.02032/0.4878, allocations: 3.812 MB / 0.5484 GB, free: 18.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03938/0.5272, allocations: 1 MB / 0.5494 GB, free: 18.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.5274, allocations: 63.5 kB / 0.5494 GB, free: 18.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5274, allocations: 0 / 0.5494 GB, free: 18.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.5274, allocations: 54.53 kB / 0.5495 GB, free: 17.99 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.5276, allocations: 7.094 kB / 0.5495 GB, free: 17.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002024/0.5278, allocations: 125.2 kB / 0.5496 GB, free: 17.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.5279, allocations: 0.669 MB / 0.5503 GB, free: 17.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.291e-05/0.5279, allocations: 13.03 kB / 0.5503 GB, free: 17.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5279, allocations: 0 / 0.5503 GB, free: 17.15 MB / 414.1 MB Notification: Performance of Templates: time 0.1044/0.6324, allocations: 65.42 MB / 0.6142 GB, free: 3.801 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2Functions.cpp:4009:3: error: unknown type name 'scalarRetType' scalarRetType tmp525; ^ ./OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2Functions.cpp:5941:5: warning: expression result unused [-Wunused-value] tmp920; ^~~~~~ ./OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2Functions.cpp:5978:5: warning: expression result unused [-Wunused-value] tmp930; ^~~~~~ 2 warnings and 1 error generated. make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2CalcHelperMain.o] Error 1