Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.Comparator,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.Comparator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Comparator,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.Comparator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009792/0.000979, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.001182/0.001182, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.707/1.707, allocations: 223.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 8 kB / 301.5 MB, free: 6.211 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1684, allocations: 50.42 MB / 351.9 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Comparator): time 0.004308/0.1728, allocations: 2.449 MB / 354.3 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001869/0.1747, allocations: 0.6626 MB / 355 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.175, allocations: 4 kB / 355 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.1753, allocations: 35.69 kB / 355 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1755, allocations: 91.31 kB / 355.1 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.1759, allocations: 71.91 kB / 355.2 MB, free: 456 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005925/0.1765, allocations: 346.5 kB / 355.5 MB, free: 108 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.1769, allocations: 102.3 kB / 355.6 MB, free: 0 / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.1771, allocations: 123.6 kB / 355.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1774, allocations: 151.3 kB / 355.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.907e-05/0.1775, allocations: 20 kB / 355.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.529e-05/0.1775, allocations: 20 kB / 355.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.587e-05/0.1776, allocations: 47.77 kB / 356 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.1778, allocations: 81.52 kB / 356.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.1782, allocations: 299.4 kB / 356.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.323e-05/0.1782, allocations: 8 kB / 356.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.747e-06/0.1783, allocations: 0 / 356.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1783, allocations: 0 / 356.4 MB, free: 15.25 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001786/0.1801, allocations: 0.6418 MB / 357 MB, free: 14.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.1801, allocations: 12.03 kB / 357 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1802, allocations: 31.62 kB / 357.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.1808, allocations: 286.4 kB / 357.3 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.852e-05/0.1808, allocations: 20.56 kB / 357.4 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.685e-05/0.1809, allocations: 20 kB / 357.4 MB, free: 14.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009239/0.1818, allocations: 335.6 kB / 357.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1819, allocations: 0 / 357.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.1819, allocations: 15.98 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1819, allocations: 4 kB / 357.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008202/0.1827, allocations: 310 kB / 358 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002767/0.1855, allocations: 1.177 MB / 359.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.1866, allocations: 234.5 kB / 359.4 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.1869, allocations: 100.8 kB / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1869, allocations: 4 kB / 359.5 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005395/0.1875, allocations: 169.1 kB / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.574e-06/0.1875, allocations: 0 / 359.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.001447/0.189, allocations: 455 kB / 360.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002079/0.1892, allocations: 89.14 kB / 360.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.1898, allocations: 328.4 kB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/0.1898, allocations: 25.7 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.1901, allocations: 211.5 kB / 360.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.1901, allocations: 35.55 kB / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.1901, allocations: 0 / 360.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.1904, allocations: 342.8 kB / 361.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.1908, allocations: 112.2 kB / 361.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.1912, allocations: 227.9 kB / 361.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.1917, allocations: 153.6 kB / 361.6 MB, free: 9.641 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.1917, allocations: 4 kB / 361.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001032/0.1927, allocations: 426.9 kB / 362.1 MB, free: 9.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.519e-05/0.1928, allocations: 33.7 kB / 362.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.1928, allocations: 4 kB / 362.1 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002928/0.1931, allocations: 40.98 kB / 362.1 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.1935, allocations: 75.83 kB / 362.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001901/0.1954, allocations: 1.307 MB / 363.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.1958, allocations: 59.81 kB / 363.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.1959, allocations: 12 kB / 363.6 MB, free: 7.531 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (27): * Single equations (assignments): 25 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002669/0.1961, allocations: 149.2 kB / 363.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.1962, allocations: 27.72 kB / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.394e-05/0.1963, allocations: 30.55 kB / 363.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1963, allocations: 0 / 363.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1963, allocations: 7.953 kB / 363.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1963, allocations: 7.984 kB / 363.8 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006934/0.197, allocations: 447.1 kB / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.197, allocations: 0 / 364.2 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.1972, allocations: 47.89 kB / 364.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.1973, allocations: 24.88 kB / 364.3 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.1974, allocations: 7.953 kB / 364.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.1991, allocations: 1.3 MB / 365.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1991, allocations: 0 / 365.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008861/0.2, allocations: 302.8 kB / 365.9 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2002, allocations: 108.8 kB / 366 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.2002, allocations: 0 / 366 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.2004, allocations: 35.97 kB / 366 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2005, allocations: 19.97 kB / 366.1 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.2006, allocations: 4 kB / 366.1 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003287/0.2009, allocations: 227.1 kB / 366.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2009, allocations: 0 / 366.3 MB, free: 4.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004494/0.2014, allocations: 67.84 kB / 366.4 MB, free: 4.504 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003122/0.2017, allocations: 107.7 kB / 366.5 MB, free: 4.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.2029, allocations: 442.5 kB / 366.9 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.203, allocations: 4.188 kB / 366.9 MB, free: 3.926 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.2035, allocations: 226.7 kB / 367.1 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004435/0.204, allocations: 43.42 kB / 367.2 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.2054, allocations: 0.5828 MB / 367.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/0.2062, allocations: 0.756 MB / 368.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/0.2063, allocations: 19.44 kB / 368.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2063, allocations: 8 kB / 368.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of Templates: time 0.2742/0.4805, allocations: 4.587 MB / 373.1 MB, free: 23.71 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Comparator.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.ComparatorCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ComparatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.ComparatorCalcHelperMain.o] Error 1