Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.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.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder") translateModel(Modelica.Blocks.Examples.SinCosEncoder,tolerance=1e-05,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|integrator.y|der1.y|cosB.phi|cosBminus.phi|sinA.phi|sinAminus.phi",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 89.55 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002328/0.0002329, allocations: 4 kB / 307.3 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1523, allocations: 51.48 MB / 358.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SinCosEncoder): time 0.0028/0.1552, allocations: 1.845 MB / 360.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1566, allocations: 0.686 MB / 361.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1567, allocations: 7.938 kB / 361.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.1569, allocations: 31.72 kB / 361.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.1571, allocations: 47.69 kB / 361.4 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002535/0.1573, allocations: 71.86 kB / 361.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.1576, allocations: 203.8 kB / 361.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.1578, allocations: 85.84 kB / 361.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.158, allocations: 75.69 kB / 361.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.1582, allocations: 83.5 kB / 361.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1582, allocations: 4 kB / 361.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.458e-05/0.1583, allocations: 24 kB / 361.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.572e-05/0.1584, allocations: 39.83 kB / 362 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1585, allocations: 57.58 kB / 362 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1587, allocations: 167.8 kB / 362.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1587, allocations: 0 / 362.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1587, allocations: 0 / 362.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1588, allocations: 0 / 362.2 MB, free: 10.51 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007967/0.1596, allocations: 0.5144 MB / 362.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.1596, allocations: 8.031 kB / 362.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.1597, allocations: 35.56 kB / 362.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.16, allocations: 250.3 kB / 363 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.1601, allocations: 16.44 kB / 363 MB, free: 9.605 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.1601, allocations: 24 kB / 363 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000469/0.1606, allocations: 262.6 kB / 363.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.1607, allocations: 11.92 kB / 363.3 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.1607, allocations: 4 kB / 363.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.194e-05/0.1607, allocations: 16.42 kB / 363.3 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004322/0.1612, allocations: 201.6 kB / 363.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1623, allocations: 0.8264 MB / 364.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.1627, allocations: 188.6 kB / 364.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.1629, allocations: 113.2 kB / 364.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.916e-05/0.163, allocations: 85.28 kB / 364.7 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.163, allocations: 38.75 kB / 364.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.163, allocations: 0 / 364.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001442/0.1645, allocations: 0.7492 MB / 365.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1645, allocations: 55.41 kB / 365.6 MB, free: 6.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1648, allocations: 213 kB / 365.8 MB, free: 6.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1648, allocations: 29.7 kB / 365.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1649, allocations: 152.4 kB / 365.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.248e-05/0.165, allocations: 86.8 kB / 366 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.332e-05/0.165, allocations: 4 kB / 366 MB, free: 6.379 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1652, allocations: 338.8 kB / 366.4 MB, free: 6.039 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.1654, allocations: 79.95 kB / 366.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.1656, allocations: 135.4 kB / 366.6 MB, free: 5.816 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.1658, allocations: 94.97 kB / 366.7 MB, free: 5.727 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.1658, allocations: 4 kB / 366.7 MB, free: 5.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005318/0.1663, allocations: 289.1 kB / 367 MB, free: 5.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1664, allocations: 8 kB / 367 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1664, allocations: 0 / 367 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1664, allocations: 0 / 367 MB, free: 5.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.1667, allocations: 67.95 kB / 367 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1667, allocations: 7.938 kB / 367 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001211/0.1668, allocations: 15.98 kB / 367.1 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.1669, allocations: 15.98 kB / 367.1 MB, free: 5.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000138/0.167, allocations: 141.7 kB / 367.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.1671, allocations: 27.66 kB / 367.2 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005862/0.1677, allocations: 303.1 kB / 367.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.86e-06/0.1677, allocations: 4 kB / 367.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1677, allocations: 0 / 367.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1677, allocations: 0 / 367.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.1688, allocations: 0.7 MB / 368.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1688, allocations: 0 / 368.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.1691, allocations: 59.94 kB / 368.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1691, allocations: 0 / 368.3 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.1691, allocations: 12.06 kB / 368.3 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.1691, allocations: 0 / 368.3 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1691, allocations: 3.953 kB / 368.3 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/0.17, allocations: 0.5008 MB / 368.8 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1701, allocations: 116.9 kB / 368.9 MB, free: 3.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.1702, allocations: 8 kB / 368.9 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.1703, allocations: 11.98 kB / 368.9 MB, free: 3.332 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.1704, allocations: 27.92 kB / 369 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.1704, allocations: 4 kB / 369 MB, free: 3.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1706, allocations: 160.5 kB / 369.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1706, allocations: 0 / 369.1 MB, free: 3.145 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003458/0.1709, allocations: 48 kB / 369.2 MB, free: 3.098 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (cosB.phi,cosBminus.phi,sinA.phi,sinAminus.phi,der1.u) * 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 (28): * Single equations (assignments): 28 * 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.0002028/0.1712, allocations: 103.2 kB / 369.3 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005357/0.1717, allocations: 227.8 kB / 369.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1717, allocations: 0 / 369.5 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.1719, allocations: 123.8 kB / 369.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1723, allocations: 28.61 kB / 369.6 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.1736, allocations: 0.8534 MB / 370.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.1741, allocations: 0.7603 MB / 371.3 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.032e-05/0.1742, allocations: 27.42 kB / 371.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1742, allocations: 0 / 371.3 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of Templates: time 0.2349/0.4092, allocations: 2.803 MB / 374.1 MB, free: 19.3 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.SinCosEncoder.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.SinCosEncoderCalcHelperMain.o OMCppModelica_trunk_Modelica.Blocks.Examples.SinCosEncoderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Blocks.Examples.SinCosEncoderCalcHelperMain.o] Error 1