Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001462/0.001462, allocations: 194 kB / 18.72 MB, free: 4.762 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.829/1.829, allocations: 205.1 MB / 224.6 MB, free: 12.46 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.001248/0.001248, allocations: 43.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1374, allocations: 46.64 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp): time 0.005659/0.1431, allocations: 2.761 MB / 330 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001615/0.1448, allocations: 0.7138 MB / 330.7 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.1449, allocations: 4 kB / 330.7 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.1451, allocations: 31.7 kB / 330.8 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1453, allocations: 75.44 kB / 330.8 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1456, allocations: 87.92 kB / 330.9 MB, free: 1.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.1459, allocations: 334.5 kB / 331.3 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.1461, allocations: 65.17 kB / 331.3 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000148/0.1463, allocations: 119.5 kB / 331.4 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1465, allocations: 143.3 kB / 331.6 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.1465, allocations: 20 kB / 331.6 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.1466, allocations: 16 kB / 331.6 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.1467, allocations: 59.7 kB / 331.7 MB, free: 452 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1468, allocations: 135.3 kB / 331.8 MB, free: 316 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.1471, allocations: 239.7 kB / 332 MB, free: 76 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.1471, allocations: 4 kB / 332 MB, free: 72 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1471, allocations: 0 / 332 MB, free: 72 kB / 270.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1471, allocations: 0 / 332 MB, free: 72 kB / 270.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.001492/0.1486, allocations: 0.6379 MB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.1487, allocations: 8.031 kB / 332.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.1488, allocations: 32.66 kB / 332.7 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.1491, allocations: 267.5 kB / 333 MB, free: 15.03 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.1492, allocations: 16.8 kB / 333 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.1492, allocations: 20.38 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006268/0.1499, allocations: 247.5 kB / 333.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1499, allocations: 0 / 333.3 MB, free: 14.75 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.1499, allocations: 15.98 kB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1499, allocations: 4 kB / 333.3 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007471/0.1507, allocations: 257.5 kB / 333.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.1523, allocations: 0.8774 MB / 334.4 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/0.153, allocations: 226.6 kB / 334.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.1533, allocations: 96.78 kB / 334.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.1534, allocations: 4 kB / 334.7 MB, free: 13.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005796/0.154, allocations: 181.7 kB / 334.9 MB, free: 13 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.154, allocations: 0 / 334.9 MB, free: 13 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.001935/0.1559, allocations: 0.5853 MB / 335.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/0.156, allocations: 106.8 kB / 335.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.1563, allocations: 260.8 kB / 335.8 MB, free: 11.99 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.1563, allocations: 33.7 kB / 335.9 MB, free: 11.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.1565, allocations: 163.9 kB / 336 MB, free: 11.79 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.1565, allocations: 47.36 kB / 336.1 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.247e-05/0.1566, allocations: 49.64 kB / 336.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1568, allocations: 334.8 kB / 336.5 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.1571, allocations: 96.78 kB / 336.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.1575, allocations: 163.4 kB / 336.7 MB, free: 11.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.1581, allocations: 251 kB / 337 MB, free: 10.8 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1581, allocations: 0 / 337 MB, free: 10.8 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00105/0.1591, allocations: 415.5 kB / 337.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.389e-05/0.1592, allocations: 33.7 kB / 337.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.1592, allocations: 0 / 337.4 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.1598, allocations: 108.7 kB / 337.5 MB, free: 10.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.16, allocations: 43.94 kB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002355/0.1624, allocations: 1.686 MB / 339.2 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.1627, allocations: 51.81 kB / 339.3 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.1627, allocations: 8 kB / 339.3 MB, free: 8.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003196/0.163, allocations: 180.1 kB / 339.5 MB, free: 8.121 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002984/0.1633, allocations: 147.6 kB / 339.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005137/0.1638, allocations: 230.7 kB / 339.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.343e-06/0.1639, allocations: 0 / 339.8 MB, free: 7.699 MB / 286.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0007735/0.1646, allocations: 335.5 kB / 340.2 MB, free: 7.355 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.1647, allocations: 29.7 kB / 340.2 MB, free: 7.32 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1647, allocations: 4 kB / 340.2 MB, free: 7.316 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000116/0.1648, allocations: 40.83 kB / 340.2 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/0.165, allocations: 48.09 kB / 340.3 MB, free: 7.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.1664, allocations: 1.545 MB / 341.8 MB, free: 5.547 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1667, allocations: 51.8 kB / 341.9 MB, free: 5.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.1667, allocations: 8 kB / 341.9 MB, free: 5.488 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.1669, allocations: 192.2 kB / 342.1 MB, free: 5.293 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.635e-05/0.167, allocations: 27.66 kB / 342.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.167, allocations: 25.89 kB / 342.1 MB, free: 5.242 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.167, allocations: 4 kB / 342.1 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.167, allocations: 0 / 342.1 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1671, allocations: 4 kB / 342.1 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.1674, allocations: 285.4 kB / 342.4 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1674, allocations: 0 / 342.4 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1676, allocations: 27.97 kB / 342.4 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002326/0.1678, allocations: 68.73 kB / 342.5 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1679, allocations: 8 kB / 342.5 MB, free: 4.801 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.1697, allocations: 1.585 MB / 344.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1697, allocations: 0 / 344.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.1705, allocations: 329.7 kB / 344.4 MB, free: 2.742 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.1706, allocations: 104.7 kB / 344.5 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.1706, allocations: 7.938 kB / 344.5 MB, free: 2.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.1709, allocations: 31.95 kB / 344.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.171, allocations: 19.92 kB / 344.6 MB, free: 2.562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.171, allocations: 11.98 kB / 344.6 MB, free: 2.551 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002365/0.1712, allocations: 180.5 kB / 344.8 MB, free: 2.379 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1712, allocations: 4 kB / 344.8 MB, free: 2.375 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005378/0.1718, allocations: 127.7 kB / 344.9 MB, free: 2.25 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002037/0.172, allocations: 103.2 kB / 345 MB, free: 2.137 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.1734, allocations: 0.6755 MB / 345.7 MB, free: 1.41 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1734, allocations: 4 kB / 345.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.1739, allocations: 239.2 kB / 345.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1742, allocations: 40.53 kB / 346 MB, free: 1.121 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.1754, allocations: 0.5471 MB / 346.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.176, allocations: 0.7483 MB / 347.3 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.1761, allocations: 23.42 kB / 347.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1761, allocations: 0 / 347.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of Templates: time 0.008879/0.1849, allocations: 4.163 MB / 351.4 MB, free: 11.57 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp.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.InvertingAmpCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmpCalcHelperMain.o] Error 1