Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") translateModel(ModelicaTest.Magnetic.FluxTubes.Sensors,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|magneticPotentialDifferenceSensor.Phi|magneticFluxSensor.Phi|magneticPotentialDifferenceSensor.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 91.31 kB / 17.63 MB, free: 5.719 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.001288/0.001288, allocations: 181.8 kB / 18.52 MB, free: 5.168 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.624/1.624, allocations: 223.3 MB / 242.5 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2387/0.2387, allocations: 44.23 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.000479, allocations: 4 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1467, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sensors): time 0.00247/0.1492, allocations: 1.571 MB / 473.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.1502, allocations: 0.5224 MB / 474.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.21e-05/0.1503, allocations: 4 kB / 474.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1504, allocations: 23.84 kB / 474.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.1505, allocations: 31.77 kB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001551/0.1507, allocations: 27.97 kB / 474.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1509, allocations: 135.5 kB / 474.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.151, allocations: 49.77 kB / 474.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1512, allocations: 47.78 kB / 474.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.842e-05/0.1513, allocations: 47.78 kB / 474.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1513, allocations: 8 kB / 474.6 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.127e-05/0.1513, allocations: 8 kB / 474.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.1513, allocations: 27.91 kB / 474.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.203e-05/0.1514, allocations: 45.64 kB / 474.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001393/0.1515, allocations: 119.9 kB / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1516, allocations: 3.938 kB / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1516, allocations: 0 / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1516, allocations: 0 / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0007113/0.1523, allocations: 427.2 kB / 475.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1523, allocations: 12.03 kB / 475.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.1524, allocations: 15.81 kB / 475.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.1526, allocations: 198.8 kB / 475.5 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.1526, allocations: 8.281 kB / 475.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.1527, allocations: 19.95 kB / 475.5 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000334/0.153, allocations: 139.8 kB / 475.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.153, allocations: 0 / 475.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.153, allocations: 12 kB / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1531, allocations: 7.984 kB / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.1533, allocations: 108.8 kB / 475.8 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.1543, allocations: 0.6225 MB / 476.4 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.1546, allocations: 78.61 kB / 476.5 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1547, allocations: 32.97 kB / 476.5 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1547, allocations: 4 kB / 476.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1547, allocations: 42.44 kB / 476.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1548, allocations: 0 / 476.5 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003864/0.1551, allocations: 129.5 kB / 476.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.1552, allocations: 55.39 kB / 476.7 MB, free: 8.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.1553, allocations: 146.3 kB / 476.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1554, allocations: 29.64 kB / 476.9 MB, free: 8.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.1555, allocations: 139.4 kB / 477 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.1555, allocations: 15.75 kB / 477.1 MB, free: 8.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.1555, allocations: 4 kB / 477.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1556, allocations: 322.8 kB / 477.4 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.876e-05/0.1557, allocations: 39.97 kB / 477.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1559, allocations: 68.2 kB / 477.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.156, allocations: 39.98 kB / 477.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.156, allocations: 0 / 477.5 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002695/0.1563, allocations: 141.4 kB / 477.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1563, allocations: 11.98 kB / 477.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1563, allocations: 0 / 477.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1563, allocations: 0 / 477.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1564, allocations: 27.98 kB / 477.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.1565, allocations: 4 kB / 477.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.1566, allocations: 24.02 kB / 477.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1566, allocations: 4 kB / 477.7 MB, free: 7.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001256/0.1567, allocations: 130.2 kB / 477.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.1567, allocations: 7.906 kB / 477.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.5e-05/0.1568, allocations: 12.31 kB / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1568, allocations: 0 / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1568, allocations: 0 / 477.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1568, allocations: 3.984 kB / 477.9 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.1571, allocations: 209.6 kB / 478.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1571, allocations: 0 / 478.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.026e-05/0.1572, allocations: 23.92 kB / 478.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1572, allocations: 0 / 478.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1572, allocations: 0 / 478.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1572, allocations: 0 / 478.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.1572, allocations: 4 kB / 478.1 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.1575, allocations: 199.6 kB / 478.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.1575, allocations: 89 kB / 478.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.885e-05/0.1576, allocations: 4.062 kB / 478.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-05/0.1577, allocations: 8 kB / 478.4 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.1577, allocations: 11.98 kB / 478.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.1577, allocations: 0 / 478.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.571e-05/0.1578, allocations: 113.3 kB / 478.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1578, allocations: 0 / 478.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1581, allocations: 27.84 kB / 478.6 MB, free: 6.988 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001128/0.1582, allocations: 91.25 kB / 478.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.1585, allocations: 87.89 kB / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1585, allocations: 0 / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.1586, allocations: 31.92 kB / 478.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.1589, allocations: 16.19 kB / 478.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.1595, allocations: 355.4 kB / 479.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.1598, allocations: 0.7041 MB / 479.8 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1599, allocations: 15.44 kB / 479.8 MB, free: 5.629 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1599, allocations: 4 kB / 479.8 MB, free: 5.625 MB / 350.1 MB Notification: Performance of Templates: time 0.003063/0.163, allocations: 1.226 MB / 481.1 MB, free: 4.406 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sensors.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 OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SensorsCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SensorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.SensorsCalcHelperMain.o] Error 1