Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001146/0.001146, allocations: 90.72 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.001572/0.001572, allocations: 196.1 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.786/1.786, allocations: 227.3 MB / 246.6 MB, free: 10.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002735, allocations: 8 kB / 307.3 MB, free: 1.395 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 51.49 MB / 358.8 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.003013/0.1289, allocations: 2.343 MB / 361.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1301, allocations: 0.6821 MB / 361.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.1303, allocations: 4 kB / 361.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.1304, allocations: 31.77 kB / 361.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001599/0.1306, allocations: 75.39 kB / 361.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.1308, allocations: 63.91 kB / 362 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003077/0.1312, allocations: 314.6 kB / 362.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.1314, allocations: 65.12 kB / 362.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1315, allocations: 107.6 kB / 362.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1317, allocations: 127.4 kB / 362.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.1317, allocations: 12 kB / 362.6 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.1318, allocations: 16 kB / 362.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.1319, allocations: 51.75 kB / 362.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.1319, allocations: 81.52 kB / 362.8 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.1322, allocations: 231.6 kB / 363 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1322, allocations: 0 / 363 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1322, allocations: 0 / 363 MB, free: 9.699 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1322, allocations: 0 / 363 MB, free: 9.699 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001207/0.1335, allocations: 0.6028 MB / 363.6 MB, free: 9.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.1335, allocations: 16.03 kB / 363.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.1336, allocations: 27.62 kB / 363.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1339, allocations: 262.5 kB / 363.9 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.134, allocations: 20.39 kB / 363.9 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.134, allocations: 20 kB / 363.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.1346, allocations: 293.7 kB / 364.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1347, allocations: 0 / 364.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.825e-05/0.1347, allocations: 12 kB / 364.2 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1347, allocations: 7.938 kB / 364.2 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.1354, allocations: 273.6 kB / 364.5 MB, free: 8.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.137, allocations: 0.918 MB / 365.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.1384, allocations: 0.4955 MB / 365.9 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.1387, allocations: 108.7 kB / 366 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1388, allocations: 4 kB / 366 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004662/0.1392, allocations: 177.8 kB / 366.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.1392, allocations: 0 / 366.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.00188/0.1411, allocations: 0.6473 MB / 366.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.5e-05/0.1412, allocations: 106.8 kB / 366.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.1415, allocations: 266.7 kB / 367.2 MB, free: 5.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.1416, allocations: 33.7 kB / 367.2 MB, free: 5.137 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1417, allocations: 187.6 kB / 367.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.644e-05/0.1418, allocations: 35.55 kB / 367.5 MB, free: 4.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.1418, allocations: 4 kB / 367.5 MB, free: 4.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.142, allocations: 326.8 kB / 367.8 MB, free: 4.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.1423, allocations: 111.9 kB / 367.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.1427, allocations: 214.7 kB / 368.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.143, allocations: 157.6 kB / 368.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.143, allocations: 0 / 368.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001131/0.1442, allocations: 471.5 kB / 368.7 MB, free: 3.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.231e-05/0.1442, allocations: 37.69 kB / 368.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.1442, allocations: 4.141 kB / 368.8 MB, free: 3.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003086/0.1446, allocations: 64.81 kB / 368.8 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.1448, allocations: 63.84 kB / 368.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.1469, allocations: 1.53 MB / 370.4 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.1473, allocations: 67.7 kB / 370.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1473, allocations: 8 kB / 370.5 MB, free: 1.668 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.1475, allocations: 154.3 kB / 370.6 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.1475, allocations: 23.72 kB / 370.7 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.177e-05/0.1476, allocations: 21.7 kB / 370.7 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1476, allocations: 0 / 370.7 MB, free: 1.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1476, allocations: 4 kB / 370.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1476, allocations: 0 / 370.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.1488, allocations: 0.6748 MB / 371.4 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1488, allocations: 0 / 371.4 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.1489, allocations: 31.97 kB / 371.4 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.1491, allocations: 64.86 kB / 371.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.1492, allocations: 3.984 kB / 371.5 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2881/0.4372, allocations: 1.51 MB / 373 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4373, allocations: 4.625 kB / 373 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.4385, allocations: 429.8 kB / 373.4 MB, free: 18.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4386, allocations: 102.8 kB / 373.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.22e-05/0.4387, allocations: 2.969 kB / 373.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.439, allocations: 41.66 kB / 373.5 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.4391, allocations: 19 kB / 373.6 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.4392, allocations: 3.641 kB / 373.6 MB, free: 18.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003018/0.4395, allocations: 194.5 kB / 373.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4395, allocations: 0.625 kB / 373.7 MB, free: 18.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004618/0.4399, allocations: 69.44 kB / 373.8 MB, free: 18.38 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/0.4401, allocations: 98.67 kB / 373.9 MB, free: 18.3 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.4413, allocations: 419.8 kB / 374.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4413, allocations: 0 / 374.3 MB, free: 18.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004761/0.4418, allocations: 219.4 kB / 374.5 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.4423, allocations: 56.73 kB / 374.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4435, allocations: 0.539 MB / 375.1 MB, free: 17.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.4438, allocations: 0.7433 MB / 375.9 MB, free: 17.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.4439, allocations: 20.73 kB / 375.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4439, allocations: 0 / 375.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of Templates: time 0.01178/0.4557, allocations: 4.09 MB / 380 MB, free: 16.79 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.OpAmps.VoltageFollowerCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollowerCalcHelperMain.o] Error 1