Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009426, allocations: 92.62 kB / 16.95 MB, free: 5.949 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.0009743/0.0009746, allocations: 177.7 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.572/1.572, allocations: 223.2 MB / 241.8 MB, free: 224 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002759/0.0002759, allocations: 15.12 kB / 301.5 MB, free: 6.414 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1419, allocations: 50.41 MB / 351.9 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier): time 0.003457/0.1454, allocations: 2.492 MB / 354.4 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.147, allocations: 0.6937 MB / 355.1 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1472, allocations: 4 kB / 355.1 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.1474, allocations: 39.69 kB / 355.1 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1476, allocations: 71.39 kB / 355.2 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.148, allocations: 83.89 kB / 355.3 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.1484, allocations: 370.4 kB / 355.6 MB, free: 236 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.1486, allocations: 97.72 kB / 355.7 MB, free: 136 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.1488, allocations: 123.5 kB / 355.8 MB, free: 12 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1491, allocations: 147.5 kB / 356 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.1491, allocations: 16 kB / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.479e-05/0.1492, allocations: 16 kB / 356 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.1492, allocations: 51.77 kB / 356.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.732e-05/0.1494, allocations: 89.52 kB / 356.1 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.1497, allocations: 343.3 kB / 356.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.1497, allocations: 4 kB / 356.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1497, allocations: 0 / 356.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1498, allocations: 0 / 356.5 MB, free: 15.35 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.001269/0.151, allocations: 0.6418 MB / 357.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1511, allocations: 12.03 kB / 357.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.301e-05/0.1512, allocations: 31.62 kB / 357.2 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004065/0.1516, allocations: 294.4 kB / 357.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.1516, allocations: 20.56 kB / 357.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.421e-05/0.1517, allocations: 24 kB / 357.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.1524, allocations: 339.6 kB / 357.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1525, allocations: 0 / 357.8 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.1525, allocations: 15.78 kB / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1525, allocations: 8 kB / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008497/0.1534, allocations: 318 kB / 358.2 MB, free: 13.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002067/0.1555, allocations: 1.178 MB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008317/0.1563, allocations: 286.5 kB / 359.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.1567, allocations: 120.8 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1567, allocations: 3.984 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005558/0.1573, allocations: 197.8 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.913e-06/0.1573, allocations: 0 / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002276/0.1596, allocations: 0.7363 MB / 360.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.873e-05/0.1597, allocations: 114.8 kB / 360.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.16, allocations: 278.7 kB / 361.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.16, allocations: 33.7 kB / 361.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1602, allocations: 199.6 kB / 361.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.1603, allocations: 43.39 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.1603, allocations: 8 kB / 361.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1604, allocations: 330.8 kB / 361.7 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.1608, allocations: 120.4 kB / 361.8 MB, free: 9.754 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/0.1612, allocations: 217.7 kB / 362 MB, free: 9.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.1616, allocations: 157.7 kB / 362.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.1616, allocations: 0 / 362.1 MB, free: 9.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001236/0.1628, allocations: 0.5099 MB / 362.7 MB, free: 8.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.622e-05/0.1629, allocations: 33.7 kB / 362.7 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1629, allocations: 8.156 kB / 362.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004029/0.1633, allocations: 88.86 kB / 362.8 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.1636, allocations: 59.84 kB / 362.8 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/0.1662, allocations: 1.834 MB / 364.7 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003748/0.1666, allocations: 55.72 kB / 364.7 MB, free: 6.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1666, allocations: 8 kB / 364.7 MB, free: 6.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 21 * 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.0002249/0.1669, allocations: 165.7 kB / 364.9 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.1669, allocations: 19.72 kB / 364.9 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.167, allocations: 29.83 kB / 365 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.167, allocations: 0 / 365 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.167, allocations: 4 kB / 365 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.167, allocations: 0 / 365 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.1673, allocations: 313.5 kB / 365.3 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1673, allocations: 3.984 kB / 365.3 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1675, allocations: 39.97 kB / 365.3 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.1678, allocations: 84.73 kB / 365.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1678, allocations: 4 kB / 365.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.17, allocations: 1.706 MB / 367.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.17, allocations: 0 / 367.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.171, allocations: 413.5 kB / 367.5 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-05/0.1711, allocations: 100.8 kB / 367.6 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/0.1712, allocations: 8 kB / 367.6 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1714, allocations: 39.92 kB / 367.6 MB, free: 3.453 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.1715, allocations: 23.91 kB / 367.7 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.1715, allocations: 7.984 kB / 367.7 MB, free: 3.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002328/0.1718, allocations: 198 kB / 367.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1718, allocations: 0 / 367.9 MB, free: 3.227 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000438/0.1722, allocations: 79.84 kB / 367.9 MB, free: 3.148 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.000166/0.1724, allocations: 111.2 kB / 368.1 MB, free: 3.027 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.1734, allocations: 457.8 kB / 368.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1735, allocations: 0 / 368.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.1739, allocations: 258.8 kB / 368.8 MB, free: 2.293 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1743, allocations: 47.73 kB / 368.8 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1754, allocations: 0.6018 MB / 369.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1757, allocations: 0.756 MB / 370.2 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.232e-05/0.1758, allocations: 19.44 kB / 370.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of SimCode: time 6.141e-06/0.1758, allocations: 0 / 370.2 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of Templates: time 0.2216/0.3975, allocations: 4.705 MB / 374.9 MB, free: 23.53 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifierCalcHelperMain.o] Error 1