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.001138/0.001139, allocations: 98.88 kB / 16.02 MB, free: 76 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.001395/0.001395, allocations: 182.6 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 223.1 MB, free: 5.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.0571/0.0571, allocations: 10.75 MB / 282.1 MB, free: 10.68 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.0005149/0.000515, allocations: 16.2 kB / 342.9 MB, free: 23.54 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 50.01 MB / 392.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002039/0.1237, allocations: 1.308 MB / 394.2 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006986/0.1244, allocations: 259.3 kB / 394.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.1245, allocations: 0 / 394.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.026e-05/0.1245, allocations: 7.875 kB / 394.5 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.1247, allocations: 7.938 kB / 394.5 MB, free: 3.867 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.1249, allocations: 55.88 kB / 394.5 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.1251, allocations: 95.7 kB / 394.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.1253, allocations: 21.44 kB / 394.6 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.827e-05/0.1253, allocations: 39.78 kB / 394.7 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.627e-05/0.1254, allocations: 43.72 kB / 394.7 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1254, allocations: 4 kB / 394.7 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-05/0.1255, allocations: 27.97 kB / 394.7 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.1256, allocations: 27.84 kB / 394.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.453e-05/0.1257, allocations: 65.44 kB / 394.8 MB, free: 3.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.1258, allocations: 75.84 kB / 394.9 MB, free: 3.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1258, allocations: 0 / 394.9 MB, free: 3.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.969e-06/0.1258, allocations: 0 / 394.9 MB, free: 3.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1259, allocations: 3.938 kB / 394.9 MB, free: 3.406 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.000662/0.1265, allocations: 414.7 kB / 395.3 MB, free: 2.953 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1266, allocations: 8.031 kB / 395.3 MB, free: 2.945 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.1266, allocations: 20.69 kB / 395.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.1269, allocations: 212.7 kB / 395.6 MB, free: 2.68 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1269, allocations: 8.375 kB / 395.6 MB, free: 2.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.127, allocations: 4.375 kB / 395.6 MB, free: 2.668 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.1272, allocations: 98.14 kB / 395.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1273, allocations: 192 / 395.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1273, allocations: 7.938 kB / 395.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.1273, allocations: 0 / 395.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.1274, allocations: 51.97 kB / 395.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.1282, allocations: 388.5 kB / 396.1 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1284, allocations: 102.6 kB / 396.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.1285, allocations: 60.83 kB / 396.3 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.1286, allocations: 4 kB / 396.3 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.1289, allocations: 103.3 kB / 396.4 MB, free: 1.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.482e-06/0.1289, allocations: 0 / 396.4 MB, free: 1.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004687/0.1293, allocations: 193.5 kB / 396.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.061e-05/0.1294, allocations: 59.39 kB / 396.6 MB, free: 1.523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.1296, allocations: 167.3 kB / 396.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.1296, allocations: 29.7 kB / 396.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.467e-05/0.1297, allocations: 112 kB / 396.9 MB, free: 1.199 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.1298, allocations: 35.59 kB / 397 MB, free: 1.164 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.1298, allocations: 21.72 kB / 397 MB, free: 1.137 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.13, allocations: 330.8 kB / 397.3 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.1301, allocations: 39.98 kB / 397.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.1302, allocations: 93.86 kB / 397.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.1304, allocations: 121.9 kB / 397.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1304, allocations: 0 / 397.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002927/0.1307, allocations: 169.8 kB / 397.7 MB, free: 348 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.1307, allocations: 4 kB / 397.7 MB, free: 344 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1308, allocations: 4 kB / 397.7 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1308, allocations: 7.922 kB / 397.7 MB, free: 332 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1309, allocations: 31.98 kB / 397.8 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1309, allocations: 7.938 kB / 397.8 MB, free: 292 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.205e-05/0.131, allocations: 16.03 kB / 397.8 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.131, allocations: 15.98 kB / 397.8 MB, free: 260 kB / 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.0001177/0.1312, allocations: 120.8 kB / 397.9 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.1312, allocations: 15.84 kB / 397.9 MB, free: 116 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.1312, allocations: 17.53 kB / 397.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1313, allocations: 0 / 397.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1313, allocations: 0 / 397.9 MB, free: 100 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1313, allocations: 3.984 kB / 398 MB, free: 96 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005803/0.1319, allocations: 450.4 kB / 398.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1319, allocations: 0 / 398.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.468e-05/0.132, allocations: 19.98 kB / 398.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.132, allocations: 0 / 398.4 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.132, allocations: 8 kB / 398.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.132, allocations: 0 / 398.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.132, allocations: 7.875 kB / 398.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.1325, allocations: 299.3 kB / 398.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.295e-05/0.1326, allocations: 85.05 kB / 398.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1326, allocations: 4 kB / 398.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1327, allocations: 7.984 kB / 398.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.1327, allocations: 19.98 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.1328, allocations: 4 kB / 398.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1329, allocations: 124 kB / 399 MB, free: 15 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1329, allocations: 0 / 399 MB, free: 15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.1332, allocations: 24 kB / 399 MB, free: 14.97 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.0001783/0.1333, allocations: 123.2 kB / 399.1 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.1336, allocations: 103.9 kB / 399.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1336, allocations: 0 / 399.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.1337, allocations: 51.92 kB / 399.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1341, allocations: 29.42 kB / 399.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007926/0.1349, allocations: 354.2 kB / 399.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1352, allocations: 0.7088 MB / 400.3 MB, free: 13.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.1353, allocations: 23.42 kB / 400.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1353, allocations: 0 / 400.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of Templates: time 0.003768/0.1391, allocations: 1.64 MB / 402 MB, free: 11.89 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