Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009771/0.0009772, allocations: 88.42 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.001261/0.001262, allocations: 186.4 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.508/1.508, allocations: 223.3 MB / 242.5 MB, free: 14.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2404/0.2404, allocations: 44.22 MB / 337.9 MB, free: 2.559 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003697, allocations: 11.98 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1451, allocations: 61.92 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002185/0.1473, allocations: 1.349 MB / 473.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1486, allocations: 0.5616 MB / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.1488, allocations: 0 / 474.1 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.1489, allocations: 7.875 kB / 474.1 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.149, allocations: 19.84 kB / 474.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000475/0.1495, allocations: 115.4 kB / 474.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.1497, allocations: 135.6 kB / 474.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.1499, allocations: 25.42 kB / 474.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.15, allocations: 51.78 kB / 474.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.1501, allocations: 55.73 kB / 474.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.1502, allocations: 8 kB / 474.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.071e-05/0.1502, allocations: 8 kB / 474.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.1502, allocations: 27.91 kB / 474.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.1503, allocations: 45.64 kB / 474.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.1504, allocations: 92.03 kB / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1504, allocations: 0 / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1504, allocations: 0 / 474.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1505, allocations: 0 / 474.7 MB, free: 11.18 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.0006729/0.1511, allocations: 438.9 kB / 475.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.1512, allocations: 16.02 kB / 475.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.1512, allocations: 15.81 kB / 475.1 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1515, allocations: 203.4 kB / 475.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.1515, allocations: 4 kB / 475.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.1516, allocations: 11.95 kB / 475.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.152, allocations: 198.6 kB / 475.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.152, allocations: 3.906 kB / 475.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.1521, allocations: 4 kB / 475.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1521, allocations: 3.938 kB / 475.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003949/0.1525, allocations: 159.9 kB / 475.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008366/0.1533, allocations: 480.5 kB / 476.2 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.1539, allocations: 246.4 kB / 476.4 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.1542, allocations: 92.8 kB / 476.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1542, allocations: 160 / 476.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1542, allocations: 42.48 kB / 476.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1542, allocations: 0 / 476.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001503/0.1558, allocations: 0.6501 MB / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.964e-05/0.1558, allocations: 110.8 kB / 477.3 MB, free: 8.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.156, allocations: 150.2 kB / 477.5 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.156, allocations: 33.7 kB / 477.5 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.1561, allocations: 112 kB / 477.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.1561, allocations: 27.56 kB / 477.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-06/0.1562, allocations: 0 / 477.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.1563, allocations: 322.8 kB / 477.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.1566, allocations: 87.94 kB / 478 MB, free: 7.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.1568, allocations: 106.5 kB / 478.1 MB, free: 7.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.157, allocations: 87.97 kB / 478.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.157, allocations: 3.938 kB / 478.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004817/0.1575, allocations: 225.6 kB / 478.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/0.1576, allocations: 93 kB / 478.5 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.1576, allocations: 3.953 kB / 478.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1576, allocations: 0 / 478.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1578, allocations: 51.91 kB / 478.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.1578, allocations: 3.984 kB / 478.6 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.158, allocations: 31.98 kB / 478.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.158, allocations: 3.984 kB / 478.6 MB, free: 6.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.161e-06/0.158, allocations: 4 kB / 478.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002162/0.1582, allocations: 95.89 kB / 478.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-06/0.1582, allocations: 4 kB / 478.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-06/0.1582, allocations: 0 / 478.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.1583, allocations: 23.98 kB / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-06/0.1584, allocations: 0 / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.1584, allocations: 19.98 kB / 478.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.1585, allocations: 8 kB / 478.8 MB, free: 6.773 MB / 350.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.0001328/0.1586, allocations: 193.6 kB / 479 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.1586, allocations: 11.91 kB / 479 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.896e-05/0.1587, allocations: 20.7 kB / 479 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1587, allocations: 0 / 479 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1587, allocations: 0 / 479 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.1587, allocations: 0 / 479 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.1596, allocations: 0.5615 MB / 479.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1597, allocations: 0 / 479.6 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1598, allocations: 43.97 kB / 479.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1598, allocations: 0 / 479.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1599, allocations: 0 / 479.6 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1599, allocations: 8.031 kB / 479.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1599, allocations: 0 / 479.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007846/0.1607, allocations: 424 kB / 480 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1607, allocations: 89.05 kB / 480.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1608, allocations: 0 / 480.1 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.161, allocations: 56.02 kB / 480.2 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.1611, allocations: 7.984 kB / 480.2 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.1611, allocations: 7.984 kB / 480.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1612, allocations: 124 kB / 480.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1612, allocations: 0 / 480.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.1615, allocations: 35.98 kB / 480.3 MB, free: 5.105 MB / 350.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.0001303/0.1617, allocations: 95.19 kB / 480.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005936/0.1623, allocations: 243.8 kB / 480.7 MB, free: 4.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1623, allocations: 4 kB / 480.7 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.1625, allocations: 95.94 kB / 480.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.1629, allocations: 35.95 kB / 480.8 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.1636, allocations: 358.7 kB / 481.1 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.164, allocations: 0.7087 MB / 481.9 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.164, allocations: 15.44 kB / 481.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.164, allocations: 0 / 481.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of Templates: time 0.0037/0.1677, allocations: 1.814 MB / 483.7 MB, free: 1.699 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile make -j1 -f ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.LimitersCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Blocks.LimitersCalcHelperMain.o] Error 1