Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 90.33 kB / 16.95 MB, free: 5.656 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.001291/0.001291, allocations: 181.8 kB / 17.84 MB, free: 5.32 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.582/1.582, allocations: 223.2 MB / 241.8 MB, free: 300 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003061/0.0003061, allocations: 8 kB / 301.5 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 50.42 MB / 351.9 MB, free: 4.008 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003232/0.1489, allocations: 2.492 MB / 354.4 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1502, allocations: 0.6899 MB / 355.1 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001626/0.1504, allocations: 7.938 kB / 355.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.1505, allocations: 27.77 kB / 355.1 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.1507, allocations: 91.25 kB / 355.2 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.1511, allocations: 79.91 kB / 355.3 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004576/0.1516, allocations: 362.5 kB / 355.6 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002671/0.1519, allocations: 93.8 kB / 355.7 MB, free: 156 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.1521, allocations: 123.5 kB / 355.8 MB, free: 32 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1523, allocations: 147.3 kB / 356 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.1524, allocations: 20 kB / 356 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.416e-05/0.1525, allocations: 19.94 kB / 356 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.275e-05/0.1525, allocations: 55.7 kB / 356.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1526, allocations: 77.58 kB / 356.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004226/0.1531, allocations: 343.3 kB / 356.5 MB, free: 15.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.1531, allocations: 4 kB / 356.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1531, allocations: 0 / 356.5 MB, free: 15.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.1531, allocations: 0 / 356.5 MB, free: 15.37 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.001362/0.1545, allocations: 0.6495 MB / 357.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1545, allocations: 8.031 kB / 357.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.179e-05/0.1546, allocations: 39.62 kB / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005275/0.1552, allocations: 286.5 kB / 357.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1552, allocations: 16.56 kB / 357.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.1553, allocations: 24 kB / 357.5 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007847/0.1561, allocations: 339.6 kB / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1561, allocations: 0 / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.842e-05/0.1561, allocations: 19.94 kB / 357.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.1561, allocations: 4 kB / 357.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008104/0.157, allocations: 314.1 kB / 358.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.1593, allocations: 1.182 MB / 359.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008215/0.1601, allocations: 290.4 kB / 359.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.1604, allocations: 120.8 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.1605, allocations: 4 kB / 359.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005317/0.161, allocations: 193.1 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.153e-06/0.161, allocations: 0 / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.002268/0.1633, allocations: 0.741 MB / 360.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.1634, allocations: 114.8 kB / 360.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.1638, allocations: 282.6 kB / 361.1 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.1638, allocations: 33.7 kB / 361.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.164, allocations: 199.6 kB / 361.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.1641, allocations: 47.3 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.431e-05/0.1641, allocations: 4 kB / 361.3 MB, free: 10.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.1643, allocations: 334.8 kB / 361.7 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000327/0.1646, allocations: 120.2 kB / 361.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.165, allocations: 222.2 kB / 362 MB, free: 9.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.1654, allocations: 161.6 kB / 362.2 MB, free: 9.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1654, allocations: 7.938 kB / 362.2 MB, free: 9.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001341/0.1668, allocations: 0.5036 MB / 362.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.073e-05/0.1669, allocations: 36.34 kB / 362.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1669, allocations: 4 kB / 362.7 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004049/0.1673, allocations: 92.88 kB / 362.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.1675, allocations: 63.89 kB / 362.9 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003019/0.1706, allocations: 1.912 MB / 364.8 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.1709, allocations: 51.81 kB / 364.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.171, allocations: 15.98 kB / 364.8 MB, free: 6.496 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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.0002089/0.1712, allocations: 157.7 kB / 365 MB, free: 6.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.1712, allocations: 23.72 kB / 365 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.1713, allocations: 25.83 kB / 365 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1713, allocations: 4 kB / 365.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.1713, allocations: 0 / 365.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1713, allocations: 0 / 365.1 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003625/0.1717, allocations: 325.3 kB / 365.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1717, allocations: 224 / 365.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.1718, allocations: 32.11 kB / 365.4 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/0.1721, allocations: 92.67 kB / 365.5 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.1722, allocations: 8 kB / 365.5 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002458/0.1746, allocations: 1.815 MB / 367.3 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1747, allocations: 8.047 kB / 367.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.1758, allocations: 413.4 kB / 367.7 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.1759, allocations: 100.8 kB / 367.8 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.176, allocations: 15.98 kB / 367.8 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.1762, allocations: 35.97 kB / 367.9 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.1764, allocations: 23.97 kB / 367.9 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1764, allocations: 3.984 kB / 367.9 MB, free: 3.207 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004189/0.1768, allocations: 202 kB / 368.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1768, allocations: 0 / 368.1 MB, free: 3.008 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006024/0.1774, allocations: 79.84 kB / 368.2 MB, free: 2.93 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.0002739/0.1777, allocations: 99.25 kB / 368.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.1793, allocations: 0.5329 MB / 368.8 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.1793, allocations: 0 / 368.8 MB, free: 2.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005645/0.1799, allocations: 258.5 kB / 369.1 MB, free: 2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.1803, allocations: 43.33 kB / 369.1 MB, free: 1.961 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.1839, allocations: 1.125 MB / 370.2 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.1844, allocations: 0.7599 MB / 371 MB, free: 12 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2048/0.3892, allocations: 19.48 kB / 371 MB, free: 24.22 MB / 302.1 MB Notification: Performance of SimCode: time 2.154e-06/0.3893, allocations: 0 / 371 MB, free: 24.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01281/0.4021, allocations: 4.732 MB / 375.7 MB, free: 24.04 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifierCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifierCalcHelperMain.o] Error 1