Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007874/0.0007873, allocations: 92.69 kB / 17.63 MB, free: 5.719 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.0008548/0.000855, allocations: 182.8 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 223.2 MB / 242.5 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2567/0.2567, allocations: 44.22 MB / 337.9 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004809, allocations: 8 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1671, allocations: 61.91 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005474/0.1726, allocations: 2.956 MB / 475.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003929/0.1766, allocations: 1.321 MB / 476.4 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008841/0.1775, allocations: 31.81 kB / 476.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004612/0.178, allocations: 71.25 kB / 476.5 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.179, allocations: 123 kB / 476.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/0.1808, allocations: 475.6 kB / 477.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.1826, allocations: 0.8001 MB / 477.9 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007576/0.1834, allocations: 224.3 kB / 478.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007/0.1841, allocations: 282.5 kB / 478.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.1847, allocations: 274.4 kB / 478.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.1848, allocations: 20 kB / 478.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.185, allocations: 24 kB / 478.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.1851, allocations: 107.4 kB / 478.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.1853, allocations: 141.2 kB / 479 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007558/0.1861, allocations: 0.5652 MB / 479.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1861, allocations: 0 / 479.5 MB, free: 6.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.088e-06/0.1861, allocations: 4 kB / 479.5 MB, free: 6.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.845e-05/0.1862, allocations: 3.938 kB / 479.6 MB, free: 6.301 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002948/0.1891, allocations: 1.114 MB / 480.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1892, allocations: 8.031 kB / 480.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003086/0.1895, allocations: 94.88 kB / 480.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.1908, allocations: 0.5226 MB / 481.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.514e-05/0.1909, allocations: 37 kB / 481.3 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.1911, allocations: 52 kB / 481.4 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.1932, allocations: 0.75 MB / 482.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.1933, allocations: 0 / 482.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.821e-05/0.1934, allocations: 27.98 kB / 482.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1934, allocations: 15.98 kB / 482.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.1956, allocations: 0.6401 MB / 482.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00487/0.2005, allocations: 2.345 MB / 485.2 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.203, allocations: 0.8078 MB / 486 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.2042, allocations: 382.2 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-05/0.2043, allocations: 12.36 kB / 486.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.2043, allocations: 42.88 kB / 486.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.445e-06/0.2044, allocations: 3.938 kB / 486.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.005635/0.21, allocations: 2.162 MB / 488.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.2101, allocations: 184.4 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007378/0.2109, allocations: 0.5629 MB / 489.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.887e-05/0.2109, allocations: 33.7 kB / 489.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.2112, allocations: 356.8 kB / 489.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.2114, allocations: 177.4 kB / 489.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.2114, allocations: 12 kB / 489.9 MB, free: 11.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.2116, allocations: 382.8 kB / 490.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008079/0.2125, allocations: 340.9 kB / 490.6 MB, free: 10.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009305/0.2134, allocations: 473.9 kB / 491 MB, free: 10.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008181/0.2142, allocations: 350 kB / 491.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2143, allocations: 0 / 491.4 MB, free: 10.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001906/0.2162, allocations: 0.8923 MB / 492.3 MB, free: 9.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/0.2163, allocations: 155.1 kB / 492.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2163, allocations: 3.984 kB / 492.4 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.2164, allocations: 8 kB / 492.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008323/0.2172, allocations: 219.7 kB / 492.6 MB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.2172, allocations: 8 kB / 492.7 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.2178, allocations: 107.9 kB / 492.8 MB, free: 8.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.476e-05/0.2178, allocations: 16 kB / 492.8 MB, free: 8.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/0.2178, allocations: 4 kB / 492.8 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001295/0.2191, allocations: 0.6221 MB / 493.4 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.2192, allocations: 4 kB / 493.4 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.2192, allocations: 4 kB / 493.4 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.2198, allocations: 176 kB / 493.6 MB, free: 7.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.2199, allocations: 4 kB / 493.6 MB, free: 7.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.2203, allocations: 71.94 kB / 493.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.2203, allocations: 20 kB / 493.7 MB, free: 7.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0003802/0.2207, allocations: 269.5 kB / 493.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.2209, allocations: 71.16 kB / 494 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.2211, allocations: 83.27 kB / 494.1 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2211, allocations: 8 kB / 494.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2211, allocations: 0 / 494.1 MB, free: 7.242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.2211, allocations: 7.984 kB / 494.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.2242, allocations: 1.548 MB / 495.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2242, allocations: 3.938 kB / 495.7 MB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006971/0.2249, allocations: 175.9 kB / 495.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/0.2249, allocations: 0 / 495.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/0.225, allocations: 23.98 kB / 495.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.225, allocations: 0 / 495.9 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.225, allocations: 7.953 kB / 495.9 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.2278, allocations: 1.397 MB / 497.3 MB, free: 3.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.2281, allocations: 188.1 kB / 497.4 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2282, allocations: 12 kB / 497.5 MB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005763/0.2288, allocations: 111.9 kB / 497.6 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.229, allocations: 43.88 kB / 497.6 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.229, allocations: 19.98 kB / 497.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005986/0.2296, allocations: 395.1 kB / 498 MB, free: 3.227 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2296, allocations: 0 / 498 MB, free: 3.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008152/0.2304, allocations: 180 kB / 498.2 MB, free: 3.051 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.0002031/0.2307, allocations: 111.1 kB / 498.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002644/0.2333, allocations: 1.099 MB / 499.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.2333, allocations: 0 / 499.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009008/0.2342, allocations: 407.6 kB / 499.8 MB, free: 1.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.2354, allocations: 177.1 kB / 500 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.2393, allocations: 1.825 MB / 0.49 GB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.24, allocations: 0.9182 MB / 0.4909 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/0.2403, allocations: 63.41 kB / 0.491 GB, free: 14.38 MB / 382.1 MB Notification: Performance of SimCode: time 1.512e-06/0.2403, allocations: 0 / 0.491 GB, free: 14.38 MB / 382.1 MB Notification: Performance of Templates: time 0.01837/0.2587, allocations: 8.693 MB / 0.4995 GB, free: 5.738 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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_4.0.0_ModelicaTest.Blocks.StrictLimitersCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimitersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimitersCalcHelperMain.o] Error 1