Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.0009218/0.000922, allocations: 98.31 kB / 17.96 MB, free: 5.754 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.0009682/0.0009686, allocations: 181.5 kB / 18.86 MB, free: 4.895 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.827/1.827, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005559/0.0005559, allocations: 16 kB / 282 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 47.58 MB / 329.6 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004069/0.1369, allocations: 2.426 MB / 332 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.1388, allocations: 0.6749 MB / 332.7 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003383/0.1391, allocations: 8 kB / 332.7 MB, free: 0.6289 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.1394, allocations: 35.75 kB / 332.8 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.1398, allocations: 75.38 kB / 332.8 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.1402, allocations: 67.94 kB / 332.9 MB, free: 464 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004062/0.1406, allocations: 358.5 kB / 333.2 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.1409, allocations: 99.59 kB / 333.3 MB, free: 4 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1411, allocations: 127.4 kB / 333.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1414, allocations: 151.3 kB / 333.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.1414, allocations: 20 kB / 333.6 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.585e-05/0.1415, allocations: 20 kB / 333.7 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.1415, allocations: 51.77 kB / 333.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1417, allocations: 176.9 kB / 333.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.142, allocations: 279.4 kB / 334.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.142, allocations: 0 / 334.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1421, allocations: 0 / 334.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1421, allocations: 0 / 334.2 MB, free: 15.19 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001367/0.1434, allocations: 0.6109 MB / 334.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1435, allocations: 12.03 kB / 334.8 MB, free: 14.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.1436, allocations: 36.5 kB / 334.8 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.144, allocations: 268.7 kB / 335.1 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.144, allocations: 20.94 kB / 335.1 MB, free: 14.15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.1441, allocations: 24.38 kB / 335.1 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.1448, allocations: 319.6 kB / 335.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1448, allocations: 3.984 kB / 335.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.1448, allocations: 12 kB / 335.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1449, allocations: 8 kB / 335.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000799/0.1457, allocations: 273.6 kB / 335.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.1474, allocations: 1.109 MB / 336.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008135/0.1483, allocations: 238.6 kB / 337.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003256/0.1486, allocations: 112.7 kB / 337.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.1486, allocations: 7.984 kB / 337.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005282/0.1492, allocations: 177.8 kB / 337.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.054e-06/0.1492, allocations: 0 / 337.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.002204/0.1514, allocations: 0.5496 MB / 337.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.1515, allocations: 110.8 kB / 338 MB, free: 11.04 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.1518, allocations: 282.6 kB / 338.3 MB, free: 10.76 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.1519, allocations: 29.7 kB / 338.3 MB, free: 10.72 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.152, allocations: 199.5 kB / 338.5 MB, free: 10.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.098e-05/0.1521, allocations: 39.48 kB / 338.5 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1521, allocations: 33.7 kB / 338.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1523, allocations: 326.8 kB / 338.9 MB, free: 10.12 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.1526, allocations: 108.1 kB / 339 MB, free: 10.01 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.1531, allocations: 210.1 kB / 339.2 MB, free: 9.758 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.1538, allocations: 325.1 kB / 339.5 MB, free: 9.395 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1538, allocations: 11.88 kB / 339.5 MB, free: 9.383 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00126/0.1551, allocations: 447.7 kB / 340 MB, free: 8.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.004e-05/0.1552, allocations: 33.69 kB / 340 MB, free: 8.891 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.1552, allocations: 4 kB / 340 MB, free: 8.887 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004188/0.1556, allocations: 72.84 kB / 340.1 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.1559, allocations: 59.89 kB / 340.1 MB, free: 8.754 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002542/0.1584, allocations: 1.598 MB / 341.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000378/0.1588, allocations: 63.59 kB / 341.8 MB, free: 6.961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.1588, allocations: 15.98 kB / 341.8 MB, free: 6.945 MB / 286.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 (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 (23): * 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: 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.0002226/0.1591, allocations: 157.7 kB / 342 MB, free: 6.781 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/0.1591, allocations: 27.66 kB / 342 MB, free: 6.754 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.735e-05/0.1592, allocations: 21.7 kB / 342 MB, free: 6.73 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1592, allocations: 4 kB / 342 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1592, allocations: 0 / 342 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1592, allocations: 0 / 342 MB, free: 6.727 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.1595, allocations: 305.4 kB / 342.3 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1596, allocations: 3.938 kB / 342.3 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.1597, allocations: 23.98 kB / 342.4 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.16, allocations: 68.8 kB / 342.4 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.16, allocations: 11.94 kB / 342.4 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.162, allocations: 1.574 MB / 344 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1621, allocations: 0 / 344 MB, free: 4.562 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1631, allocations: 341.4 kB / 344.3 MB, free: 4.207 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1632, allocations: 116.8 kB / 344.5 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1633, allocations: 3.984 kB / 344.5 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.1635, allocations: 39.97 kB / 344.5 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.883e-05/0.1636, allocations: 19.97 kB / 344.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.1637, allocations: 4 kB / 344.5 MB, free: 4.008 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.1639, allocations: 198 kB / 344.7 MB, free: 3.812 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.824e-06/0.1639, allocations: 0 / 344.7 MB, free: 3.812 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.1642, allocations: 83.78 kB / 344.8 MB, free: 3.73 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 (7): * Single equations (assignments): 4 * 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.0001663/0.1644, allocations: 99.25 kB / 344.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.1655, allocations: 434 kB / 345.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1655, allocations: 4 kB / 345.3 MB, free: 3.168 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.166, allocations: 235.1 kB / 345.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1663, allocations: 48.78 kB / 345.6 MB, free: 2.879 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1675, allocations: 0.5936 MB / 346.2 MB, free: 2.258 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.1679, allocations: 0.7599 MB / 346.9 MB, free: 1.473 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.849e-05/0.168, allocations: 19.44 kB / 347 MB, free: 1.453 MB / 286.1 MB Notification: Performance of SimCode: time 8.51e-07/0.168, allocations: 0 / 347 MB, free: 1.453 MB / 286.1 MB Notification: Performance of Templates: time 0.007351/0.1754, allocations: 4.364 MB / 351.3 MB, free: 13.09 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.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.InvertingAmpCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.o] Error 1