Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000972/0.0009723, allocations: 91.48 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 203.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.654/1.654, allocations: 227.3 MB / 246.6 MB, free: 12.05 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003185, allocations: 4 kB / 307.3 MB, free: 1.625 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1393, allocations: 51.5 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00352/0.1429, allocations: 2.753 MB / 361.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1447, allocations: 0.9629 MB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1449, allocations: 4 kB / 362.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.145, allocations: 43.67 kB / 362.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.1454, allocations: 107.1 kB / 362.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1457, allocations: 107.8 kB / 362.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.1461, allocations: 446 kB / 363.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002508/0.1463, allocations: 106.5 kB / 363.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.1466, allocations: 159.4 kB / 363.5 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002288/0.1469, allocations: 179.2 kB / 363.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.1469, allocations: 24 kB / 363.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1471, allocations: 59.95 kB / 363.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.159e-05/0.1472, allocations: 71.67 kB / 363.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.488e-05/0.1473, allocations: 93.52 kB / 363.9 MB, free: 8.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.1477, allocations: 371.2 kB / 364.2 MB, free: 8.633 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.1477, allocations: 4 kB / 364.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.1477, allocations: 0 / 364.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1477, allocations: 0 / 364.3 MB, free: 8.629 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001258/0.149, allocations: 0.674 MB / 364.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.149, allocations: 8.031 kB / 364.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.1492, allocations: 59.42 kB / 365 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/0.1496, allocations: 294.3 kB / 365.3 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.1496, allocations: 24.66 kB / 365.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/0.1497, allocations: 43.86 kB / 365.3 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.1504, allocations: 356.9 kB / 365.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1504, allocations: 0 / 365.7 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.18e-05/0.1505, allocations: 16 kB / 365.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.1505, allocations: 8 kB / 365.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004859/0.151, allocations: 242.5 kB / 366 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.1529, allocations: 1.178 MB / 367.1 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/0.1536, allocations: 295.7 kB / 367.4 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004536/0.1541, allocations: 223.7 kB / 367.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001017/0.1551, allocations: 1.121 MB / 368.8 MB, free: 3.672 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/0.1552, allocations: 34.8 kB / 368.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 2.415e-06/0.1552, allocations: 0 / 368.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001465/0.1567, allocations: 0.5501 MB / 369.3 MB, free: 3.055 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.1568, allocations: 81.11 kB / 369.4 MB, free: 2.957 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.1571, allocations: 332.4 kB / 369.7 MB, free: 2.625 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.1572, allocations: 33.7 kB / 369.8 MB, free: 2.586 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1573, allocations: 208.1 kB / 370 MB, free: 2.375 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.987e-05/0.1574, allocations: 110.6 kB / 370.1 MB, free: 2.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/0.1575, allocations: 8 kB / 370.1 MB, free: 2.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1577, allocations: 342.8 kB / 370.4 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.1579, allocations: 112.7 kB / 370.5 MB, free: 1.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.1582, allocations: 189.5 kB / 370.7 MB, free: 1.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.1585, allocations: 131.9 kB / 370.9 MB, free: 1.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.1585, allocations: 4 kB / 370.9 MB, free: 1.453 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007796/0.1593, allocations: 437.8 kB / 371.3 MB, free: 1.016 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1593, allocations: 12.2 kB / 371.3 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.1593, allocations: 4 kB / 371.3 MB, free: 1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002602/0.1596, allocations: 60.81 kB / 371.4 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.1599, allocations: 83.83 kB / 371.4 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3176/0.4775, allocations: 1.752 MB / 373.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/0.478, allocations: 46.81 kB / 373.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.4781, allocations: 15.19 kB / 373.3 MB, free: 18.39 MB / 302.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 (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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002301/0.4783, allocations: 154.3 kB / 373.4 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.4784, allocations: 32.16 kB / 373.4 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.4793, allocations: 344.4 kB / 373.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.4793, allocations: 2.984 kB / 373.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4793, allocations: 3.875 kB / 373.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4793, allocations: 4.828 kB / 373.8 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.4799, allocations: 397.2 kB / 374.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.4799, allocations: 3.812 kB / 374.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.4803, allocations: 59.11 kB / 374.2 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002505/0.4805, allocations: 57.59 kB / 374.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.4806, allocations: 7.547 kB / 374.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004048/0.481, allocations: 0.6083 MB / 374.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.481, allocations: 0.6094 kB / 374.9 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.4822, allocations: 0.5318 MB / 375.4 MB, free: 17.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4823, allocations: 119.3 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.4823, allocations: 6.844 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4826, allocations: 24.69 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.418e-05/0.4827, allocations: 15.77 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.4827, allocations: 12.88 kB / 375.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003668/0.4831, allocations: 232.5 kB / 375.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4831, allocations: 0 / 375.8 MB, free: 17.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005587/0.4837, allocations: 112.3 kB / 376 MB, free: 17.14 MB / 302.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 (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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002707/0.484, allocations: 129.5 kB / 376.1 MB, free: 17.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.485, allocations: 438.1 kB / 376.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.485, allocations: 0.5 kB / 376.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.4855, allocations: 148.2 kB / 376.7 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.4859, allocations: 46.8 kB / 376.7 MB, free: 16.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.4875, allocations: 1.082 MB / 377.8 MB, free: 16.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4878, allocations: 0.7901 MB / 378.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.488, allocations: 29.22 kB / 378.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.488, allocations: 0 / 378.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of Templates: time 0.01171/0.4997, allocations: 5.357 MB / 384 MB, free: 14.86 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.o] Error 1