Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.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.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009156/0.0009159, allocations: 92.16 kB / 16.02 MB, free: 80 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.001889/0.00189, allocations: 182 kB / 16.92 MB, free: 6.922 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.037/2.037, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05969/0.05969, allocations: 10.74 MB / 282.1 MB, free: 10.45 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.000525/0.0005251, allocations: 16.22 kB / 342.9 MB, free: 23.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1129, allocations: 50.01 MB / 392.9 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002441/0.1154, allocations: 1.803 MB / 394.7 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1165, allocations: 0.522 MB / 395.2 MB, free: 3.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1166, allocations: 11.88 kB / 395.2 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.1168, allocations: 47.64 kB / 395.3 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.938e-05/0.1169, allocations: 15.81 kB / 395.3 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005817/0.1175, allocations: 231.6 kB / 395.5 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.1181, allocations: 491.8 kB / 396 MB, free: 2.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1182, allocations: 76.66 kB / 396.1 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.1184, allocations: 151.3 kB / 396.2 MB, free: 2.098 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.1187, allocations: 175.1 kB / 396.4 MB, free: 1.926 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.532e-05/0.1187, allocations: 12 kB / 396.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.701e-05/0.1188, allocations: 12 kB / 396.4 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.119, allocations: 107.7 kB / 396.5 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1191, allocations: 184.5 kB / 396.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.1194, allocations: 255.7 kB / 397 MB, free: 1.359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1194, allocations: 0 / 397 MB, free: 1.359 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1195, allocations: 0 / 397 MB, free: 1.359 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.1195, allocations: 0 / 397 MB, free: 1.359 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001215/0.1207, allocations: 0.6395 MB / 397.6 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1208, allocations: 12.02 kB / 397.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.1209, allocations: 48.38 kB / 397.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.1213, allocations: 371.6 kB / 398 MB, free: 208 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.1214, allocations: 25.38 kB / 398 MB, free: 184 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.146e-05/0.1215, allocations: 40.38 kB / 398.1 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007434/0.1222, allocations: 420.6 kB / 398.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1222, allocations: 4.094 kB / 398.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.1223, allocations: 19.94 kB / 398.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.1223, allocations: 8 kB / 398.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005826/0.1229, allocations: 330.3 kB / 398.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.1255, allocations: 1.543 MB / 400.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.1263, allocations: 238.4 kB / 400.6 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.1265, allocations: 128.8 kB / 400.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.587e-05/0.1266, allocations: 4 kB / 400.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.1267, allocations: 46.5 kB / 400.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.1267, allocations: 3.938 kB / 400.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.0008225/0.1275, allocations: 374 kB / 401.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.1276, allocations: 55.41 kB / 401.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004784/0.1281, allocations: 401.5 kB / 401.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1281, allocations: 29.7 kB / 401.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.1283, allocations: 239.9 kB / 401.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.1284, allocations: 98.61 kB / 402 MB, free: 12.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.692e-05/0.1285, allocations: 49.69 kB / 402 MB, free: 12.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1287, allocations: 350.8 kB / 402.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.1289, allocations: 104.4 kB / 402.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.1292, allocations: 224.5 kB / 402.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001942/0.1312, allocations: 0.7022 MB / 403.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1312, allocations: 0 / 403.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007424/0.1319, allocations: 456.4 kB / 403.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.132, allocations: 15.92 kB / 403.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.132, allocations: 480 / 403.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.132, allocations: 12 kB / 403.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.1324, allocations: 103.8 kB / 404 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1324, allocations: 4 kB / 404 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.1327, allocations: 55.52 kB / 404 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.1327, allocations: 16 kB / 404 MB, free: 9.898 MB / 302.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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.000273/0.133, allocations: 187.7 kB / 404.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.1331, allocations: 43.47 kB / 404.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.1337, allocations: 353.7 kB / 404.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1338, allocations: 3.938 kB / 404.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1338, allocations: 4 kB / 404.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1338, allocations: 0 / 404.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004714/0.1343, allocations: 405.2 kB / 405 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1343, allocations: 3.984 kB / 405 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.1347, allocations: 75.95 kB / 405.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.1347, allocations: 7.938 kB / 405.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.1347, allocations: 11.98 kB / 405.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.1348, allocations: 0 / 405.1 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1348, allocations: 3.938 kB / 405.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008079/0.1356, allocations: 0.5354 MB / 405.6 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.1357, allocations: 116.5 kB / 405.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.939e-05/0.1357, allocations: 15.98 kB / 405.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1359, allocations: 15.98 kB / 405.8 MB, free: 8.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/0.136, allocations: 19.97 kB / 405.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.136, allocations: 8 kB / 405.8 MB, free: 8.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003038/0.1363, allocations: 275.1 kB / 406.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1363, allocations: 0 / 406.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1367, allocations: 67.84 kB / 406.2 MB, free: 7.672 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (29): * Single equations (assignments): 29 * 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.0001513/0.1369, allocations: 115.1 kB / 406.3 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.1375, allocations: 311.7 kB / 406.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1375, allocations: 0 / 406.6 MB, free: 7.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.1377, allocations: 140.7 kB / 406.7 MB, free: 7.109 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.1381, allocations: 37.55 kB / 406.7 MB, free: 7.074 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1396, allocations: 1.051 MB / 407.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.1402, allocations: 0.8344 MB / 408.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.1403, allocations: 39.42 kB / 408.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1403, allocations: 0 / 408.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of Templates: time 0.007736/0.148, allocations: 4.402 MB / 413.1 MB, free: 0.6875 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.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.Controllers.Examples.TestPI_biasCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_biasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_biasCalcHelperMain.o] Error 1