Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 91.92 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.002403/0.002403, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.969/1.969, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05371/0.05371, allocations: 10.75 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.0005163/0.0005163, allocations: 12.22 kB / 342.9 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 50.01 MB / 392.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002817/0.1239, allocations: 1.878 MB / 394.8 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.1253, allocations: 0.6707 MB / 395.4 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.1255, allocations: 19.81 kB / 395.5 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.1258, allocations: 39.66 kB / 395.5 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.126, allocations: 35.73 kB / 395.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006197/0.1266, allocations: 287.5 kB / 395.8 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006369/0.1273, allocations: 0.539 MB / 396.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.1275, allocations: 88.98 kB / 396.4 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.1278, allocations: 187.1 kB / 396.6 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.128, allocations: 191 kB / 396.8 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.1281, allocations: 16 kB / 396.8 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.14e-05/0.1282, allocations: 12 kB / 396.8 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.1283, allocations: 123.6 kB / 397 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.1285, allocations: 196.4 kB / 397.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002972/0.1288, allocations: 283.7 kB / 397.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1288, allocations: 0 / 397.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1288, allocations: 0 / 397.4 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1289, allocations: 3.938 kB / 397.4 MB, free: 0.8555 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001348/0.1302, allocations: 0.7167 MB / 398.1 MB, free: 92 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1303, allocations: 11.97 kB / 398.2 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1304, allocations: 56.28 kB / 398.2 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.131, allocations: 397.9 kB / 398.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.605e-05/0.1311, allocations: 84.97 kB / 398.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.1312, allocations: 40.28 kB / 398.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007809/0.132, allocations: 473.2 kB / 399.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.132, allocations: 3.938 kB / 399.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.1321, allocations: 16 kB / 399.2 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.1321, allocations: 12 kB / 399.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006436/0.1327, allocations: 359.7 kB / 399.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1355, allocations: 1.713 MB / 401.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008627/0.1364, allocations: 307.3 kB / 401.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1367, allocations: 173.3 kB / 401.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.416e-05/0.1367, allocations: 4.281 kB / 401.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.1367, allocations: 38.78 kB / 401.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.402e-06/0.1367, allocations: 3.938 kB / 401.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008502/0.1376, allocations: 463.1 kB / 402.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1377, allocations: 51.41 kB / 402.3 MB, free: 11.74 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004681/0.1381, allocations: 425.8 kB / 402.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.1382, allocations: 33.7 kB / 402.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.1384, allocations: 251.9 kB / 403 MB, free: 11.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1385, allocations: 126.2 kB / 403.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.152e-05/0.1386, allocations: 53.69 kB / 403.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1388, allocations: 358.8 kB / 403.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.1391, allocations: 132.9 kB / 403.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/0.1394, allocations: 254.7 kB / 403.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/0.1416, allocations: 0.8206 MB / 404.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1416, allocations: 0 / 404.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008441/0.1425, allocations: 0.5118 MB / 405.2 MB, free: 8.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.1425, allocations: 12.41 kB / 405.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1425, allocations: 8 kB / 405.3 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.1425, allocations: 4 kB / 405.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.143, allocations: 127.8 kB / 405.4 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.1431, allocations: 4 kB / 405.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.1433, allocations: 59.42 kB / 405.4 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.1433, allocations: 24 kB / 405.5 MB, free: 8.441 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 (61): * Single equations (assignments): 61 * 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.0002935/0.1436, allocations: 207.5 kB / 405.7 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-05/0.1437, allocations: 47.38 kB / 405.7 MB, free: 8.184 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/0.1445, allocations: 417.5 kB / 406.1 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1445, allocations: 4 kB / 406.1 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1445, allocations: 4 kB / 406.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1445, allocations: 3.938 kB / 406.1 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000548/0.1451, allocations: 453.1 kB / 406.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1451, allocations: 0 / 406.6 MB, free: 7.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005296/0.1456, allocations: 95.94 kB / 406.7 MB, free: 7.168 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1457, allocations: 7.875 kB / 406.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.1457, allocations: 11.98 kB / 406.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1457, allocations: 4 kB / 406.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.1457, allocations: 0 / 406.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009577/0.1467, allocations: 0.6214 MB / 407.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1468, allocations: 128.4 kB / 407.4 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.1469, allocations: 19.98 kB / 407.5 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.147, allocations: 15.98 kB / 407.5 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.1471, allocations: 19.97 kB / 407.5 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.1471, allocations: 12 kB / 407.5 MB, free: 6.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003134/0.1475, allocations: 291.1 kB / 407.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1475, allocations: 0 / 407.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.1478, allocations: 79.75 kB / 407.9 MB, free: 5.93 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0001423/0.148, allocations: 111.8 kB / 408 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.1487, allocations: 376 kB / 408.3 MB, free: 5.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.1487, allocations: 4 kB / 408.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002726/0.149, allocations: 183.5 kB / 408.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.1494, allocations: 41.48 kB / 408.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1514, allocations: 1.187 MB / 409.8 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/0.1521, allocations: 0.8547 MB / 410.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1522, allocations: 39.42 kB / 410.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1523, allocations: 4 kB / 410.7 MB, free: 3.074 MB / 302.1 MB Notification: Performance of Templates: time 0.008134/0.1604, allocations: 5.011 MB / 415.7 MB, free: 14.06 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.TestPID_biasCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_biasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_biasCalcHelperMain.o] Error 1