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.001045/0.001044, allocations: 99.12 kB / 15.71 MB, free: 452 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.001136/0.001136, allocations: 176.4 kB / 16.58 MB, free: 6.422 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.118/2.118, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05443/0.05443, allocations: 10.75 MB / 281.8 MB, free: 10.55 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.0004976/0.0004976, allocations: 12 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1223, allocations: 50.01 MB / 392.3 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.00258/0.125, allocations: 1.738 MB / 394 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.126, allocations: 0.5183 MB / 394.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1261, allocations: 15.88 kB / 394.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1263, allocations: 31.72 kB / 394.6 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.888e-05/0.1264, allocations: 27.67 kB / 394.6 MB, free: 3.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.1269, allocations: 203.7 kB / 394.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.1274, allocations: 447.8 kB / 395.2 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.1276, allocations: 64.66 kB / 395.3 MB, free: 2.727 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.1279, allocations: 155.3 kB / 395.4 MB, free: 2.574 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.1282, allocations: 171.2 kB / 395.6 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.473e-05/0.1282, allocations: 12 kB / 395.6 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.363e-05/0.1283, allocations: 15.94 kB / 395.6 MB, free: 2.379 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1284, allocations: 103.7 kB / 395.7 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.1285, allocations: 81.45 kB / 395.8 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1288, allocations: 255.7 kB / 396.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1288, allocations: 0 / 396.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1288, allocations: 0 / 396.1 MB, free: 1.941 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.1288, allocations: 0 / 396.1 MB, free: 1.941 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.001105/0.1299, allocations: 0.6582 MB / 396.7 MB, free: 1.234 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.13, allocations: 8.031 kB / 396.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.505e-05/0.1301, allocations: 51.39 kB / 396.8 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.1305, allocations: 354.6 kB / 397.1 MB, free: 0.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.1306, allocations: 29 kB / 397.2 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.902e-05/0.1307, allocations: 36 kB / 397.2 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000685/0.1314, allocations: 424 kB / 397.6 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.1314, allocations: 7.844 kB / 397.6 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.1314, allocations: 16 kB / 397.6 MB, free: 272 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.1314, allocations: 11.98 kB / 397.6 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.132, allocations: 314.4 kB / 398 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.1343, allocations: 1.543 MB / 399.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.135, allocations: 238.6 kB / 399.7 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.1352, allocations: 120.8 kB / 399.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.1353, allocations: 7.984 kB / 399.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1353, allocations: 34.56 kB / 399.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.1353, allocations: 0 / 399.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007042/0.136, allocations: 374 kB / 400.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1361, allocations: 55.41 kB / 400.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004255/0.1365, allocations: 397.5 kB / 400.7 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1365, allocations: 29.7 kB / 400.7 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.1367, allocations: 244 kB / 401 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.367e-05/0.1368, allocations: 94.62 kB / 401.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.1369, allocations: 11.94 kB / 401.1 MB, free: 12.69 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.1371, allocations: 350.8 kB / 401.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002002/0.1373, allocations: 108.4 kB / 401.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.1376, allocations: 220.5 kB / 401.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.1379, allocations: 169.1 kB / 401.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1379, allocations: 3.938 kB / 401.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007051/0.1386, allocations: 456.4 kB / 402.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1386, allocations: 11.12 kB / 402.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1386, allocations: 4 kB / 402.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.1387, allocations: 8 kB / 402.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.1391, allocations: 99.88 kB / 402.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.1391, allocations: 12.38 kB / 402.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1393, allocations: 47.58 kB / 402.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.1393, allocations: 20 kB / 402.5 MB, free: 11.14 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] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000268/0.1396, allocations: 199.6 kB / 402.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.822e-05/0.1396, allocations: 35.53 kB / 402.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006125/0.1403, allocations: 349.7 kB / 403.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1403, allocations: 4 kB / 403.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1403, allocations: 4 kB / 403.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1403, allocations: 3.984 kB / 403.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.1407, allocations: 397.2 kB / 403.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1408, allocations: 3.953 kB / 403.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/0.1412, allocations: 83.89 kB / 403.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1412, allocations: 4 kB / 403.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1412, allocations: 11.98 kB / 403.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1412, allocations: 0 / 403.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1412, allocations: 4 kB / 403.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.142, allocations: 0.5314 MB / 404.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.1421, allocations: 124.4 kB / 404.3 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.1421, allocations: 15.94 kB / 404.3 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1423, allocations: 11.98 kB / 404.3 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.108e-05/0.1423, allocations: 23.91 kB / 404.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1423, allocations: 8 kB / 404.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002676/0.1426, allocations: 275.1 kB / 404.6 MB, free: 8.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1426, allocations: 4 kB / 404.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.143, allocations: 67.84 kB / 404.7 MB, free: 8.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.1431, allocations: 103.2 kB / 404.8 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005297/0.1436, allocations: 316.4 kB / 405.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1436, allocations: 4 kB / 405.1 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.1439, allocations: 127.9 kB / 405.2 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.1442, allocations: 37.55 kB / 405.2 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.1455, allocations: 1.001 MB / 406.2 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.146, allocations: 0.8383 MB / 407.1 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.1461, allocations: 35.38 kB / 407.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1461, allocations: 0 / 407.1 MB, free: 6.398 MB / 302.1 MB Notification: Performance of Templates: time 0.00686/0.153, allocations: 4.411 MB / 411.5 MB, free: 1.98 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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