Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 96.17 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001921/0.001921, allocations: 198.7 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.49/1.49, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2511/0.2511, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1514, allocations: 63.46 MB / 482.1 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004142/0.1556, allocations: 3.666 MB / 485.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1581, allocations: 1.508 MB / 487.3 MB, free: 224 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.1584, allocations: 31.81 kB / 487.3 MB, free: 192 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.1587, allocations: 110.9 kB / 487.4 MB, free: 80 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.159, allocations: 123 kB / 487.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009595/0.16, allocations: 449.5 kB / 488 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009073/0.1609, allocations: 0.8828 MB / 488.9 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.1614, allocations: 302.5 kB / 489.2 MB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.1617, allocations: 258.4 kB / 489.4 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.162, allocations: 290 kB / 489.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.1621, allocations: 20 kB / 489.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.728e-05/0.1622, allocations: 20 kB / 489.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1623, allocations: 119.3 kB / 489.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000134/0.1624, allocations: 165.1 kB / 490 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006608/0.1631, allocations: 0.6978 MB / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1631, allocations: 0 / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1631, allocations: 0 / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.1632, allocations: 0 / 490.7 MB, free: 12.77 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001854/0.165, allocations: 1.156 MB / 491.9 MB, free: 11.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1651, allocations: 8.031 kB / 491.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.1652, allocations: 118.6 kB / 492 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008258/0.1661, allocations: 0.5885 MB / 492.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.1661, allocations: 53.25 kB / 492.6 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1662, allocations: 67.91 kB / 492.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.1676, allocations: 0.786 MB / 493.5 MB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.1676, allocations: 4 kB / 493.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.37e-05/0.1677, allocations: 24 kB / 493.5 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.1677, allocations: 16 kB / 493.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.1689, allocations: 0.593 MB / 494.1 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003371/0.1723, allocations: 2.741 MB / 496.9 MB, free: 6.355 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.1736, allocations: 0.7294 MB / 497.6 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.1741, allocations: 303.3 kB / 497.9 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.428e-05/0.1742, allocations: 15.95 kB / 497.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.1742, allocations: 46.5 kB / 498 MB, free: 5.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.004e-06/0.1742, allocations: 0 / 498 MB, free: 5.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.001811/0.176, allocations: 0.863 MB / 498.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002174/0.1763, allocations: 346.1 kB / 499.2 MB, free: 3.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007695/0.1771, allocations: 0.6929 MB / 499.8 MB, free: 3.227 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.1771, allocations: 33.7 kB / 499.9 MB, free: 3.188 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003493/0.1775, allocations: 436.3 kB / 0.4886 GB, free: 2.754 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.1776, allocations: 181.4 kB / 0.4888 GB, free: 2.574 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/0.1776, allocations: 8 kB / 0.4888 GB, free: 2.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1778, allocations: 334 kB / 0.4891 GB, free: 2.234 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/0.1783, allocations: 245 kB / 0.4893 GB, free: 1.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.1789, allocations: 415.9 kB / 0.4897 GB, free: 1.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.1794, allocations: 279.1 kB / 0.49 GB, free: 1.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1794, allocations: 0 / 0.49 GB, free: 1.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002451/0.1819, allocations: 1.154 MB / 0.4911 GB, free: 84 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.182, allocations: 175.5 kB / 0.4913 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1821, allocations: 8 kB / 0.4913 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.1832, allocations: 363.1 kB / 0.4916 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005272/0.1837, allocations: 131.8 kB / 0.4917 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007929/0.1917, allocations: 7.053 MB / 0.4986 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.1923, allocations: 103.4 kB / 0.4987 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.1924, allocations: 16.25 kB / 0.4987 GB, free: 7.656 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.1924, allocations: 4 kB / 0.4988 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/0.1938, allocations: 0.6721 MB / 0.4994 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1938, allocations: 7.953 kB / 0.4994 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000479/0.1943, allocations: 157.9 kB / 0.4996 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006471/0.1949, allocations: 171.8 kB / 0.4997 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.1981, allocations: 3.264 MB / 0.5029 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/0.1987, allocations: 75.41 kB / 0.503 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.1987, allocations: 20 kB / 0.503 GB, free: 3.02 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.1991, allocations: 297 kB / 0.5033 GB, free: 2.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.1993, allocations: 90.83 kB / 0.5034 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.1995, allocations: 103.2 kB / 0.5035 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1995, allocations: 4 kB / 0.5035 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1995, allocations: 0 / 0.5035 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.1995, allocations: 7.984 kB / 0.5035 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.2006, allocations: 0.7389 MB / 0.5042 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2006, allocations: 0 / 0.5042 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005051/0.2011, allocations: 123.9 kB / 0.5043 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.2012, allocations: 7.953 kB / 0.5043 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.2012, allocations: 12 kB / 0.5043 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.2012, allocations: 4.078 kB / 0.5044 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2012, allocations: 3.984 kB / 0.5044 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002315/0.2035, allocations: 1.276 MB / 0.5056 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.2039, allocations: 215.8 kB / 0.5058 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.204, allocations: 19.95 kB / 0.5058 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3107/0.5148, allocations: 51.75 kB / 0.5059 GB, free: 39.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.515, allocations: 32.62 kB / 0.5059 GB, free: 39.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.5151, allocations: 16.11 kB / 0.5059 GB, free: 39.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008909/0.516, allocations: 478.2 kB / 0.5064 GB, free: 39.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.516, allocations: 0.6875 kB / 0.5064 GB, free: 39.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001277/0.5173, allocations: 280.6 kB / 0.5066 GB, free: 39.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.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 (52): * Single equations (assignments): 52 * 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.0001703/0.5174, allocations: 118 kB / 0.5068 GB, free: 39.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00418/0.5216, allocations: 2.013 MB / 0.5087 GB, free: 38.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.5216, allocations: 4.531 kB / 0.5087 GB, free: 38.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006546/0.5223, allocations: 305.4 kB / 0.509 GB, free: 38.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.5237, allocations: 203.5 kB / 0.5092 GB, free: 38.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.5265, allocations: 1.798 MB / 0.511 GB, free: 37.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005653/0.5271, allocations: 0.9823 MB / 0.5119 GB, free: 37.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.5273, allocations: 48.38 kB / 0.512 GB, free: 37.28 MB / 382.1 MB Notification: Performance of SimCode: time 1.853e-06/0.5273, allocations: 1.062 kB / 0.512 GB, free: 37.28 MB / 382.1 MB Notification: Performance of Templates: time 0.02704/0.5543, allocations: 17.04 MB / 0.5286 GB, free: 31.03 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.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 OMCppModelicaTest_trunk_ModelicaTest.Blocks.LimPIDCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.LimPIDCalcHelperMain.o] Error 1