Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.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 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009705/0.0009706, allocations: 96.98 kB / 16.95 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.00104/0.001041, allocations: 183.3 kB / 17.85 MB, free: 5.316 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.559/1.559, allocations: 223.2 MB / 241.8 MB, free: 340 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.000307, allocations: 9.219 kB / 301.5 MB, free: 6.461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 50.41 MB / 351.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004969/0.1332, allocations: 2.367 MB / 354.2 MB, free: 1.652 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001996/0.1352, allocations: 0.6158 MB / 354.9 MB, free: 1.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002686/0.1355, allocations: 4 kB / 354.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.1358, allocations: 31.75 kB / 354.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.1361, allocations: 79.39 kB / 355 MB, free: 0.918 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1366, allocations: 67.84 kB / 355 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006055/0.1372, allocations: 334.4 kB / 355.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.1376, allocations: 86.34 kB / 355.4 MB, free: 444 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.1379, allocations: 127.5 kB / 355.6 MB, free: 316 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002782/0.1382, allocations: 139.4 kB / 355.7 MB, free: 176 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.55e-05/0.1383, allocations: 20 kB / 355.7 MB, free: 156 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.933e-05/0.1384, allocations: 16 kB / 355.7 MB, free: 140 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.693e-05/0.1385, allocations: 55.75 kB / 355.8 MB, free: 84 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.1386, allocations: 77.58 kB / 355.9 MB, free: 0 / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.1391, allocations: 279.6 kB / 356.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.1391, allocations: 3.938 kB / 356.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1391, allocations: 0 / 356.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.706e-06/0.1391, allocations: 0 / 356.1 MB, free: 15.72 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001756/0.1409, allocations: 0.6185 MB / 356.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.1409, allocations: 12.03 kB / 356.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.1411, allocations: 35.58 kB / 356.8 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.1416, allocations: 267.4 kB / 357.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/0.1417, allocations: 24.39 kB / 357.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.064e-05/0.1418, allocations: 20 kB / 357.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.1428, allocations: 315.3 kB / 357.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.1429, allocations: 0 / 357.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.689e-05/0.1429, allocations: 12 kB / 357.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.143, allocations: 4 kB / 357.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001162/0.1441, allocations: 281.5 kB / 357.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.1469, allocations: 1.113 MB / 358.8 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.148, allocations: 246.5 kB / 359.1 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.1484, allocations: 96.8 kB / 359.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.1485, allocations: 7.953 kB / 359.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007186/0.1492, allocations: 177.9 kB / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 4.748e-06/0.1493, allocations: 0 / 359.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.002837/0.1521, allocations: 0.5457 MB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.1522, allocations: 106.8 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005872/0.1528, allocations: 294.5 kB / 360.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.1529, allocations: 25.7 kB / 360.3 MB, free: 11.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.1532, allocations: 195.6 kB / 360.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.1533, allocations: 43.44 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.101e-05/0.1533, allocations: 4 kB / 360.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002753/0.1536, allocations: 338.8 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004955/0.1541, allocations: 100.2 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.1547, allocations: 215 kB / 361.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.1552, allocations: 149.6 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.1552, allocations: 4 kB / 361.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001684/0.1569, allocations: 443.7 kB / 361.8 MB, free: 9.711 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.157, allocations: 37.64 kB / 361.8 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.157, allocations: 4 kB / 361.8 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.1576, allocations: 76.83 kB / 361.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.1579, allocations: 47.97 kB / 361.9 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003647/0.1616, allocations: 1.594 MB / 363.5 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005539/0.1622, allocations: 59.84 kB / 363.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.1622, allocations: 12 kB / 363.6 MB, free: 7.742 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 (23): * Single equations (assignments): 21 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.000312/0.1626, allocations: 157.3 kB / 363.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.291e-05/0.1626, allocations: 27.72 kB / 363.8 MB, free: 7.555 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.513e-05/0.1627, allocations: 21.7 kB / 363.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1627, allocations: 4 kB / 363.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1628, allocations: 0 / 363.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1628, allocations: 0 / 363.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.1633, allocations: 297.5 kB / 364.1 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.1634, allocations: 3.953 kB / 364.1 MB, free: 7.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1635, allocations: 27.97 kB / 364.1 MB, free: 7.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/0.1639, allocations: 64.8 kB / 364.2 MB, free: 7.098 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.1639, allocations: 15.92 kB / 364.2 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003039/0.167, allocations: 1.581 MB / 365.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.167, allocations: 192 / 365.8 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.1684, allocations: 337.4 kB / 366.1 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.1686, allocations: 116.8 kB / 366.2 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.1687, allocations: 4 kB / 366.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.1691, allocations: 35.97 kB / 366.3 MB, free: 4.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.1692, allocations: 31.91 kB / 366.3 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.1693, allocations: 4 kB / 366.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000349/0.1696, allocations: 198 kB / 366.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1696, allocations: 0 / 366.5 MB, free: 4.613 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007427/0.1704, allocations: 79.84 kB / 366.6 MB, free: 4.535 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 (7): * Single equations (assignments): 4 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002614/0.1706, allocations: 103.7 kB / 366.7 MB, free: 4.426 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.1721, allocations: 429.9 kB / 367.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.1722, allocations: 0 / 367.1 MB, free: 3.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00066/0.1728, allocations: 239.2 kB / 367.3 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.1734, allocations: 36.88 kB / 367.4 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.175, allocations: 0.5761 MB / 367.9 MB, free: 3.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.1756, allocations: 0.7482 MB / 368.7 MB, free: 2.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.1757, allocations: 19.44 kB / 368.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1758, allocations: 0 / 368.7 MB, free: 2.297 MB / 302.1 MB Notification: Performance of Templates: time 0.3462/0.5219, allocations: 4.374 MB / 373.1 MB, free: 24.44 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmpCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.o] Error 1