Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 92.98 kB / 16.67 MB, free: 6.109 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.001327/0.001327, allocations: 178.5 kB / 17.57 MB, free: 5.824 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.981/1.981, allocations: 205.4 MB / 223.8 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2873/0.2873, allocations: 43.59 MB / 315.6 MB, free: 424 kB / 254.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.000673/0.0006733, allocations: 18.36 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1622, allocations: 58.87 MB / 444.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002508/0.1648, allocations: 1.398 MB / 445.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1663, allocations: 0.6245 MB / 446.1 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000216/0.1665, allocations: 7.938 kB / 446.1 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.637e-05/0.1666, allocations: 7.938 kB / 446.1 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.1668, allocations: 11.86 kB / 446.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000572/0.1673, allocations: 135.1 kB / 446.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.1676, allocations: 147.6 kB / 446.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1678, allocations: 29.09 kB / 446.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.168, allocations: 67.75 kB / 446.5 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1682, allocations: 55.69 kB / 446.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.1682, allocations: 8 kB / 446.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-05/0.1682, allocations: 8 kB / 446.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.1683, allocations: 23.91 kB / 446.6 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.1684, allocations: 81.34 kB / 446.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.1685, allocations: 83.81 kB / 446.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1685, allocations: 0 / 446.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1685, allocations: 0 / 446.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.467e-06/0.1685, allocations: 0 / 446.8 MB, free: 2.484 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007597/0.1693, allocations: 447 kB / 447.2 MB, free: 2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.1694, allocations: 16.03 kB / 447.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.1695, allocations: 16.75 kB / 447.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002851/0.1697, allocations: 224.9 kB / 447.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1698, allocations: 384 / 447.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.1698, allocations: 12.38 kB / 447.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.1703, allocations: 204.3 kB / 447.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.1703, allocations: 0 / 447.7 MB, free: 1.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.1703, allocations: 4 kB / 447.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1704, allocations: 0 / 447.7 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004319/0.1708, allocations: 155.9 kB / 447.8 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.1717, allocations: 484.2 kB / 448.3 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/0.1724, allocations: 242.4 kB / 448.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1726, allocations: 96.83 kB / 448.6 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.1727, allocations: 4 kB / 448.6 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.1727, allocations: 30.56 kB / 448.7 MB, free: 428 kB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.1727, allocations: 3.938 kB / 448.7 MB, free: 424 kB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001791/0.1745, allocations: 0.6658 MB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.628e-05/0.1746, allocations: 106.8 kB / 449.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1748, allocations: 171.6 kB / 449.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.1749, allocations: 25.7 kB / 449.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.175, allocations: 112 kB / 449.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.175, allocations: 27.56 kB / 449.8 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.384e-05/0.1751, allocations: 17.72 kB / 449.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.1753, allocations: 330.8 kB / 450.1 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.1756, allocations: 83.94 kB / 450.2 MB, free: 14.78 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.1759, allocations: 110.5 kB / 450.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005022/0.1764, allocations: 180.7 kB / 450.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1764, allocations: 0 / 450.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006296/0.1771, allocations: 225.7 kB / 450.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.1772, allocations: 101 kB / 450.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1772, allocations: 0 / 450.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.1772, allocations: 0 / 450.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1774, allocations: 51.95 kB / 450.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.1775, allocations: 0 / 450.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.1776, allocations: 31.97 kB / 450.9 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.1777, allocations: 8 kB / 450.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.1777, allocations: 1.875 kB / 450.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002551/0.1779, allocations: 99.89 kB / 451 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-06/0.1779, allocations: 0 / 451 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.178, allocations: 0 / 451 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/0.1781, allocations: 23.98 kB / 451 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1781, allocations: 8.484 kB / 451 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.717e-05/0.1782, allocations: 19.98 kB / 451 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1782, allocations: 3.938 kB / 451 MB, free: 13.91 MB / 334.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 (10): * Single equations (assignments): 10 * 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.1784, allocations: 201.1 kB / 451.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.1784, allocations: 11.81 kB / 451.2 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.453e-05/0.1785, allocations: 21.38 kB / 451.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1785, allocations: 8 kB / 451.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.1785, allocations: 0 / 451.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1786, allocations: 3.938 kB / 451.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/0.1797, allocations: 0.5499 MB / 451.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1797, allocations: 0 / 451.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.1799, allocations: 48 kB / 451.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1799, allocations: 3.938 kB / 451.9 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.1799, allocations: 7.984 kB / 451.9 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.18, allocations: 4 kB / 451.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.18, allocations: 0 / 451.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.181, allocations: 416.2 kB / 452.3 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/0.1811, allocations: 89.03 kB / 452.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.714e-05/0.1812, allocations: 15.88 kB / 452.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.1816, allocations: 52.02 kB / 452.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/0.1817, allocations: 7.938 kB / 452.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.1817, allocations: 7.984 kB / 452.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1818, allocations: 123.2 kB / 452.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1818, allocations: 0 / 452.6 MB, free: 12.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000333/0.1822, allocations: 36 kB / 452.6 MB, free: 12.21 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.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 (9): * Single equations (assignments): 9 * 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.0001715/0.1824, allocations: 99.17 kB / 452.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.1831, allocations: 239.8 kB / 452.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.1832, allocations: 0 / 452.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.1834, allocations: 103.9 kB / 453.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1839, allocations: 27.98 kB / 453.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009223/0.1849, allocations: 385.9 kB / 453.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.1853, allocations: 0.7127 MB / 454.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.1853, allocations: 15.44 kB / 454.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1853, allocations: 4 kB / 454.2 MB, free: 10.58 MB / 334.1 MB Notification: Performance of Templates: time 0.005056/0.1904, allocations: 1.869 MB / 456.1 MB, free: 8.723 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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 OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.LimitersCalcHelperMain.o] Error 1