Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001217/0.001217, allocations: 91.36 kB / 16.96 MB, free: 6.457 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.001075/0.001075, allocations: 180.2 kB / 17.85 MB, free: 6 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.57/1.57, allocations: 223.2 MB / 241.9 MB, free: 324 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 9.031 kB / 301.5 MB, free: 6.453 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1138, allocations: 50.41 MB / 351.9 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003069/0.117, allocations: 2.739 MB / 354.6 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001493/0.1185, allocations: 0.9046 MB / 355.5 MB, free: 360 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1187, allocations: 4 kB / 355.5 MB, free: 356 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.1188, allocations: 47.61 kB / 355.6 MB, free: 308 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.1191, allocations: 111.2 kB / 355.7 MB, free: 196 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1194, allocations: 103.7 kB / 355.8 MB, free: 92 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003892/0.1198, allocations: 441.9 kB / 356.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.12, allocations: 98.55 kB / 356.3 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.1202, allocations: 163.4 kB / 356.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.1204, allocations: 183.2 kB / 356.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.1204, allocations: 24 kB / 356.7 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1206, allocations: 51.97 kB / 356.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.632e-05/0.1206, allocations: 71.67 kB / 356.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.1207, allocations: 93.52 kB / 356.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1211, allocations: 359.2 kB / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1211, allocations: 0 / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1211, allocations: 3.938 kB / 357.2 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1211, allocations: 3.938 kB / 357.2 MB, free: 14.61 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.001156/0.1223, allocations: 0.6896 MB / 357.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1223, allocations: 8.031 kB / 357.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/0.1224, allocations: 47.39 kB / 358 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.1227, allocations: 294.3 kB / 358.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.1228, allocations: 28.66 kB / 358.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.1228, allocations: 39.91 kB / 358.3 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.1235, allocations: 349 kB / 358.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1235, allocations: 0 / 358.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.254e-05/0.1235, allocations: 12 kB / 358.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1235, allocations: 8 kB / 358.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004733/0.124, allocations: 250.5 kB / 358.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.1259, allocations: 1.178 MB / 360.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.1266, allocations: 299.7 kB / 360.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004742/0.1271, allocations: 221.1 kB / 360.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008484/0.1279, allocations: 1.117 MB / 361.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.128, allocations: 42.8 kB / 361.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.128, allocations: 0 / 361.8 MB, free: 9.613 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001331/0.1293, allocations: 0.5406 MB / 362.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.1294, allocations: 85.06 kB / 362.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.1298, allocations: 332.5 kB / 362.7 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1298, allocations: 41.58 kB / 362.8 MB, free: 8.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.13, allocations: 216.1 kB / 363 MB, free: 8.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.1301, allocations: 98.56 kB / 363.1 MB, free: 8.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.956e-05/0.1301, allocations: 8 kB / 363.1 MB, free: 8.242 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1303, allocations: 346.8 kB / 363.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/0.1305, allocations: 108.7 kB / 363.5 MB, free: 7.785 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.1308, allocations: 193.7 kB / 363.7 MB, free: 7.566 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1311, allocations: 128 kB / 363.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/0.1311, allocations: 0 / 363.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008091/0.1319, allocations: 441.2 kB / 364.3 MB, free: 7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.132, allocations: 11.94 kB / 364.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.132, allocations: 0 / 364.3 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.1323, allocations: 60.81 kB / 364.3 MB, free: 6.926 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.1326, allocations: 83.89 kB / 364.4 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.1345, allocations: 1.764 MB / 366.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.1348, allocations: 47.58 kB / 366.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.1348, allocations: 16 kB / 366.3 MB, free: 4.887 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.0001935/0.135, allocations: 153.8 kB / 366.4 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.1351, allocations: 35.61 kB / 366.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/0.1358, allocations: 346.3 kB / 366.8 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1358, allocations: 8 kB / 366.8 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.1358, allocations: 3.938 kB / 366.8 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1359, allocations: 0 / 366.8 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.1363, allocations: 397.2 kB / 367.2 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1363, allocations: 0 / 367.2 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003098/0.1366, allocations: 51.97 kB / 367.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/0.1369, allocations: 68.75 kB / 367.3 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.1369, allocations: 4 kB / 367.3 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005949/0.1375, allocations: 0.5993 MB / 367.9 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1375, allocations: 0 / 367.9 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008973/0.1384, allocations: 0.5405 MB / 368.4 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/0.1385, allocations: 116.6 kB / 368.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.602e-05/0.1386, allocations: 8 kB / 368.6 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1388, allocations: 23.98 kB / 368.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/0.1389, allocations: 31.84 kB / 368.6 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1389, allocations: 4 kB / 368.6 MB, free: 2.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002383/0.1391, allocations: 239 kB / 368.9 MB, free: 2.145 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1391, allocations: 4 kB / 368.9 MB, free: 2.141 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004636/0.1396, allocations: 99.84 kB / 369 MB, free: 2.043 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.000222/0.1398, allocations: 139 kB / 369.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007915/0.1406, allocations: 426.4 kB / 369.5 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1407, allocations: 0 / 369.5 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003251/0.141, allocations: 140.4 kB / 369.6 MB, free: 1.328 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004116/0.1414, allocations: 44.55 kB / 369.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.1429, allocations: 1.072 MB / 370.8 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2306/0.3735, allocations: 0.7892 MB / 371.5 MB, free: 24.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.3738, allocations: 31.06 kB / 371.6 MB, free: 24.22 MB / 302.1 MB Notification: Performance of SimCode: time 4.368e-06/0.3738, allocations: 0 / 371.6 MB, free: 24.22 MB / 302.1 MB Notification: Performance of Templates: time 0.01268/0.3865, allocations: 5.348 MB / 376.9 MB, free: 23.91 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailedCalcHelperMain.o] Error 1