Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001238/0.001238, allocations: 194 kB / 18.72 MB, free: 4.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.1 MB / 224.6 MB, free: 12.41 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 52.36 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1556, allocations: 46.63 MB / 327.3 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.007429/0.1631, allocations: 3.229 MB / 330.5 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.1664, allocations: 0.9906 MB / 331.5 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007535/0.1672, allocations: 4 kB / 331.5 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005251/0.1678, allocations: 47.61 kB / 331.5 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.1688, allocations: 111.2 kB / 331.6 MB, free: 488 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.1696, allocations: 127.8 kB / 331.8 MB, free: 360 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.1708, allocations: 458 kB / 332.2 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003745/0.1712, allocations: 115.8 kB / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.1715, allocations: 171.3 kB / 332.5 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004068/0.1719, allocations: 207.1 kB / 332.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.172, allocations: 28 kB / 332.7 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002208/0.1722, allocations: 55.97 kB / 332.8 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.1724, allocations: 75.67 kB / 332.8 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.1726, allocations: 206.9 kB / 333 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.1731, allocations: 375.3 kB / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1731, allocations: 0 / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1731, allocations: 0 / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.1731, allocations: 0 / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001566/0.1747, allocations: 0.7325 MB / 334.1 MB, free: 13.9 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1748, allocations: 19.97 kB / 334.2 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.1749, allocations: 40.47 kB / 334.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.1753, allocations: 307.3 kB / 334.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.1754, allocations: 25.03 kB / 334.5 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.508e-05/0.1755, allocations: 36.38 kB / 334.6 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007675/0.1762, allocations: 349.3 kB / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1763, allocations: 0 / 334.9 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.1763, allocations: 16 kB / 334.9 MB, free: 13.08 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1763, allocations: 12 kB / 334.9 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.1768, allocations: 230.5 kB / 335.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.1789, allocations: 1.182 MB / 336.3 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007067/0.1796, allocations: 283.5 kB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000483/0.1801, allocations: 213.1 kB / 336.8 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.1811, allocations: 1.113 MB / 337.9 MB, free: 9.711 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.1812, allocations: 38.8 kB / 338 MB, free: 9.664 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 2.585e-06/0.1812, allocations: 0 / 338 MB, free: 9.664 MB / 286.1 MB Notification: Performance of matching and sorting (n=27): time 0.001611/0.1828, allocations: 0.528 MB / 338.5 MB, free: 9.109 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.636e-05/0.1829, allocations: 81.11 kB / 338.6 MB, free: 9.012 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.1834, allocations: 341.6 kB / 338.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.1835, allocations: 29.7 kB / 338.9 MB, free: 8.637 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1837, allocations: 220.1 kB / 339.2 MB, free: 8.418 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1838, allocations: 98.56 kB / 339.3 MB, free: 8.32 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.184, allocations: 74.06 kB / 339.3 MB, free: 8.238 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002119/0.1842, allocations: 346.7 kB / 339.7 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/0.1845, allocations: 104.7 kB / 339.8 MB, free: 7.789 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.1848, allocations: 189.7 kB / 340 MB, free: 7.574 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005462/0.1853, allocations: 303.1 kB / 340.2 MB, free: 7.25 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1854, allocations: 0 / 340.2 MB, free: 7.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008954/0.1863, allocations: 429.2 kB / 340.7 MB, free: 6.82 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.1863, allocations: 4 kB / 340.7 MB, free: 6.816 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1863, allocations: 4 kB / 340.7 MB, free: 6.812 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/0.1867, allocations: 68.97 kB / 340.7 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.187, allocations: 79.83 kB / 340.8 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002347/0.1894, allocations: 1.752 MB / 342.6 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.1897, allocations: 43.7 kB / 342.6 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.1898, allocations: 8 kB / 342.6 MB, free: 4.73 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002345/0.19, allocations: 157.8 kB / 342.8 MB, free: 4.566 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.1901, allocations: 43.45 kB / 342.8 MB, free: 4.523 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.1908, allocations: 330.2 kB / 343.1 MB, free: 4.188 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.1909, allocations: 4 kB / 343.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1909, allocations: 0 / 343.1 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.1909, allocations: 8 kB / 343.2 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.1914, allocations: 401.2 kB / 343.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1914, allocations: 0 / 343.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.1918, allocations: 51.91 kB / 343.6 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/0.192, allocations: 60.81 kB / 343.7 MB, free: 3.621 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.1921, allocations: 8 kB / 343.7 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006942/0.1928, allocations: 0.6146 MB / 344.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1928, allocations: 0 / 344.3 MB, free: 2.973 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009977/0.1938, allocations: 0.5171 MB / 344.8 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/0.194, allocations: 136.6 kB / 344.9 MB, free: 2.285 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.1941, allocations: 8 kB / 344.9 MB, free: 2.277 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.1944, allocations: 19.98 kB / 345 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/0.1944, allocations: 15.97 kB / 345 MB, free: 2.242 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.1945, allocations: 8 kB / 345 MB, free: 2.234 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002902/0.1947, allocations: 243.2 kB / 345.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1948, allocations: 4 kB / 345.2 MB, free: 2 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005017/0.1953, allocations: 111.8 kB / 345.3 MB, free: 1.891 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002619/0.1955, allocations: 119.2 kB / 345.4 MB, free: 1.762 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009696/0.1965, allocations: 422.7 kB / 345.9 MB, free: 1.336 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.1965, allocations: 0 / 345.9 MB, free: 1.336 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.1969, allocations: 139.8 kB / 346 MB, free: 1.199 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005395/0.1974, allocations: 45.34 kB / 346 MB, free: 1.152 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.199, allocations: 1.023 MB / 347.1 MB, free: 100 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004365/0.1995, allocations: 0.7989 MB / 347.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.1996, allocations: 27.42 kB / 347.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1996, allocations: 0 / 347.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of Templates: time 0.008281/0.2079, allocations: 5.405 MB / 353.3 MB, free: 9.836 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.o] Error 1