Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|firstOrder1.y|firstOrder2.y",fileNamePrefix="Modelica_3.2.3_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.0015/0.001499, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.00171/0.001709, allocations: 194 kB / 18.72 MB, free: 4.762 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.795/1.795, allocations: 205.1 MB / 224.6 MB, free: 12.46 MB / 190.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.001591/0.001592, allocations: 51.92 kB / 280.6 MB, free: 3.609 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1407, allocations: 46.64 MB / 327.2 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00418/0.1449, allocations: 1.723 MB / 329 MB, free: 3.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001221/0.1462, allocations: 0.5231 MB / 329.5 MB, free: 2.629 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1463, allocations: 0 / 329.5 MB, free: 2.629 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.1465, allocations: 15.86 kB / 329.5 MB, free: 2.613 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.1468, allocations: 15.88 kB / 329.5 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.147, allocations: 43.94 kB / 329.6 MB, free: 2.555 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.1472, allocations: 95.7 kB / 329.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.1474, allocations: 25.09 kB / 329.7 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.1475, allocations: 39.8 kB / 329.7 MB, free: 2.398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1476, allocations: 39.78 kB / 329.8 MB, free: 2.359 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1477, allocations: 8 kB / 329.8 MB, free: 2.352 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.168e-05/0.1477, allocations: 4 kB / 329.8 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1478, allocations: 19.91 kB / 329.8 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.652e-05/0.1479, allocations: 43.73 kB / 329.8 MB, free: 2.285 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1481, allocations: 60.12 kB / 329.9 MB, free: 2.227 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1481, allocations: 4 kB / 329.9 MB, free: 2.223 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1481, allocations: 0 / 329.9 MB, free: 2.223 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1481, allocations: 0 / 329.9 MB, free: 2.223 MB / 270.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.0007228/0.1488, allocations: 414.9 kB / 330.3 MB, free: 1.77 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1489, allocations: 8.031 kB / 330.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.1489, allocations: 20.73 kB / 330.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1492, allocations: 192.8 kB / 330.5 MB, free: 1.516 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1492, allocations: 8.375 kB / 330.5 MB, free: 1.508 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.1493, allocations: 8.125 kB / 330.5 MB, free: 1.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.1495, allocations: 81.55 kB / 330.6 MB, free: 1.414 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1495, allocations: 3.984 kB / 330.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1495, allocations: 4 kB / 330.6 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.1496, allocations: 8 kB / 330.6 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.1497, allocations: 31.98 kB / 330.7 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.1504, allocations: 415.8 kB / 331.1 MB, free: 0.8984 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1506, allocations: 70.59 kB / 331.1 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.498e-05/0.1506, allocations: 28.89 kB / 331.2 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.1507, allocations: 0 / 331.2 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.1507, allocations: 30.56 kB / 331.2 MB, free: 0.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1507, allocations: 4 kB / 331.2 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003252/0.151, allocations: 97.45 kB / 331.3 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.1511, allocations: 59.39 kB / 331.4 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1512, allocations: 145.8 kB / 331.5 MB, free: 432 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1513, allocations: 25.7 kB / 331.5 MB, free: 400 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.447e-05/0.1514, allocations: 108.1 kB / 331.6 MB, free: 288 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.1514, allocations: 19.72 kB / 331.6 MB, free: 268 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.282e-05/0.1515, allocations: 21.7 kB / 331.7 MB, free: 240 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1516, allocations: 322.8 kB / 332 MB, free: 15.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.1517, allocations: 16 kB / 332 MB, free: 15.89 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.388e-05/0.1518, allocations: 23.98 kB / 332 MB, free: 15.87 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001201/0.1519, allocations: 48.78 kB / 332.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1519, allocations: 0 / 332.1 MB, free: 15.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001859/0.1521, allocations: 93.52 kB / 332.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1521, allocations: 4 kB / 332.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.1521, allocations: 0 / 332.2 MB, free: 15.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1522, allocations: 3.938 kB / 332.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.1524, allocations: 35.97 kB / 332.2 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1524, allocations: 8 kB / 332.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.1525, allocations: 3.938 kB / 332.2 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1525, allocations: 8 kB / 332.2 MB, free: 15.66 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.1526, allocations: 121.8 kB / 332.3 MB, free: 15.53 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1527, allocations: 11.84 kB / 332.4 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.1527, allocations: 8.312 kB / 332.4 MB, free: 15.51 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1527, allocations: 4 kB / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1527, allocations: 0 / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1527, allocations: 4 kB / 332.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.153, allocations: 197.6 kB / 332.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.153, allocations: 0 / 332.6 MB, free: 15.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001562/0.1531, allocations: 27.91 kB / 332.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1532, allocations: 0 / 332.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1532, allocations: 0 / 332.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1532, allocations: 3.938 kB / 332.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1532, allocations: 0 / 332.6 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/0.1536, allocations: 211.6 kB / 332.8 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.1537, allocations: 88.98 kB / 332.9 MB, free: 14.9 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1537, allocations: 3.938 kB / 332.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.1538, allocations: 8 kB / 332.9 MB, free: 14.89 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.1539, allocations: 3.984 kB / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1539, allocations: 4 kB / 332.9 MB, free: 14.88 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001271/0.154, allocations: 108 kB / 333 MB, free: 14.77 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.154, allocations: 0 / 333 MB, free: 14.77 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002464/0.1543, allocations: 12 kB / 333 MB, free: 14.76 MB / 286.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 (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.0001489/0.1544, allocations: 103.2 kB / 333.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.1546, allocations: 43.98 kB / 333.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1547, allocations: 0 / 333.2 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.1547, allocations: 27.92 kB / 333.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.1552, allocations: 19.92 kB / 333.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.1561, allocations: 324.8 kB / 333.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1566, allocations: 0.7043 MB / 334.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.1566, allocations: 15.42 kB / 334.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1566, allocations: 0 / 334.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of Templates: time 0.003683/0.1603, allocations: 1.183 MB / 335.4 MB, free: 12.29 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.InverseModel.makefile clang++ -std=c++14 NOTFOUND -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 OMCppModelica_3.2.3_Modelica.Blocks.Examples.InverseModelCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Blocks.Examples.InverseModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Blocks.Examples.InverseModelCalcHelperMain.o] Error 1