Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo", uses=false) Using package FluxTubesExtension with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo) 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(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") translateModel(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 192.2 kB / 16.79 MB, free: 6.812 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.547/1.547, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FluxTubesExtension 1.2.0-main/package.mo): time 0.007778/0.007777, allocations: 1.241 MB / 291.8 MB, free: 1.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 63.89 kB / 352.3 MB, free: 7.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1453, allocations: 49.69 MB / 402 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic): time 0.003533/0.1489, allocations: 1.297 MB / 403.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1502, allocations: 0.6739 MB / 404 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.881e-05/0.1503, allocations: 0 / 404 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.1506, allocations: 31.83 kB / 404 MB, free: 3.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003661/0.151, allocations: 79.72 kB / 404.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.336e-06/0.151, allocations: 0 / 404.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1511, allocations: 39.89 kB / 404.1 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.1512, allocations: 7.984 kB / 404.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.1513, allocations: 11.94 kB / 404.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.1514, allocations: 23.84 kB / 404.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.546e-06/0.1514, allocations: 0 / 404.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003464/0.1518, allocations: 211.5 kB / 404.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.1518, allocations: 15.92 kB / 404.4 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.308e-05/0.1518, allocations: 19.86 kB / 404.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.152, allocations: 76.06 kB / 404.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1521, allocations: 0 / 404.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1521, allocations: 0 / 404.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1521, allocations: 0 / 404.5 MB, free: 2.93 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000512/0.1526, allocations: 355.4 kB / 404.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.1527, allocations: 15.97 kB / 404.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.1527, allocations: 4.844 kB / 404.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.153, allocations: 188.3 kB / 405 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.153, allocations: 384 / 405 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.153, allocations: 384 / 405 MB, free: 2.293 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.1531, allocations: 50 kB / 405.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.1532, allocations: 7.891 kB / 405.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1532, allocations: 7.938 kB / 405.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.1532, allocations: 0 / 405.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.1533, allocations: 23.98 kB / 405.1 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.1535, allocations: 165.7 kB / 405.3 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.1538, allocations: 78.52 kB / 405.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.1538, allocations: 24.88 kB / 405.4 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.918e-05/0.1539, allocations: 11.97 kB / 405.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1539, allocations: 46.48 kB / 405.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.154, allocations: 4 kB / 405.4 MB, free: 1.805 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.002349/0.1563, allocations: 0.5868 MB / 406 MB, free: 1.211 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.1564, allocations: 51.41 kB / 406.1 MB, free: 1.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.1565, allocations: 129.8 kB / 406.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.1566, allocations: 25.7 kB / 406.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.675e-05/0.1566, allocations: 88.14 kB / 406.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.1567, allocations: 15.73 kB / 406.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.581e-05/0.1568, allocations: 49.69 kB / 406.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.157, allocations: 318.8 kB / 406.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.1572, allocations: 151.8 kB / 406.8 MB, free: 360 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.1574, allocations: 163.8 kB / 407 MB, free: 196 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004834/0.1579, allocations: 308.6 kB / 407.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1579, allocations: 0 / 407.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005911/0.1585, allocations: 369.3 kB / 407.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1586, allocations: 6.188 kB / 407.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.1586, allocations: 4 kB / 407.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1586, allocations: 4 kB / 407.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1588, allocations: 28.22 kB / 407.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1588, allocations: 3.984 kB / 407.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.159, allocations: 8 kB / 407.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.159, allocations: 31.92 kB / 407.7 MB, free: 15.44 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001183/0.1592, allocations: 121.8 kB / 407.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.1592, allocations: 11.84 kB / 407.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.1597, allocations: 277.7 kB / 408.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1597, allocations: 4 kB / 408.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.1597, allocations: 0 / 408.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1597, allocations: 3.984 kB / 408.1 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.1608, allocations: 0.5829 MB / 408.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1608, allocations: 11.88 kB / 408.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.1609, allocations: 23.97 kB / 408.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.1609, allocations: 0 / 408.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.161, allocations: 4 kB / 408.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.161, allocations: 4.031 kB / 408.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.161, allocations: 3.938 kB / 408.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.1614, allocations: 336.1 kB / 409.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.1615, allocations: 89.02 kB / 409.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.1615, allocations: 0 / 409.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1617, allocations: 4 kB / 409.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.1617, allocations: 7.984 kB / 409.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.1617, allocations: 19.98 kB / 409.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.882e-05/0.1618, allocations: 99.27 kB / 409.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1618, allocations: 4 kB / 409.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1621, allocations: 31.92 kB / 409.3 MB, free: 13.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($cse1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001982/0.1623, allocations: 119.2 kB / 409.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.1627, allocations: 220.1 kB / 409.7 MB, free: 13.37 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1627, allocations: 4 kB / 409.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1628, allocations: 83.88 kB / 409.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1631, allocations: 8 kB / 409.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005733/0.1637, allocations: 267.4 kB / 410 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.164, allocations: 0.6888 MB / 410.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.1641, allocations: 31.41 kB / 410.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1641, allocations: 0 / 410.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Templates: time 0.003935/0.1681, allocations: 1.624 MB / 412.4 MB, free: 10.61 MB / 350.1 MB make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.makefile make -j1 -f FluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristic.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 OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppFluxTubesExtension_FluxTubesExtension.TestRecordFunctionInput.Examples.ShowSoftMagneticCharacteristicCalcHelperMain.o] Error 1