Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) 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(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, 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.001552/0.001552, allocations: 191.5 kB / 16.79 MB, free: 6.812 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.61/1.61, allocations: 205.1 MB / 222.6 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06068/0.06068, allocations: 10.74 MB / 280.7 MB, free: 10.74 MB / 238.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.00159/0.00159, allocations: 63.91 kB / 340.5 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1248, allocations: 49.02 MB / 389.5 MB, free: 6.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.003407/0.1283, allocations: 1.65 MB / 391.2 MB, free: 5.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006454/0.129, allocations: 251.2 kB / 391.4 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.867e-05/0.129, allocations: 4 kB / 391.4 MB, free: 4.797 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.1291, allocations: 7.922 kB / 391.4 MB, free: 4.789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.1292, allocations: 7.938 kB / 391.4 MB, free: 4.781 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1295, allocations: 51.89 kB / 391.5 MB, free: 4.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.1296, allocations: 107.6 kB / 391.6 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1298, allocations: 21.45 kB / 391.6 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.1298, allocations: 27.86 kB / 391.6 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.947e-05/0.1299, allocations: 59.62 kB / 391.7 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.1299, allocations: 8 kB / 391.7 MB, free: 4.512 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.13, allocations: 31.97 kB / 391.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.04e-05/0.1301, allocations: 15.92 kB / 391.8 MB, free: 4.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.563e-05/0.1301, allocations: 51.59 kB / 391.8 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1303, allocations: 79.88 kB / 391.9 MB, free: 4.336 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1303, allocations: 4 kB / 391.9 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.1303, allocations: 3.938 kB / 391.9 MB, free: 4.328 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1303, allocations: 0 / 391.9 MB, free: 4.328 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007079/0.131, allocations: 418.7 kB / 392.3 MB, free: 3.871 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1311, allocations: 12.03 kB / 392.3 MB, free: 3.859 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.1311, allocations: 12.75 kB / 392.3 MB, free: 3.848 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000248/0.1314, allocations: 220.6 kB / 392.5 MB, free: 3.594 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1314, allocations: 8.375 kB / 392.5 MB, free: 3.586 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.1314, allocations: 12.38 kB / 392.6 MB, free: 3.574 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.1317, allocations: 86.2 kB / 392.6 MB, free: 3.484 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1317, allocations: 192 / 392.6 MB, free: 3.484 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.1317, allocations: 7.938 kB / 392.6 MB, free: 3.477 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1317, allocations: 4 kB / 392.7 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.1319, allocations: 43.97 kB / 392.7 MB, free: 3.43 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.1326, allocations: 380.5 kB / 393.1 MB, free: 3.008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.1329, allocations: 102.6 kB / 393.2 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.133, allocations: 52.84 kB / 393.2 MB, free: 2.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1331, allocations: 3.938 kB / 393.2 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.1334, allocations: 111.3 kB / 393.3 MB, free: 2.719 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.767e-06/0.1334, allocations: 3.984 kB / 393.3 MB, free: 2.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004604/0.1339, allocations: 185.5 kB / 393.5 MB, free: 2.527 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.1339, allocations: 55.34 kB / 393.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.1341, allocations: 167.3 kB / 393.7 MB, free: 2.285 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.1341, allocations: 37.69 kB / 393.8 MB, free: 2.242 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.1342, allocations: 112 kB / 393.9 MB, free: 2.129 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.1343, allocations: 31.61 kB / 393.9 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.1343, allocations: 37.7 kB / 393.9 MB, free: 2.055 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1345, allocations: 330.8 kB / 394.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.179e-05/0.1346, allocations: 35.97 kB / 394.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.1348, allocations: 81.95 kB / 394.4 MB, free: 1.586 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.135, allocations: 125.9 kB / 394.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.135, allocations: 0 / 394.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002701/0.1353, allocations: 161.3 kB / 394.7 MB, free: 1.277 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.1353, allocations: 8 kB / 394.7 MB, free: 1.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.1353, allocations: 11.88 kB / 394.7 MB, free: 1.258 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.1354, allocations: 4 kB / 394.7 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.1356, allocations: 27.92 kB / 394.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.1356, allocations: 8.188 kB / 394.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.166e-05/0.1356, allocations: 15.84 kB / 394.7 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1357, allocations: 8 kB / 394.7 MB, free: 1.195 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001316/0.1358, allocations: 128.5 kB / 394.9 MB, free: 1.062 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.1358, allocations: 15.81 kB / 394.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.1359, allocations: 21.52 kB / 394.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1359, allocations: 0 / 394.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1359, allocations: 0 / 394.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1359, allocations: 4 kB / 394.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.1365, allocations: 443 kB / 395.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1365, allocations: 0 / 395.3 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1367, allocations: 19.94 kB / 395.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1367, allocations: 3.984 kB / 395.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1367, allocations: 0 / 395.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1367, allocations: 4 kB / 395.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1367, allocations: 3.938 kB / 395.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004415/0.1372, allocations: 295.3 kB / 395.7 MB, free: 204 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.1372, allocations: 85.05 kB / 395.7 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1373, allocations: 4 kB / 395.8 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.1373, allocations: 4 kB / 395.8 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.1374, allocations: 11.92 kB / 395.8 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.1374, allocations: 7.984 kB / 395.8 MB, free: 72 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1376, allocations: 132 kB / 395.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1376, allocations: 0 / 395.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1379, allocations: 28 kB / 395.9 MB, free: 15.91 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001543/0.138, allocations: 115.2 kB / 396 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.1383, allocations: 95.91 kB / 396.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1383, allocations: 384 / 396.1 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.1385, allocations: 59.91 kB / 396.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.1388, allocations: 29.56 kB / 396.2 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008139/0.1396, allocations: 343 kB / 396.6 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.14, allocations: 0.7088 MB / 397.3 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.1401, allocations: 15.44 kB / 397.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1401, allocations: 0 / 397.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Templates: time 0.00385/0.1439, allocations: 1.663 MB / 398.9 MB, free: 12.83 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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 OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFOCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFOCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFOCalcHelperMain.o] Error 1