Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_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|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 96.41 kB / 17.64 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 198 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.3 MB / 246.6 MB, free: 12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2504/0.2504, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 12 kB / 418.6 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1342, allocations: 63.47 MB / 482.1 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001851/0.136, allocations: 1.357 MB / 483.5 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1371, allocations: 0.6083 MB / 484.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.1372, allocations: 3.938 kB / 484.1 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.1372, allocations: 3.938 kB / 484.1 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.1373, allocations: 19.84 kB / 484.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.1377, allocations: 119.2 kB / 484.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1379, allocations: 135.6 kB / 484.4 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1381, allocations: 29.38 kB / 484.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1382, allocations: 55.81 kB / 484.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.1383, allocations: 47.77 kB / 484.5 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.1384, allocations: 8 kB / 484.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.991e-05/0.1384, allocations: 19.98 kB / 484.5 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.1384, allocations: 27.91 kB / 484.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1385, allocations: 37.64 kB / 484.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1386, allocations: 92.03 kB / 484.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1386, allocations: 3.938 kB / 484.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1386, allocations: 0 / 484.7 MB, free: 2.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1387, allocations: 0 / 484.7 MB, free: 2.82 MB / 350.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.0006767/0.1393, allocations: 442.9 kB / 485.1 MB, free: 2.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1394, allocations: 12.03 kB / 485.1 MB, free: 2.328 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.1396, allocations: 23.81 kB / 485.1 MB, free: 2.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1398, allocations: 219.3 kB / 485.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1398, allocations: 12 kB / 485.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.1399, allocations: 4 kB / 485.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.1403, allocations: 194.3 kB / 485.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1403, allocations: 3.906 kB / 485.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.1404, allocations: 8 kB / 485.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1404, allocations: 0 / 485.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003834/0.1408, allocations: 155.9 kB / 485.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008506/0.1416, allocations: 476.5 kB / 486.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/0.1422, allocations: 254.4 kB / 486.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.1424, allocations: 92.8 kB / 486.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.1425, allocations: 3.953 kB / 486.5 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1425, allocations: 34.56 kB / 486.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1425, allocations: 0 / 486.6 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001474/0.144, allocations: 0.6539 MB / 487.2 MB, free: 48 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.448e-05/0.1441, allocations: 106.8 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1442, allocations: 162.8 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.1443, allocations: 25.7 kB / 487.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.1443, allocations: 108 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.363e-05/0.1444, allocations: 31.8 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.1444, allocations: 3.938 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1446, allocations: 326.8 kB / 488 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.1448, allocations: 83.94 kB / 488.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002506/0.145, allocations: 110.5 kB / 488.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.1452, allocations: 87.92 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1453, allocations: 0 / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004724/0.1457, allocations: 225.3 kB / 488.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/0.1458, allocations: 100.9 kB / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1458, allocations: 0 / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.983e-06/0.1458, allocations: 0 / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.146, allocations: 43.97 kB / 488.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.146, allocations: 4 kB / 488.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.1461, allocations: 35.91 kB / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1462, allocations: 0 / 488.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.393e-06/0.1462, allocations: 4 kB / 488.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002186/0.1464, allocations: 104.4 kB / 488.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-06/0.1464, allocations: 384 / 488.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-06/0.1464, allocations: 0 / 488.8 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.1465, allocations: 23.98 kB / 488.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.297e-06/0.1465, allocations: 3.953 kB / 488.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.1466, allocations: 19.92 kB / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1466, allocations: 8 kB / 488.8 MB, free: 14.39 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001278/0.1468, allocations: 193.1 kB / 489 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.1468, allocations: 11.91 kB / 489 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.1469, allocations: 20.7 kB / 489 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1469, allocations: 0 / 489 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1469, allocations: 3.953 kB / 489 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1469, allocations: 4 kB / 489 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008929/0.1478, allocations: 0.546 MB / 489.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.1478, allocations: 7.984 kB / 489.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.148, allocations: 39.97 kB / 489.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.148, allocations: 7.984 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.148, allocations: 4 kB / 489.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.148, allocations: 0 / 489.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.148, allocations: 0 / 489.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007665/0.1488, allocations: 420 kB / 490 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.1489, allocations: 85.05 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.1489, allocations: 7.953 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.1492, allocations: 56.02 kB / 490.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1492, allocations: 11.98 kB / 490.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.1492, allocations: 3.938 kB / 490.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.935e-05/0.1493, allocations: 119.2 kB / 490.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1493, allocations: 0 / 490.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1496, allocations: 32 kB / 490.4 MB, free: 12.73 MB / 366.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 (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.0001176/0.1498, allocations: 99.78 kB / 490.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.1504, allocations: 236 kB / 490.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.726e-06/0.1504, allocations: 7.938 kB / 490.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.1506, allocations: 95.94 kB / 490.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.151, allocations: 32.16 kB / 490.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.1517, allocations: 365.5 kB / 491.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.1521, allocations: 0.7049 MB / 491.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.1521, allocations: 15.44 kB / 491.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1521, allocations: 0 / 491.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of Templates: time 0.003763/0.1559, allocations: 1.804 MB / 493.7 MB, free: 9.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.LimitersCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.LimitersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.LimitersCalcHelperMain.o] Error 1