Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MagLev_MagLev.Examples.SteadyStateCharacteristic.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/MagLev 2.1.0-main/package.mo", uses=false) Using package MagLev with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.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(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") translateModel(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009564/0.0009566, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009582/0.0009583, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.629/1.629, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.0-main/package.mo): time 0.2367/0.2367, allocations: 3.911 MB / 295.6 MB, free: 4.223 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006047/0.0006048, allocations: 12 kB / 357.5 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1352, allocations: 51.36 MB / 408.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001723/0.137, allocations: 1.297 MB / 410.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.1381, allocations: 0.8106 MB / 411 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.1382, allocations: 0 / 411 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004698/0.1387, allocations: 139.3 kB / 411.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.845e-05/0.1388, allocations: 55.67 kB / 411.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.314e-05/0.1388, allocations: 4 kB / 411.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.139, allocations: 123.4 kB / 411.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.1391, allocations: 17.11 kB / 411.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.1391, allocations: 47.78 kB / 411.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.1393, allocations: 71.67 kB / 411.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1393, allocations: 4 kB / 411.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.663e-05/0.1393, allocations: 8 kB / 411.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.1394, allocations: 15.86 kB / 411.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.1394, allocations: 41.64 kB / 411.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1396, allocations: 76.09 kB / 411.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.1396, allocations: 0 / 411.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1396, allocations: 0 / 411.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1396, allocations: 0 / 411.5 MB, free: 13.17 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008915/0.1405, allocations: 446.6 kB / 412 MB, free: 12.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.1406, allocations: 12.03 kB / 412 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.1406, allocations: 15.77 kB / 412 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.141, allocations: 231.8 kB / 412.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.141, allocations: 0 / 412.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.141, allocations: 4 kB / 412.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1411, allocations: 45.69 kB / 412.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1411, allocations: 3.938 kB / 412.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1412, allocations: 0 / 412.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1412, allocations: 7.984 kB / 412.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.925e-05/0.1412, allocations: 19.95 kB / 412.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.1417, allocations: 304.9 kB / 412.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.142, allocations: 58.59 kB / 412.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.035e-05/0.1421, allocations: 16.86 kB / 412.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1421, allocations: 3.938 kB / 412.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.1421, allocations: 38.5 kB / 412.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1421, allocations: 0 / 412.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002237/0.1424, allocations: 73.45 kB / 412.8 MB, free: 11.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.1424, allocations: 55.34 kB / 412.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.1427, allocations: 236.8 kB / 413.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1427, allocations: 25.7 kB / 413.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.175e-05/0.1428, allocations: 120 kB / 413.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.1428, allocations: 7.906 kB / 413.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.1429, allocations: 4 kB / 413.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.143, allocations: 326.8 kB / 413.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.29e-05/0.143, allocations: 4 kB / 413.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.1431, allocations: 19.92 kB / 413.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/0.1431, allocations: 8.125 kB / 413.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1431, allocations: 0 / 413.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001088/0.1432, allocations: 77.5 kB / 413.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1433, allocations: 4 kB / 413.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1433, allocations: 0 / 413.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1433, allocations: 11.95 kB / 413.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1434, allocations: 11.98 kB / 413.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.1434, allocations: 0 / 413.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.1435, allocations: 4 kB / 413.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1435, allocations: 0 / 413.7 MB, free: 10.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.1437, allocations: 118.5 kB / 413.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.1437, allocations: 15.81 kB / 413.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.1437, allocations: 20.88 kB / 413.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1438, allocations: 0 / 413.8 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1438, allocations: 7.953 kB / 413.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1438, allocations: 0 / 413.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.144, allocations: 209.8 kB / 414.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.144, allocations: 0 / 414.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.241e-05/0.1441, allocations: 11.98 kB / 414.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.1441, allocations: 7.984 kB / 414.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1441, allocations: 0 / 414.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1441, allocations: 0 / 414.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1441, allocations: 0 / 414.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1443, allocations: 179.2 kB / 414.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.887e-05/0.1444, allocations: 92.84 kB / 414.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.1444, allocations: 8 kB / 414.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1446, allocations: 4 kB / 414.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.1446, allocations: 3.984 kB / 414.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1446, allocations: 3.938 kB / 414.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.1448, allocations: 180.4 kB / 414.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1448, allocations: 0 / 414.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1451, allocations: 20 kB / 414.6 MB, free: 9.836 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 (4): * Single equations (assignments): 4 * 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 9.189e-05/0.1452, allocations: 99.25 kB / 414.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.1453, allocations: 31.92 kB / 414.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1453, allocations: 0 / 414.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.1453, allocations: 15.94 kB / 414.7 MB, free: 9.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.1457, allocations: 19.08 kB / 414.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007424/0.1464, allocations: 372.9 kB / 415.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1467, allocations: 0.7004 MB / 415.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.1468, allocations: 15.42 kB / 415.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1468, allocations: 0 / 415.8 MB, free: 8.523 MB / 350.1 MB Notification: Performance of Templates: time 0.003012/0.1498, allocations: 1.374 MB / 417.2 MB, free: 7.148 MB / 350.1 MB make -j1 -f MagLev_MagLev.Examples.SteadyStateCharacteristic.makefile make -j1 -f MagLev_MagLev.Examples.SteadyStateCharacteristic.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 OMCppMagLev_MagLev.Examples.SteadyStateCharacteristicCalcHelperMain.o OMCppMagLev_MagLev.Examples.SteadyStateCharacteristicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMagLev_MagLev.Examples.SteadyStateCharacteristicCalcHelperMain.o] Error 1