Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006498/0.006498, allocations: 100.8 kB / 15.87 MB, free: 5.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 192 kB / 16.79 MB, free: 5.777 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.687/1.687, allocations: 205.1 MB / 222.6 MB, free: 4.461 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05404/0.05404, allocations: 10.74 MB / 280.7 MB, free: 10.57 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.001305/0.001305, allocations: 67.91 kB / 340.5 MB, free: 23.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1172, allocations: 49.03 MB / 389.5 MB, free: 6.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003583/0.1209, allocations: 2.138 MB / 391.7 MB, free: 4.543 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009052/0.1218, allocations: 402.8 kB / 392.1 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.122, allocations: 11.88 kB / 392.1 MB, free: 4.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.1222, allocations: 39.66 kB / 392.1 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.1223, allocations: 31.73 kB / 392.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.1227, allocations: 167.8 kB / 392.3 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004105/0.1231, allocations: 435.3 kB / 392.7 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1233, allocations: 84.66 kB / 392.8 MB, free: 3.395 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1235, allocations: 139.3 kB / 392.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.1237, allocations: 163.2 kB / 393.1 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.546e-05/0.1237, allocations: 12 kB / 393.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.925e-05/0.1238, allocations: 16 kB / 393.1 MB, free: 3.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.1239, allocations: 111.6 kB / 393.2 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.1241, allocations: 158.9 kB / 393.4 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1243, allocations: 239.8 kB / 393.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1243, allocations: 0 / 393.6 MB, free: 2.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1243, allocations: 3.938 kB / 393.6 MB, free: 2.566 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1243, allocations: 4 kB / 393.6 MB, free: 2.562 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001012/0.1254, allocations: 0.7086 MB / 394.3 MB, free: 1.805 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1254, allocations: 8.031 kB / 394.4 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.489e-05/0.1255, allocations: 52.38 kB / 394.4 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004253/0.1259, allocations: 359.7 kB / 394.8 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1259, allocations: 21.03 kB / 394.8 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/0.126, allocations: 40.31 kB / 394.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006132/0.1266, allocations: 404.1 kB / 395.2 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.1267, allocations: 4.094 kB / 395.2 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.1267, allocations: 15.94 kB / 395.2 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1267, allocations: 8 kB / 395.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.1272, allocations: 290.4 kB / 395.5 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.1294, allocations: 1.5 MB / 397 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004223/0.1298, allocations: 174.9 kB / 397.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.13, allocations: 116.7 kB / 397.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.1301, allocations: 4 kB / 397.3 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1301, allocations: 34.5 kB / 397.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.1301, allocations: 0 / 397.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.000667/0.1308, allocations: 326.7 kB / 397.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1308, allocations: 55.41 kB / 397.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004499/0.1313, allocations: 393.6 kB / 398.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1313, allocations: 29.7 kB / 398.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.1315, allocations: 231.9 kB / 398.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.1316, allocations: 86.81 kB / 398.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.1317, allocations: 69.59 kB / 398.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1319, allocations: 354.7 kB / 398.9 MB, free: 13.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.1321, allocations: 96.31 kB / 399 MB, free: 12.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.1323, allocations: 213.9 kB / 399.2 MB, free: 12.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.1337, allocations: 0.5764 MB / 399.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1338, allocations: 8 kB / 399.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000683/0.1345, allocations: 412.7 kB / 400.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1345, allocations: 8.406 kB / 400.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.1345, allocations: 8 kB / 400.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1345, allocations: 8 kB / 400.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.1349, allocations: 79.89 kB / 400.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.1349, allocations: 15.92 kB / 400.3 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.1351, allocations: 47.58 kB / 400.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.1351, allocations: 12 kB / 400.3 MB, free: 11.5 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 (45): * Single equations (assignments): 45 * 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.0002542/0.1354, allocations: 191.6 kB / 400.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.1354, allocations: 39.47 kB / 400.5 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000522/0.136, allocations: 292.8 kB / 400.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.136, allocations: 0 / 400.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.136, allocations: 0 / 400.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.136, allocations: 7.984 kB / 400.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.1364, allocations: 377.3 kB / 401.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1364, allocations: 0 / 401.2 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.1368, allocations: 71.89 kB / 401.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1368, allocations: 3.938 kB / 401.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.1368, allocations: 8 kB / 401.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1368, allocations: 0 / 401.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1368, allocations: 0 / 401.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006675/0.1375, allocations: 482.5 kB / 401.8 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.1376, allocations: 116.5 kB / 401.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.1376, allocations: 8 kB / 401.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.1378, allocations: 11.98 kB / 401.9 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.1378, allocations: 15.97 kB / 401.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.1378, allocations: 8 kB / 401.9 MB, free: 9.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.1381, allocations: 275.1 kB / 402.2 MB, free: 9.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1381, allocations: 0 / 402.2 MB, free: 9.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.1384, allocations: 59.94 kB / 402.2 MB, free: 9.469 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001177/0.1386, allocations: 115.2 kB / 402.4 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004733/0.1391, allocations: 268.6 kB / 402.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1391, allocations: 0 / 402.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.1392, allocations: 111.7 kB / 402.7 MB, free: 8.977 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.1396, allocations: 37.67 kB / 402.8 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1408, allocations: 0.9475 MB / 403.7 MB, free: 7.961 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1412, allocations: 0.8346 MB / 404.6 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.1413, allocations: 31.44 kB / 404.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1413, allocations: 0 / 404.6 MB, free: 7.066 MB / 302.1 MB Notification: Performance of Templates: time 0.005684/0.147, allocations: 4.167 MB / 408.7 MB, free: 2.891 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.TestP_biasCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_biasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_biasCalcHelperMain.o] Error 1