Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 98.55 kB / 17.96 MB, free: 5.77 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.001308/0.001309, allocations: 176.1 kB / 18.86 MB, free: 4.906 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.853/1.853, allocations: 205.4 MB / 225 MB, free: 12.98 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.0004902/0.0004901, allocations: 12 kB / 282 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1187, allocations: 47.58 MB / 329.6 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003104/0.1218, allocations: 2.29 MB / 331.9 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1232, allocations: 0.6983 MB / 332.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.1233, allocations: 4 kB / 332.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001355/0.1235, allocations: 23.77 kB / 332.6 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1236, allocations: 71.45 kB / 332.7 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1239, allocations: 79.91 kB / 332.8 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.1243, allocations: 310.7 kB / 333.1 MB, free: 240 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.1245, allocations: 73.09 kB / 333.2 MB, free: 172 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.1247, allocations: 103.6 kB / 333.3 MB, free: 68 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1249, allocations: 119.5 kB / 333.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.397e-05/0.1249, allocations: 16 kB / 333.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-05/0.125, allocations: 16 kB / 333.4 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.125, allocations: 51.61 kB / 333.5 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1252, allocations: 137.1 kB / 333.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1255, allocations: 227.6 kB / 333.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.1255, allocations: 3.984 kB / 333.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1255, allocations: 0 / 333.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.261e-06/0.1255, allocations: 8 kB / 333.8 MB, free: 15.49 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0012/0.1267, allocations: 0.5793 MB / 334.4 MB, free: 14.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1268, allocations: 12.03 kB / 334.4 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.706e-05/0.1268, allocations: 28.56 kB / 334.4 MB, free: 14.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.1272, allocations: 271.5 kB / 334.7 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.433e-05/0.1272, allocations: 12.75 kB / 334.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.1273, allocations: 24.31 kB / 334.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006086/0.1279, allocations: 252.6 kB / 335 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1279, allocations: 0 / 335 MB, free: 14.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.1279, allocations: 15.94 kB / 335 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.128, allocations: 4 kB / 335 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007798/0.1287, allocations: 287.5 kB / 335.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.1304, allocations: 0.8442 MB / 336.1 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009232/0.1313, allocations: 266.6 kB / 336.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.1316, allocations: 108.8 kB / 336.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.1317, allocations: 7.984 kB / 336.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005503/0.1323, allocations: 177 kB / 336.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.1323, allocations: 0 / 336.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001012/0.1333, allocations: 337.1 kB / 337 MB, free: 12.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.1334, allocations: 85.11 kB / 337.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.1336, allocations: 233 kB / 337.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.1337, allocations: 33.7 kB / 337.4 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.1338, allocations: 163.9 kB / 337.5 MB, free: 11.55 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.1339, allocations: 43.45 kB / 337.6 MB, free: 11.5 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1339, allocations: 21.7 kB / 337.6 MB, free: 11.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1341, allocations: 330.8 kB / 337.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.1344, allocations: 107.9 kB / 338 MB, free: 11.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.1348, allocations: 162.7 kB / 338.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006262/0.1354, allocations: 278.8 kB / 338.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.1354, allocations: 0 / 338.4 MB, free: 10.56 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007725/0.1362, allocations: 354.5 kB / 338.8 MB, free: 10.2 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001181/0.1363, allocations: 163.9 kB / 339 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1363, allocations: 0 / 339 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1364, allocations: 4 kB / 339 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/0.1366, allocations: 67.89 kB / 339 MB, free: 9.941 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1366, allocations: 4 kB / 339 MB, free: 9.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.1369, allocations: 47.8 kB / 339.1 MB, free: 9.891 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1369, allocations: 15.98 kB / 339.1 MB, free: 9.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.528e-06/0.137, allocations: 4 kB / 339.1 MB, free: 9.871 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006241/0.1376, allocations: 273.5 kB / 339.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.1376, allocations: 0 / 339.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.112e-06/0.1376, allocations: 7.938 kB / 339.4 MB, free: 9.59 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.1378, allocations: 59.89 kB / 339.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1379, allocations: 8.031 kB / 339.4 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.1381, allocations: 35.88 kB / 339.5 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1381, allocations: 8 kB / 339.5 MB, free: 9.48 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.1383, allocations: 213 kB / 339.7 MB, free: 9.262 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.1383, allocations: 23.72 kB / 339.7 MB, free: 9.238 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.964e-05/0.1384, allocations: 33.77 kB / 339.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1384, allocations: 0 / 339.7 MB, free: 9.207 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1384, allocations: 3.938 kB / 339.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1384, allocations: 0 / 339.7 MB, free: 9.203 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.1387, allocations: 281.5 kB / 340 MB, free: 8.879 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.1387, allocations: 3.984 kB / 340 MB, free: 8.875 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.139, allocations: 47.91 kB / 340.1 MB, free: 8.828 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.139, allocations: 8 kB / 340.1 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.139, allocations: 11.92 kB / 340.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.139, allocations: 0 / 340.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.139, allocations: 0 / 340.1 MB, free: 8.809 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.14, allocations: 389.1 kB / 340.5 MB, free: 8.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.1401, allocations: 96.89 kB / 340.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.1401, allocations: 7.938 kB / 340.6 MB, free: 8.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1404, allocations: 44.02 kB / 340.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.1405, allocations: 11.98 kB / 340.6 MB, free: 8.234 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.1405, allocations: 4 kB / 340.6 MB, free: 8.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001892/0.1407, allocations: 172.5 kB / 340.8 MB, free: 8.062 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 3.938 kB / 340.8 MB, free: 8.059 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004019/0.1411, allocations: 103.8 kB / 340.9 MB, free: 7.957 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001913/0.1413, allocations: 103.2 kB / 341 MB, free: 7.848 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00112/0.1424, allocations: 474.8 kB / 341.5 MB, free: 7.359 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.1424, allocations: 0 / 341.5 MB, free: 7.359 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003165/0.1428, allocations: 108.2 kB / 341.6 MB, free: 7.254 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1431, allocations: 40.36 kB / 341.6 MB, free: 7.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.1443, allocations: 0.6229 MB / 342.2 MB, free: 6.559 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1446, allocations: 0.7404 MB / 343 MB, free: 5.793 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.256e-05/0.1447, allocations: 19.44 kB / 343 MB, free: 5.773 MB / 286.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1447, allocations: 0 / 343 MB, free: 5.773 MB / 286.1 MB Notification: Performance of Templates: time 0.005518/0.1503, allocations: 2.899 MB / 345.9 MB, free: 2.875 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.OpAmps.DifferentiatorCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.o] Error 1