Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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/Modelica 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/HanserModelica 2.0.0/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") translateModel(HanserModelica.VariablesTypes.VectorsMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008735/0.0008737, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 239.7 MB, free: 5.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 188.5 kB / 290.9 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0/package.mo): time 0.03333/0.03333, allocations: 8.781 MB / 350.8 MB, free: 4.746 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003882, allocations: 10.78 kB / 413.8 MB, free: 43.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1223, allocations: 52.55 MB / 466.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.0007082/0.1231, allocations: 234.2 kB / 466.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1246, allocations: 1.063 MB / 467.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.1247, allocations: 0 / 467.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.125, allocations: 19.92 kB / 467.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.1251, allocations: 19.97 kB / 467.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.38e-06/0.1251, allocations: 0 / 467.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.895e-05/0.1252, allocations: 15.92 kB / 467.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.069e-05/0.1253, allocations: 4 kB / 467.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1254, allocations: 27.91 kB / 467.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.1256, allocations: 27.91 kB / 467.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1256, allocations: 0 / 467.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.645e-05/0.1256, allocations: 0 / 467.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001484/0.1258, allocations: 71.73 kB / 467.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.1258, allocations: 45.62 kB / 467.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.741e-05/0.1259, allocations: 27.97 kB / 467.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1259, allocations: 0 / 467.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1259, allocations: 4 kB / 467.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1259, allocations: 0 / 467.9 MB, free: 12.04 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006325/0.1266, allocations: 395 kB / 468.3 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.1266, allocations: 11.97 kB / 468.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.1267, allocations: 91.05 kB / 468.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003413/0.1271, allocations: 283.1 kB / 468.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-05/0.1272, allocations: 150.6 kB / 468.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.943e-05/0.1273, allocations: 150.6 kB / 469 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.033e-05/0.1273, allocations: 101 kB / 469.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.1274, allocations: 79.27 kB / 469.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.1275, allocations: 150.6 kB / 469.3 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.345e-05/0.1275, allocations: 154.6 kB / 469.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1277, allocations: 162.5 kB / 469.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.1281, allocations: 481.9 kB / 470.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1282, allocations: 169.1 kB / 470.2 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.627e-05/0.1283, allocations: 84.14 kB / 470.3 MB, free: 9.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.1283, allocations: 75.28 kB / 470.4 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.379e-05/0.1284, allocations: 105.8 kB / 470.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 4.619e-06/0.1284, allocations: 0 / 470.5 MB, free: 9.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001216/0.1285, allocations: 49.44 kB / 470.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.1287, allocations: 126.7 kB / 470.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.129, allocations: 239.7 kB / 470.9 MB, free: 8.836 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.129, allocations: 25.7 kB / 470.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.1291, allocations: 116.1 kB / 471 MB, free: 8.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.1291, allocations: 4 kB / 471 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.1291, allocations: 0 / 471 MB, free: 8.684 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.1293, allocations: 322.8 kB / 471.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.538e-06/0.1293, allocations: 0 / 471.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.267e-06/0.1293, allocations: 0 / 471.4 MB, free: 8.359 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.1293, allocations: 75.28 kB / 471.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.048e-05/0.1294, allocations: 79.28 kB / 471.5 MB, free: 8.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 8.569e-05/0.1295, allocations: 53.61 kB / 471.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.1295, allocations: 87.22 kB / 471.6 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.482e-05/0.1296, allocations: 83.33 kB / 471.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.853e-05/0.1296, allocations: 154.5 kB / 471.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.135e-05/0.1297, allocations: 75.28 kB / 472 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001308/0.1298, allocations: 154.6 kB / 472.1 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.1299, allocations: 83.22 kB / 472.2 MB, free: 7.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.13, allocations: 87.16 kB / 472.3 MB, free: 7.434 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0002057/0.1302, allocations: 284.4 kB / 472.5 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-05/0.1303, allocations: 120.7 kB / 472.7 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.1303, allocations: 121.5 kB / 472.8 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.026e-05/0.1304, allocations: 180.3 kB / 473 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001223/0.1306, allocations: 180.2 kB / 473.1 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-05/0.1306, allocations: 184.2 kB / 473.3 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.1309, allocations: 441.1 kB / 473.7 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-05/0.131, allocations: 101 kB / 473.8 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.131, allocations: 105 kB / 473.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.733e-05/0.1311, allocations: 188.2 kB / 474.1 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-05/0.1312, allocations: 176.3 kB / 474.3 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.384e-05/0.1313, allocations: 188.2 kB / 474.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.107e-05/0.1314, allocations: 176.3 kB / 474.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1316, allocations: 323.5 kB / 475 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.1317, allocations: 194 kB / 475.2 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.1318, allocations: 180.2 kB / 475.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1319, allocations: 105 kB / 475.4 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.132, allocations: 184.2 kB / 475.6 MB, free: 3.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.1321, allocations: 105 kB / 475.7 MB, free: 3.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001589/0.1322, allocations: 172.2 kB / 475.9 MB, free: 3.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1322, allocations: 4 kB / 475.9 MB, free: 3.582 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1325, allocations: 0 / 475.9 MB, free: 3.582 MB / 302.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001738/0.1327, allocations: 171.1 kB / 476.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.019e-05/0.1327, allocations: 0 / 476.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1327, allocations: 0 / 476.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.563e-06/0.1328, allocations: 7.938 kB / 476.1 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005485/0.1333, allocations: 0.5242 MB / 476.6 MB, free: 2.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004454/0.1338, allocations: 348.4 kB / 476.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.1341, allocations: 0.7121 MB / 477.6 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.1342, allocations: 7.438 kB / 477.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1342, allocations: 0 / 477.7 MB, free: 1.742 MB / 302.1 MB Notification: Performance of Templates: time 0.002169/0.1363, allocations: 0.7423 MB / 478.4 MB, free: 1 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile make -j1 -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.makefile clang++ NOTFOUND -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 OMCppHanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2CalcHelperMain.o OMCppHanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2CalcHelperMain.o] Error 1