Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.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 4.0.0+maint.om/package.mo", uses=false) 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 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(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 93.98 kB / 16.95 MB, free: 6.461 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.00145/0.00145, allocations: 180.2 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 223.2 MB / 241.8 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002756/0.0002757, allocations: 4 kB / 301.4 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1231, allocations: 50.42 MB / 351.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002059/0.1252, allocations: 1.368 MB / 353.2 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.126, allocations: 463.9 kB / 353.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.1261, allocations: 4 kB / 353.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.215e-05/0.1262, allocations: 7.938 kB / 353.7 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.1264, allocations: 15.86 kB / 353.7 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.1266, allocations: 39.94 kB / 353.7 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1268, allocations: 91.64 kB / 353.8 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1269, allocations: 24.97 kB / 353.9 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.031e-05/0.127, allocations: 35.78 kB / 353.9 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.1271, allocations: 39.84 kB / 353.9 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1271, allocations: 0 / 353.9 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.519e-05/0.1271, allocations: 7.938 kB / 353.9 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.1272, allocations: 7.984 kB / 353.9 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.1272, allocations: 41.64 kB / 354 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.1273, allocations: 60.11 kB / 354 MB, free: 1.832 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1273, allocations: 0 / 354 MB, free: 1.832 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1273, allocations: 0 / 354 MB, free: 1.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1274, allocations: 0 / 354 MB, free: 1.832 MB / 286.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.0005777/0.1279, allocations: 406.9 kB / 354.4 MB, free: 1.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.128, allocations: 8.031 kB / 354.4 MB, free: 1.379 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.128, allocations: 15.81 kB / 354.5 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.1283, allocations: 195.4 kB / 354.7 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1283, allocations: 8 kB / 354.7 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.1283, allocations: 4 kB / 354.7 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.1285, allocations: 85.59 kB / 354.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.1285, allocations: 0 / 354.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1286, allocations: 0 / 354.8 MB, free: 1.031 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1286, allocations: 7.953 kB / 354.8 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1287, allocations: 47.2 kB / 354.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006/0.1293, allocations: 412 kB / 355.2 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.1295, allocations: 62.59 kB / 355.3 MB, free: 456 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.129e-05/0.1295, allocations: 28.89 kB / 355.3 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.1296, allocations: 4 kB / 355.3 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1296, allocations: 38.5 kB / 355.3 MB, free: 372 kB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.1296, allocations: 0 / 355.3 MB, free: 372 kB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.00028/0.1299, allocations: 101.6 kB / 355.4 MB, free: 264 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.1299, allocations: 55.34 kB / 355.5 MB, free: 196 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.1301, allocations: 145.6 kB / 355.6 MB, free: 44 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1301, allocations: 29.7 kB / 355.7 MB, free: 8 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.653e-05/0.1302, allocations: 112.2 kB / 355.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1302, allocations: 19.8 kB / 355.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.1302, allocations: 0 / 355.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1303, allocations: 322.8 kB / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.844e-05/0.1304, allocations: 19.94 kB / 356.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.106e-05/0.1305, allocations: 27.98 kB / 356.2 MB, free: 15.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.1306, allocations: 35.91 kB / 356.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1306, allocations: 0 / 356.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001574/0.1307, allocations: 81.59 kB / 356.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1308, allocations: 8 kB / 356.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1308, allocations: 0 / 356.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1308, allocations: 0 / 356.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.131, allocations: 39.97 kB / 356.3 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.131, allocations: 7.984 kB / 356.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.232e-05/0.1311, allocations: 11.84 kB / 356.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1311, allocations: 4 kB / 356.3 MB, free: 15.31 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.37e-05/0.1312, allocations: 121.7 kB / 356.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.1312, allocations: 7.906 kB / 356.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.1313, allocations: 16.3 kB / 356.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1313, allocations: 0 / 356.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1313, allocations: 0 / 356.5 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1313, allocations: 4 kB / 356.5 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001994/0.1315, allocations: 197.8 kB / 356.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1315, allocations: 4 kB / 356.7 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1316, allocations: 19.98 kB / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.1317, allocations: 0 / 356.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1317, allocations: 8 kB / 356.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1317, allocations: 0 / 356.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1317, allocations: 0 / 356.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.132, allocations: 203.7 kB / 356.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.1321, allocations: 89 kB / 357 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1321, allocations: 11.92 kB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.007e-05/0.1322, allocations: 4 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1322, allocations: 3.938 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.1322, allocations: 4 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.1323, allocations: 113.4 kB / 357.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1323, allocations: 0 / 357.1 MB, free: 14.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.1325, allocations: 16 kB / 357.1 MB, free: 14.41 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.0001031/0.1326, allocations: 91.25 kB / 357.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.1328, allocations: 55.95 kB / 357.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1328, allocations: 0 / 357.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/0.1329, allocations: 31.92 kB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.1333, allocations: 15.98 kB / 357.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005979/0.1339, allocations: 329.3 kB / 357.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.1341, allocations: 0.7043 MB / 358.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.1342, allocations: 11.44 kB / 358.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1342, allocations: 0 / 358.4 MB, free: 13.11 MB / 302.1 MB Notification: Performance of Templates: time 0.002655/0.1369, allocations: 1.17 MB / 359.5 MB, free: 11.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.InverseModelCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Blocks.Examples.InverseModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Blocks.Examples.InverseModelCalcHelperMain.o] Error 1