Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 95.2 kB / 16.67 MB, free: 6.105 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.001845/0.001845, allocations: 182.7 kB / 17.58 MB, free: 5.816 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.866/1.866, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.2663/0.2663, allocations: 43.59 MB / 315.6 MB, free: 0.5039 MB / 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.0006002/0.0006001, allocations: 18.39 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1628, allocations: 58.86 MB / 444.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.002307/0.1652, allocations: 1.157 MB / 445.2 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.1661, allocations: 444.7 kB / 445.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.1662, allocations: 0 / 445.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.1663, allocations: 0 / 445.7 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.1664, allocations: 11.94 kB / 445.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1667, allocations: 11.98 kB / 445.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.1668, allocations: 43.78 kB / 445.7 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.167, allocations: 7.938 kB / 445.8 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.1672, allocations: 11.98 kB / 445.8 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1673, allocations: 15.92 kB / 445.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.1673, allocations: 0 / 445.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.1673, allocations: 0 / 445.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.1674, allocations: 19.91 kB / 445.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.812e-05/0.1674, allocations: 41.64 kB / 445.8 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.976e-05/0.1676, allocations: 15.97 kB / 445.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1676, allocations: 0 / 445.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.1676, allocations: 0 / 445.9 MB, free: 3.449 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.1676, allocations: 0 / 445.9 MB, free: 3.449 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005934/0.1682, allocations: 347.4 kB / 446.2 MB, free: 3.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.651e-05/0.1683, allocations: 8.031 kB / 446.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.1683, allocations: 12.84 kB / 446.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1685, allocations: 168.3 kB / 446.4 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.1685, allocations: 4.375 kB / 446.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.1685, allocations: 384 / 446.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.1687, allocations: 67.66 kB / 446.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1688, allocations: 3.984 kB / 446.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1688, allocations: 0 / 446.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1688, allocations: 0 / 446.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.1689, allocations: 27.98 kB / 446.5 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.1694, allocations: 260.9 kB / 446.7 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.988e-05/0.1696, allocations: 42.5 kB / 446.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.582e-05/0.1696, allocations: 20.91 kB / 446.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.1697, allocations: 0 / 446.8 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.1697, allocations: 38.5 kB / 446.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1697, allocations: 0 / 446.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002854/0.17, allocations: 69.67 kB / 446.9 MB, free: 2.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.369e-05/0.1701, allocations: 81.11 kB / 447 MB, free: 2.129 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/0.1702, allocations: 113.8 kB / 447.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1702, allocations: 29.64 kB / 447.1 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.1702, allocations: 88.14 kB / 447.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.1703, allocations: 3.906 kB / 447.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1703, allocations: 13.72 kB / 447.2 MB, free: 1.859 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.881e-05/0.1704, allocations: 323 kB / 447.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.1705, allocations: 12 kB / 447.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.472e-05/0.1705, allocations: 29.69 kB / 447.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.57e-05/0.1706, allocations: 32.78 kB / 447.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1706, allocations: 0 / 447.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001163/0.1707, allocations: 65.7 kB / 447.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1708, allocations: 6.031 kB / 447.7 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1708, allocations: 3.938 kB / 447.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1708, allocations: 0 / 447.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.378e-05/0.1709, allocations: 8 kB / 447.7 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.1709, allocations: 4 kB / 447.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.22e-05/0.171, allocations: 23.89 kB / 447.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.171, allocations: 0 / 447.7 MB, free: 1.34 MB / 318.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: 2 (hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.987e-05/0.1711, allocations: 117.7 kB / 447.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1711, allocations: 0 / 447.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.1712, allocations: 11.53 kB / 447.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1712, allocations: 3.984 kB / 447.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1712, allocations: 0 / 447.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1712, allocations: 0 / 447.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.1713, allocations: 165.5 kB / 448 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1713, allocations: 0 / 448 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.1714, allocations: 8 kB / 448 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1714, allocations: 4 kB / 448 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1714, allocations: 0 / 448 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1714, allocations: 0 / 448 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1714, allocations: 0 / 448 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.1716, allocations: 163.4 kB / 448.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.08e-05/0.1716, allocations: 85.02 kB / 448.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.1716, allocations: 0 / 448.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.1717, allocations: 11.98 kB / 448.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.264e-05/0.1718, allocations: 7.984 kB / 448.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.1718, allocations: 0 / 448.3 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.159e-05/0.1718, allocations: 99.5 kB / 448.4 MB, free: 0.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1719, allocations: 3.938 kB / 448.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00021/0.1721, allocations: 8.031 kB / 448.4 MB, free: 0.5703 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001179/0.1722, allocations: 99.23 kB / 448.5 MB, free: 472 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1724, allocations: 27.98 kB / 448.5 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1724, allocations: 0 / 448.5 MB, free: 444 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.1724, allocations: 23.92 kB / 448.5 MB, free: 420 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.1727, allocations: 11.94 kB / 448.6 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.173, allocations: 158.3 kB / 448.7 MB, free: 220 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.1734, allocations: 0.677 MB / 449.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.1734, allocations: 7.438 kB / 449.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1734, allocations: 0 / 449.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of Templates: time 0.002461/0.1759, allocations: 0.6292 MB / 450 MB, free: 14.87 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Hysteresis.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.HysteresisCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.HysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.HysteresisCalcHelperMain.o] Error 1