Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008465/0.0008468, allocations: 89.53 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 197.9 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.781/1.781, allocations: 227.3 MB / 246.6 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000301/0.000301, allocations: 8 kB / 307.3 MB, free: 1.41 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 51.49 MB / 358.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004169/0.1563, allocations: 2.452 MB / 361.3 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1585, allocations: 0.7211 MB / 362 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.1589, allocations: 4 kB / 362 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002341/0.1592, allocations: 31.77 kB / 362 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.1596, allocations: 79.38 kB / 362.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.1601, allocations: 71.91 kB / 362.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006564/0.1607, allocations: 342.6 kB / 362.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003076/0.1611, allocations: 97.73 kB / 362.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004957/0.1616, allocations: 123.5 kB / 362.7 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.1618, allocations: 143.4 kB / 362.9 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.1619, allocations: 19.94 kB / 362.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.1619, allocations: 16 kB / 362.9 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.162, allocations: 55.69 kB / 362.9 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1621, allocations: 81.56 kB / 363 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1624, allocations: 323.3 kB / 363.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1625, allocations: 4 kB / 363.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1625, allocations: 0 / 363.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1625, allocations: 0 / 363.3 MB, free: 9.355 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001371/0.1639, allocations: 0.6379 MB / 364 MB, free: 8.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1639, allocations: 12.03 kB / 364 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.164, allocations: 31.62 kB / 364 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.1644, allocations: 283.5 kB / 364.3 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.1645, allocations: 12.56 kB / 364.3 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.922e-05/0.1645, allocations: 28 kB / 364.3 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.1653, allocations: 323.6 kB / 364.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1653, allocations: 0 / 364.7 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.1653, allocations: 16 kB / 364.7 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1654, allocations: 4 kB / 364.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007666/0.1661, allocations: 306 kB / 365 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.1681, allocations: 1.143 MB / 366.1 MB, free: 6.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008772/0.169, allocations: 290.5 kB / 366.4 MB, free: 6.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.1693, allocations: 116.8 kB / 366.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1693, allocations: 0 / 366.5 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/0.1699, allocations: 181 kB / 366.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.1699, allocations: 0 / 366.7 MB, free: 5.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001106/0.171, allocations: 369.2 kB / 367.1 MB, free: 5.414 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/0.1711, allocations: 77.11 kB / 367.1 MB, free: 5.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003409/0.1714, allocations: 266.5 kB / 367.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.1715, allocations: 33.7 kB / 367.4 MB, free: 5.016 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.1717, allocations: 191.5 kB / 367.6 MB, free: 4.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.806e-05/0.1717, allocations: 43.44 kB / 367.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.1718, allocations: 8 kB / 367.7 MB, free: 4.773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002475/0.172, allocations: 334.8 kB / 368 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003284/0.1724, allocations: 116.2 kB / 368.1 MB, free: 4.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.1728, allocations: 200.6 kB / 368.3 MB, free: 4.086 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1732, allocations: 161.6 kB / 368.5 MB, free: 3.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1732, allocations: 4 kB / 368.5 MB, free: 3.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009235/0.1741, allocations: 382.9 kB / 368.8 MB, free: 3.531 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.1742, allocations: 41.69 kB / 368.9 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.1742, allocations: 4 kB / 368.9 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.1742, allocations: 4 kB / 368.9 MB, free: 3.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.1745, allocations: 67.89 kB / 368.9 MB, free: 3.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.1746, allocations: 8.062 kB / 369 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.1749, allocations: 59.7 kB / 369 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.1749, allocations: 15.95 kB / 369 MB, free: 3.328 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (26): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.1751, allocations: 152.1 kB / 369.2 MB, free: 3.172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1751, allocations: 19.81 kB / 369.2 MB, free: 3.152 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.863e-05/0.1752, allocations: 25.7 kB / 369.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.1752, allocations: 4 kB / 369.2 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1752, allocations: 0 / 369.2 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1753, allocations: 0 / 369.2 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.1756, allocations: 313.3 kB / 369.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1757, allocations: 0 / 369.5 MB, free: 2.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.1759, allocations: 59.95 kB / 369.6 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.1759, allocations: 0 / 369.6 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.1759, allocations: 11.88 kB / 369.6 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.176, allocations: 0 / 369.6 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.176, allocations: 0 / 369.6 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.177, allocations: 408.7 kB / 370 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1772, allocations: 100.8 kB / 370.1 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.975e-05/0.1772, allocations: 4 kB / 370.1 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1774, allocations: 39.91 kB / 370.1 MB, free: 2.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.1775, allocations: 19.97 kB / 370.2 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1776, allocations: 4.062 kB / 370.2 MB, free: 2.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002292/0.1778, allocations: 186 kB / 370.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1778, allocations: 0 / 370.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003358/0.1781, allocations: 71.78 kB / 370.4 MB, free: 1.836 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.1784, allocations: 107.1 kB / 370.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008312/0.1792, allocations: 323.2 kB / 370.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1792, allocations: 0 / 370.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.1796, allocations: 116.4 kB / 370.9 MB, free: 1.281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.1799, allocations: 51.22 kB / 371 MB, free: 1.234 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1814, allocations: 0.655 MB / 371.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2713/0.4527, allocations: 0.7546 MB / 372.4 MB, free: 19.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001782/0.4529, allocations: 21.84 kB / 372.4 MB, free: 19.41 MB / 302.1 MB Notification: Performance of SimCode: time 2.084e-06/0.453, allocations: 0 / 372.4 MB, free: 19.41 MB / 302.1 MB Notification: Performance of Templates: time 0.008113/0.4611, allocations: 3.301 MB / 375.7 MB, free: 19.29 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.DifferentiatorCalcHelperMain.o OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentiatorCalcHelperMain.o] Error 1