Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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) 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(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001065, allocations: 92.23 kB / 16.95 MB, free: 5.953 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.001391/0.001391, allocations: 177.4 kB / 17.84 MB, free: 5.617 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.728/1.728, allocations: 223.3 MB / 241.9 MB, free: 272 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 11.94 kB / 301.5 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1533, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004238/0.1576, allocations: 2.336 MB / 354.2 MB, free: 1.656 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1597, allocations: 0.6469 MB / 354.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000406/0.1601, allocations: 0 / 354.9 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.1604, allocations: 31.7 kB / 354.9 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.1608, allocations: 83.44 kB / 355 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.1613, allocations: 67.8 kB / 355 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.162, allocations: 318.6 kB / 355.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.1623, allocations: 65 kB / 355.4 MB, free: 456 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003411/0.1626, allocations: 107.6 kB / 355.5 MB, free: 348 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.1628, allocations: 139.4 kB / 355.7 MB, free: 208 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.479e-05/0.1629, allocations: 12 kB / 355.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.42e-05/0.163, allocations: 20 kB / 355.7 MB, free: 176 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.163, allocations: 51.77 kB / 355.7 MB, free: 124 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.1632, allocations: 69.58 kB / 355.8 MB, free: 48 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003429/0.1635, allocations: 239.6 kB / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.1636, allocations: 0 / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1636, allocations: 0 / 356 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.1636, allocations: 0 / 356 MB, free: 15.81 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001448/0.165, allocations: 0.6145 MB / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/0.1651, allocations: 8.031 kB / 356.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.1652, allocations: 31.7 kB / 356.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/0.1657, allocations: 270.5 kB / 357 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.1657, allocations: 12.44 kB / 357 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.1658, allocations: 24 kB / 357 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.1665, allocations: 285.8 kB / 357.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1665, allocations: 3.938 kB / 357.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.1665, allocations: 11.95 kB / 357.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1665, allocations: 4 kB / 357.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007189/0.1673, allocations: 277.5 kB / 357.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.1691, allocations: 0.9793 MB / 358.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008391/0.17, allocations: 270.6 kB / 358.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.1703, allocations: 116.8 kB / 358.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1703, allocations: 3.938 kB / 358.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005636/0.1709, allocations: 189.9 kB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.176e-06/0.1709, allocations: 0 / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002355/0.1733, allocations: 0.7362 MB / 359.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.1734, allocations: 110.8 kB / 360 MB, free: 11.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.1738, allocations: 266.6 kB / 360.2 MB, free: 11.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.1738, allocations: 33.7 kB / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.1741, allocations: 175.8 kB / 360.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.1741, allocations: 47.38 kB / 360.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.1742, allocations: 8 kB / 360.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002641/0.1744, allocations: 330.8 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.1748, allocations: 115.9 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.1752, allocations: 194.2 kB / 361.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.1756, allocations: 145.7 kB / 361.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1756, allocations: 4 kB / 361.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001177/0.1768, allocations: 487.7 kB / 361.7 MB, free: 9.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.1768, allocations: 40.34 kB / 361.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.1769, allocations: 3.938 kB / 361.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/0.1773, allocations: 92.84 kB / 361.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.1775, allocations: 47.91 kB / 361.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/0.18, allocations: 1.85 MB / 363.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.1803, allocations: 63.89 kB / 363.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.1803, allocations: 12.12 kB / 363.8 MB, free: 7.531 MB / 302.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: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.1805, allocations: 136.9 kB / 364 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1805, allocations: 23.72 kB / 364 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.16e-05/0.1806, allocations: 29.83 kB / 364 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1806, allocations: 7.953 kB / 364 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.1806, allocations: 4 kB / 364 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1806, allocations: 0 / 364 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.1809, allocations: 297.3 kB / 364.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1809, allocations: 0 / 364.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001354/0.1811, allocations: 35.91 kB / 364.3 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000246/0.1813, allocations: 76.8 kB / 364.4 MB, free: 6.871 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1813, allocations: 8 kB / 364.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/0.1835, allocations: 1.76 MB / 366.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1835, allocations: 0 / 366.2 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009568/0.1845, allocations: 401.5 kB / 366.6 MB, free: 4.559 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.1845, allocations: 100.8 kB / 366.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.1846, allocations: 8.125 kB / 366.7 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.1848, allocations: 39.97 kB / 366.7 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.398e-05/0.1849, allocations: 23.95 kB / 366.8 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1849, allocations: 4 kB / 366.8 MB, free: 4.367 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001742/0.1851, allocations: 190 kB / 366.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1851, allocations: 0 / 366.9 MB, free: 4.184 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.1855, allocations: 64 kB / 367 MB, free: 4.121 MB / 302.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001589/0.1857, allocations: 119.1 kB / 367.1 MB, free: 3.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001153/0.1868, allocations: 0.5095 MB / 367.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1868, allocations: 448 / 367.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004318/0.1873, allocations: 242.6 kB / 367.9 MB, free: 3.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.1876, allocations: 48.47 kB / 367.9 MB, free: 3.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/0.1903, allocations: 1.072 MB / 369 MB, free: 2.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.1907, allocations: 0.7443 MB / 369.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.1908, allocations: 23.38 kB / 369.8 MB, free: 1.266 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1908, allocations: 4 kB / 369.8 MB, free: 1.262 MB / 302.1 MB Notification: Performance of Templates: time 0.2081/0.3988, allocations: 4.148 MB / 373.9 MB, free: 23.95 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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 OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTriggerCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTriggerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTriggerCalcHelperMain.o] Error 1