Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.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.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008383/0.0008383, allocations: 92.11 kB / 17.63 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009996/0.0009997, allocations: 192.5 kB / 18.54 MB, free: 5.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2209/0.2209, allocations: 45.92 MB / 344.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 8 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.164, allocations: 63.46 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.001843/0.1659, allocations: 1.162 MB / 483.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007709/0.1667, allocations: 443.3 kB / 483.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.1668, allocations: 0 / 483.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.5e-05/0.1668, allocations: 0 / 483.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.1669, allocations: 3.938 kB / 483.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.1671, allocations: 11.98 kB / 483.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.1672, allocations: 31.86 kB / 483.8 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1673, allocations: 15.97 kB / 483.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1674, allocations: 19.92 kB / 483.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.851e-05/0.1675, allocations: 11.92 kB / 483.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1675, allocations: 4 kB / 483.8 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.306e-05/0.1675, allocations: 8 kB / 483.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.1676, allocations: 11.91 kB / 483.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.1676, allocations: 25.7 kB / 483.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.211e-05/0.1677, allocations: 23.97 kB / 483.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1677, allocations: 0 / 483.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1677, allocations: 0 / 483.9 MB, free: 3.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1677, allocations: 0 / 483.9 MB, free: 3.621 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005147/0.1683, allocations: 351.5 kB / 484.2 MB, free: 3.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.1683, allocations: 12.03 kB / 484.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.1685, allocations: 15.92 kB / 484.2 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.1687, allocations: 174.9 kB / 484.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1687, allocations: 0 / 484.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.1687, allocations: 4 kB / 484.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.1689, allocations: 59.39 kB / 484.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1689, allocations: 0 / 484.5 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1689, allocations: 8 kB / 484.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1689, allocations: 0 / 484.5 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.169, allocations: 19.98 kB / 484.5 MB, free: 2.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.1695, allocations: 272.8 kB / 484.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1696, allocations: 30.56 kB / 484.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.1697, allocations: 20.92 kB / 484.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.1697, allocations: 8 kB / 484.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.081e-05/0.1698, allocations: 30.56 kB / 484.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1698, allocations: 0 / 484.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003013/0.1701, allocations: 73.61 kB / 484.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.1702, allocations: 77.11 kB / 485 MB, free: 2.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1703, allocations: 110 kB / 485.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1704, allocations: 25.7 kB / 485.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.629e-05/0.1705, allocations: 88.14 kB / 485.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1705, allocations: 7.891 kB / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.1705, allocations: 0 / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.1707, allocations: 322.8 kB / 485.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.787e-05/0.1708, allocations: 19.92 kB / 485.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.1709, allocations: 25.72 kB / 485.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.252e-05/0.1709, allocations: 11.98 kB / 485.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1709, allocations: 3.938 kB / 485.6 MB, free: 1.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001416/0.1711, allocations: 73.52 kB / 485.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1711, allocations: 4 kB / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1711, allocations: 0 / 485.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1711, allocations: 4.031 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.645e-05/0.1712, allocations: 4 kB / 485.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.1713, allocations: 4 kB / 485.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.853e-05/0.1713, allocations: 11.98 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1713, allocations: 0 / 485.7 MB, free: 1.551 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: 2 ($PRE.hysteresis.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.1715, allocations: 117.8 kB / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1715, allocations: 0 / 485.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.38e-05/0.1715, allocations: 11.53 kB / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1715, allocations: 0 / 485.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.1716, allocations: 4.125 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1716, allocations: 3.984 kB / 485.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1718, allocations: 165.6 kB / 486 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1718, allocations: 3.984 kB / 486 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.1718, allocations: 4 kB / 486 MB, free: 1.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1718, allocations: 4 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1719, allocations: 0 / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1719, allocations: 3.938 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1719, allocations: 4 kB / 486 MB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.1721, allocations: 155.4 kB / 486.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.1721, allocations: 77.11 kB / 486.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.1722, allocations: 4 kB / 486.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.1723, allocations: 20.02 kB / 486.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.1723, allocations: 7.984 kB / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1723, allocations: 0 / 486.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.248e-05/0.1724, allocations: 87.58 kB / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1724, allocations: 0 / 486.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.1727, allocations: 8 kB / 486.4 MB, free: 0.7891 MB / 350.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 (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.0001426/0.1728, allocations: 91.78 kB / 486.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.173, allocations: 35.92 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.173, allocations: 0 / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.1731, allocations: 15.98 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.1733, allocations: 11.89 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.1737, allocations: 166.3 kB / 486.7 MB, free: 444 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1741, allocations: 0.6812 MB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.1741, allocations: 7.438 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1741, allocations: 0 / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Templates: time 0.002254/0.1764, allocations: 0.6329 MB / 488 MB, free: 15.09 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Hysteresis.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.HysteresisCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Blocks.HysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Blocks.HysteresisCalcHelperMain.o] Error 1