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.0009747/0.000975, allocations: 95.05 kB / 17.96 MB, free: 5.629 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.001185/0.001185, allocations: 176.6 kB / 18.86 MB, free: 4.777 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.926/1.926, allocations: 205.4 MB / 225 MB, free: 13.07 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.0006607/0.000661, allocations: 8.938 kB / 282 MB, free: 3.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1353, allocations: 47.59 MB / 329.6 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00327/0.1387, allocations: 1.392 MB / 331 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1404, allocations: 0.5154 MB / 331.5 MB, free: 1.848 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002629/0.1407, allocations: 3.938 kB / 331.5 MB, free: 1.844 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.1409, allocations: 11.92 kB / 331.5 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.1413, allocations: 11.88 kB / 331.5 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1416, allocations: 39.94 kB / 331.6 MB, free: 1.781 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.142, allocations: 95.64 kB / 331.7 MB, free: 1.688 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.1423, allocations: 37.09 kB / 331.7 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.1425, allocations: 35.8 kB / 331.7 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.1426, allocations: 31.78 kB / 331.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.05e-05/0.1427, allocations: 4 kB / 331.8 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.562e-05/0.1427, allocations: 4 kB / 331.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.1428, allocations: 19.91 kB / 331.8 MB, free: 1.559 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.143, allocations: 57.45 kB / 331.9 MB, free: 1.496 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.1432, allocations: 64.09 kB / 331.9 MB, free: 1.434 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1432, allocations: 4 kB / 331.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.661e-06/0.1432, allocations: 0 / 331.9 MB, free: 1.43 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1432, allocations: 3.938 kB / 331.9 MB, free: 1.426 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.001004/0.1442, allocations: 391.1 kB / 332.3 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.501e-05/0.1443, allocations: 12.03 kB / 332.3 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.829e-05/0.1444, allocations: 12.75 kB / 332.3 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.1448, allocations: 204.7 kB / 332.5 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.1449, allocations: 12.36 kB / 332.5 MB, free: 0.7227 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.1449, allocations: 16.06 kB / 332.6 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.1452, allocations: 73.67 kB / 332.6 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1452, allocations: 0 / 332.6 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.1453, allocations: 4 kB / 332.6 MB, free: 0.625 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1453, allocations: 3.984 kB / 332.6 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.1454, allocations: 43.98 kB / 332.7 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/0.1464, allocations: 415.9 kB / 333.1 MB, free: 112 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002286/0.1467, allocations: 58.59 kB / 333.1 MB, free: 44 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.672e-05/0.1468, allocations: 32.89 kB / 333.2 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.1468, allocations: 0 / 333.2 MB, free: 8 kB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.668e-05/0.1469, allocations: 42.5 kB / 333.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.532e-06/0.1469, allocations: 0 / 333.2 MB, free: 15.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004076/0.1473, allocations: 105.5 kB / 333.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/0.1475, allocations: 55.41 kB / 333.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.1476, allocations: 145.8 kB / 333.5 MB, free: 15.63 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1477, allocations: 25.7 kB / 333.5 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.1478, allocations: 108.1 kB / 333.6 MB, free: 15.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.1479, allocations: 19.72 kB / 333.7 MB, free: 15.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.1479, allocations: 17.7 kB / 333.7 MB, free: 15.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.1482, allocations: 318.8 kB / 334 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.1483, allocations: 23.98 kB / 334 MB, free: 15.1 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.1484, allocations: 23.92 kB / 334 MB, free: 15.08 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1485, allocations: 52.84 kB / 334.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1485, allocations: 0 / 334.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002422/0.1488, allocations: 101.7 kB / 334.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.1488, allocations: 13.97 kB / 334.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.1488, allocations: 0 / 334.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.1489, allocations: 0 / 334.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002769/0.1492, allocations: 35.97 kB / 334.2 MB, free: 14.87 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.1492, allocations: 7.938 kB / 334.2 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.1493, allocations: 3.938 kB / 334.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.1493, allocations: 7.938 kB / 334.3 MB, free: 14.85 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.0001717/0.1495, allocations: 117.8 kB / 334.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.1495, allocations: 15.84 kB / 334.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.1496, allocations: 12.3 kB / 334.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.1496, allocations: 4 kB / 334.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.1496, allocations: 0 / 334.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1496, allocations: 0 / 334.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/0.15, allocations: 201.5 kB / 334.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.15, allocations: 0 / 334.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.1502, allocations: 23.92 kB / 334.6 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.1502, allocations: 4 kB / 334.6 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.1503, allocations: 7.984 kB / 334.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1503, allocations: 0 / 334.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.1503, allocations: 0 / 334.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004696/0.1508, allocations: 211.3 kB / 334.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002137/0.151, allocations: 93.05 kB / 334.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.67e-05/0.151, allocations: 0 / 334.9 MB, free: 14.08 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.671e-05/0.1511, allocations: 4.312 kB / 334.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.1512, allocations: 3.984 kB / 334.9 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1512, allocations: 12 kB / 335 MB, free: 14.06 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1514, allocations: 108 kB / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1514, allocations: 0 / 335.1 MB, free: 13.95 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1516, allocations: 12 kB / 335.1 MB, free: 13.94 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.00033/0.152, allocations: 103.2 kB / 335.2 MB, free: 13.83 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.1522, allocations: 51.92 kB / 335.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.1522, allocations: 4 kB / 335.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.1523, allocations: 23.98 kB / 335.3 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.1528, allocations: 23.92 kB / 335.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1539, allocations: 345.2 kB / 335.6 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.1546, allocations: 0.7043 MB / 336.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.267e-05/0.1547, allocations: 15.42 kB / 336.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1547, allocations: 0 / 336.3 MB, free: 12.62 MB / 286.1 MB Notification: Performance of Templates: time 0.005089/0.1598, allocations: 1.168 MB / 337.5 MB, free: 11.45 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