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.0008833/0.0008837, allocations: 92.08 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.001006/0.001006, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.004/2.004, allocations: 205.4 MB / 223.1 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05577/0.05577, 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.0007704/0.0007708, allocations: 12.78 kB / 342.9 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1382, allocations: 50 MB / 392.9 MB, free: 5.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003343/0.1417, allocations: 1.788 MB / 394.7 MB, free: 3.641 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1428, allocations: 394.9 kB / 395.1 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.143, allocations: 7.938 kB / 395.1 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1433, allocations: 39.66 kB / 395.1 MB, free: 3.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.1435, allocations: 27.8 kB / 395.1 MB, free: 3.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007023/0.1442, allocations: 171.7 kB / 395.3 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006968/0.1449, allocations: 443.3 kB / 395.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002381/0.1451, allocations: 84.62 kB / 395.8 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.1453, allocations: 127.4 kB / 395.9 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.1456, allocations: 155.2 kB / 396.1 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.1457, allocations: 12 kB / 396.1 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.1457, allocations: 12 kB / 396.1 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.1459, allocations: 103.6 kB / 396.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.1461, allocations: 172.6 kB / 396.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.1465, allocations: 243.7 kB / 396.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1465, allocations: 4 kB / 396.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1465, allocations: 0 / 396.6 MB, free: 1.676 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1465, allocations: 0 / 396.6 MB, free: 1.676 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.001452/0.148, allocations: 0.6425 MB / 397.3 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.1481, allocations: 8.031 kB / 397.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.1482, allocations: 56.22 kB / 397.3 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1489, allocations: 351.8 kB / 397.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.1489, allocations: 25.03 kB / 397.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.916e-05/0.149, allocations: 40.31 kB / 397.7 MB, free: 484 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008981/0.1499, allocations: 404.1 kB / 398.1 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.15, allocations: 4.094 kB / 398.1 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.15, allocations: 19.88 kB / 398.2 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.15, allocations: 8 kB / 398.2 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007668/0.1508, allocations: 302.4 kB / 398.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.1539, allocations: 1.508 MB / 400 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005427/0.1544, allocations: 186.8 kB / 400.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.1547, allocations: 120.7 kB / 400.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.1548, allocations: 0 / 400.3 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.1548, allocations: 34.56 kB / 400.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.753e-06/0.1548, allocations: 0 / 400.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0009243/0.1558, allocations: 336.9 kB / 400.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/0.1558, allocations: 55.41 kB / 400.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005831/0.1564, allocations: 397.5 kB / 401.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.643e-05/0.1565, allocations: 33.7 kB / 401.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.1567, allocations: 224 kB / 401.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.903e-05/0.1568, allocations: 86.8 kB / 401.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.1569, allocations: 45.69 kB / 401.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.1572, allocations: 354.7 kB / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.1574, allocations: 96.31 kB / 401.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003435/0.1578, allocations: 221.9 kB / 402.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.1597, allocations: 0.5925 MB / 402.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1597, allocations: 0 / 402.7 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009372/0.1607, allocations: 429.1 kB / 403.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.1607, allocations: 15.94 kB / 403.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.1608, allocations: 4 kB / 403.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.1608, allocations: 4 kB / 403.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.1613, allocations: 87.89 kB / 403.2 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.547e-05/0.1613, allocations: 8 kB / 403.2 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.1615, allocations: 43.58 kB / 403.3 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.1616, allocations: 19.94 kB / 403.3 MB, free: 10.62 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.0003791/0.162, allocations: 195.6 kB / 403.5 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.1621, allocations: 43.47 kB / 403.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005738/0.1626, allocations: 288.9 kB / 403.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1627, allocations: 7.938 kB / 403.8 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1627, allocations: 3.984 kB / 403.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1627, allocations: 0 / 403.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.1631, allocations: 373.3 kB / 404.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1632, allocations: 4 kB / 404.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.1635, allocations: 67.89 kB / 404.3 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.1635, allocations: 7.938 kB / 404.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.1635, allocations: 4 kB / 404.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1635, allocations: 4 kB / 404.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1635, allocations: 0 / 404.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.1643, allocations: 494.6 kB / 404.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.1644, allocations: 120.5 kB / 404.9 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.1644, allocations: 4 kB / 404.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.1646, allocations: 15.98 kB / 404.9 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.1646, allocations: 19.97 kB / 404.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.1647, allocations: 8 kB / 404.9 MB, free: 8.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002759/0.165, allocations: 271.1 kB / 405.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.165, allocations: 0 / 405.2 MB, free: 8.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.1654, allocations: 59.84 kB / 405.3 MB, free: 8.566 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.0001548/0.1656, allocations: 111.3 kB / 405.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006936/0.1663, allocations: 279.7 kB / 405.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1663, allocations: 0 / 405.6 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.1666, allocations: 112.8 kB / 405.7 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004959/0.1671, allocations: 41.73 kB / 405.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.169, allocations: 0.9647 MB / 406.8 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/0.1697, allocations: 0.8384 MB / 407.6 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.1698, allocations: 31.42 kB / 407.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1698, allocations: 8 kB / 407.6 MB, free: 6.121 MB / 302.1 MB Notification: Performance of Templates: time 0.009354/0.1792, allocations: 4.111 MB / 411.7 MB, free: 2.004 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