Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000854/0.0008541, allocations: 92.88 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008986/0.0008987, allocations: 198.1 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002559, allocations: 4 kB / 307.3 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1253, allocations: 51.49 MB / 358.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001968/0.1273, allocations: 1.377 MB / 360.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009077/0.1282, allocations: 0.5069 MB / 360.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.1283, allocations: 7.938 kB / 360.7 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.569e-05/0.1284, allocations: 3.938 kB / 360.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001999/0.1286, allocations: 23.84 kB / 360.7 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.1288, allocations: 35.95 kB / 360.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.129, allocations: 87.7 kB / 360.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1291, allocations: 37.06 kB / 360.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.1293, allocations: 35.86 kB / 360.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.057e-05/0.1294, allocations: 31.78 kB / 360.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.1294, allocations: 4 kB / 360.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.1294, allocations: 7.984 kB / 360.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.657e-05/0.1295, allocations: 15.92 kB / 360.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.1295, allocations: 37.64 kB / 361 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.1296, allocations: 56.17 kB / 361 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1297, allocations: 4 kB / 361 MB, free: 11.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1297, allocations: 4 kB / 361 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1297, allocations: 0 / 361 MB, free: 11.64 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005593/0.1302, allocations: 398.8 kB / 361.4 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1303, allocations: 12.03 kB / 361.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.1305, allocations: 27.8 kB / 361.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.1307, allocations: 203 kB / 361.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.1307, allocations: 4 kB / 361.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.1308, allocations: 11.95 kB / 361.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.131, allocations: 85.59 kB / 361.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.567e-06/0.131, allocations: 0 / 361.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.131, allocations: 0 / 361.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.131, allocations: 0 / 361.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.1311, allocations: 51.97 kB / 361.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.1317, allocations: 408 kB / 362.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1319, allocations: 58.59 kB / 362.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.132, allocations: 32.89 kB / 362.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.132, allocations: 0 / 362.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.132, allocations: 34.56 kB / 362.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.132, allocations: 0 / 362.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002886/0.1323, allocations: 109.5 kB / 362.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.1324, allocations: 55.36 kB / 362.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.1325, allocations: 146.3 kB / 362.6 MB, free: 9.84 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1325, allocations: 29.7 kB / 362.7 MB, free: 9.805 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.1326, allocations: 116.2 kB / 362.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1326, allocations: 11.8 kB / 362.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.1326, allocations: 4 kB / 362.8 MB, free: 9.672 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1328, allocations: 322.8 kB / 363.1 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.544e-05/0.1328, allocations: 20 kB / 363.1 MB, free: 9.328 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.054e-05/0.1329, allocations: 19.98 kB / 363.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.941e-05/0.133, allocations: 27.98 kB / 363.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.133, allocations: 0 / 363.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001626/0.1332, allocations: 93.52 kB / 363.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1332, allocations: 8 kB / 363.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1332, allocations: 0 / 363.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1332, allocations: 0 / 363.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1334, allocations: 39.97 kB / 363.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1334, allocations: 4.219 kB / 363.3 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.1335, allocations: 12.11 kB / 363.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1335, allocations: 4 kB / 363.3 MB, free: 9.117 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 (7): * Single equations (assignments): 7 * 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.636e-05/0.1336, allocations: 125.8 kB / 363.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.1337, allocations: 7.906 kB / 363.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.1337, allocations: 20.23 kB / 363.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1337, allocations: 0 / 363.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1337, allocations: 0 / 363.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1337, allocations: 0 / 363.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1339, allocations: 201.6 kB / 363.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1339, allocations: 0 / 363.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.1341, allocations: 27.92 kB / 363.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1341, allocations: 0 / 363.7 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1341, allocations: 4 kB / 363.7 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1341, allocations: 3.984 kB / 363.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1341, allocations: 0 / 363.7 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.1344, allocations: 211.4 kB / 363.9 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1345, allocations: 81.02 kB / 364 MB, free: 8.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.1345, allocations: 8.078 kB / 364 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.419e-05/0.1346, allocations: 4 kB / 364 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.1346, allocations: 8 kB / 364 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1346, allocations: 0 / 364 MB, free: 8.336 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.362e-05/0.1347, allocations: 110.8 kB / 364.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.1347, allocations: 0 / 364.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002231/0.135, allocations: 15.94 kB / 364.2 MB, free: 8.215 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * 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 (5): * Single equations (assignments): 5 * 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.0001009/0.1351, allocations: 95.25 kB / 364.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001599/0.1352, allocations: 59.91 kB / 364.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1352, allocations: 0 / 364.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.1353, allocations: 27.92 kB / 364.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1357, allocations: 30.34 kB / 364.4 MB, free: 8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.1362, allocations: 319.1 kB / 364.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.1365, allocations: 0.7054 MB / 365.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1366, allocations: 19.42 kB / 365.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1366, allocations: 0 / 365.4 MB, free: 6.902 MB / 302.1 MB Notification: Performance of Templates: time 0.003173/0.1398, allocations: 1.17 MB / 366.6 MB, free: 5.73 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.InverseModel.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 OMCppModelica_trunk_Modelica.Blocks.Examples.InverseModelCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.InverseModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.InverseModelCalcHelperMain.o] Error 1