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.001295/0.001295, allocations: 102 kB / 15.71 MB, free: 460 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.001463/0.001463, allocations: 174.4 kB / 16.58 MB, free: 6.098 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.085/2.085, allocations: 205.4 MB / 222.7 MB, free: 5.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05474/0.05474, 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.0005335/0.0005339, allocations: 12 kB / 342.2 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1209, allocations: 50.01 MB / 392.3 MB, free: 5.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.002808/0.1238, allocations: 1.734 MB / 394 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.1249, allocations: 387 kB / 394.4 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.1252, allocations: 11.88 kB / 394.4 MB, free: 3.645 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.1255, allocations: 39.66 kB / 394.4 MB, free: 3.605 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.1257, allocations: 23.8 kB / 394.4 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.1264, allocations: 163.7 kB / 394.6 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000649/0.127, allocations: 403.3 kB / 395 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.1273, allocations: 60.64 kB / 395.1 MB, free: 2.969 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.1276, allocations: 139.4 kB / 395.2 MB, free: 2.832 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.1279, allocations: 155.3 kB / 395.3 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.256e-05/0.128, allocations: 12 kB / 395.4 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.775e-05/0.1281, allocations: 8 kB / 395.4 MB, free: 2.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1282, allocations: 99.72 kB / 395.5 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1283, allocations: 73.45 kB / 395.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.1287, allocations: 251.7 kB / 395.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.1287, allocations: 0 / 395.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1287, allocations: 0 / 395.8 MB, free: 2.238 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.1287, allocations: 0 / 395.8 MB, free: 2.238 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.001253/0.13, allocations: 0.6501 MB / 396.4 MB, free: 1.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.13, allocations: 8.031 kB / 396.4 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.1302, allocations: 55.3 kB / 396.5 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.1307, allocations: 338.8 kB / 396.8 MB, free: 1.113 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.1307, allocations: 24.66 kB / 396.8 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.1308, allocations: 39.91 kB / 396.9 MB, free: 1.047 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006731/0.1315, allocations: 395.6 kB / 397.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.1315, allocations: 7.875 kB / 397.3 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.1316, allocations: 16 kB / 397.3 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1316, allocations: 8 kB / 397.3 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005397/0.1321, allocations: 302.4 kB / 397.6 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002142/0.1343, allocations: 1.508 MB / 399.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.1347, allocations: 183.1 kB / 399.3 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/0.1349, allocations: 113.2 kB / 399.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.135, allocations: 192 / 399.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.135, allocations: 38.75 kB / 399.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.135, allocations: 3.938 kB / 399.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006831/0.1357, allocations: 335.8 kB / 399.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.1357, allocations: 59.39 kB / 399.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.1362, allocations: 389.5 kB / 400.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.1362, allocations: 29.7 kB / 400.2 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1364, allocations: 239.9 kB / 400.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.1365, allocations: 78.89 kB / 400.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.1365, allocations: 8 kB / 400.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.1367, allocations: 350.8 kB / 400.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.1369, allocations: 96.31 kB / 401 MB, free: 12.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.1371, allocations: 214.2 kB / 401.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.1374, allocations: 140.8 kB / 401.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1374, allocations: 0 / 401.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006441/0.1381, allocations: 428.8 kB / 401.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1381, allocations: 4 kB / 401.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.1381, allocations: 4 kB / 401.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.1381, allocations: 8 kB / 401.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.1385, allocations: 87.89 kB / 401.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.1385, allocations: 11.92 kB / 401.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1387, allocations: 51.95 kB / 401.9 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.71e-05/0.1387, allocations: 16 kB / 401.9 MB, free: 11.76 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 (45): * Single equations (assignments): 45 * 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.0002641/0.139, allocations: 195.5 kB / 402.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.139, allocations: 39.53 kB / 402.2 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005693/0.1396, allocations: 296.8 kB / 402.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1396, allocations: 4 kB / 402.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1396, allocations: 4 kB / 402.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1396, allocations: 0 / 402.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.1401, allocations: 381.2 kB / 402.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1401, allocations: 0 / 402.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.1404, allocations: 63.95 kB / 402.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1404, allocations: 3.938 kB / 402.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.1405, allocations: 8 kB / 402.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1405, allocations: 0 / 402.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1405, allocations: 11.92 kB / 402.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.1412, allocations: 494.5 kB / 403.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.1413, allocations: 108.7 kB / 403.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.1413, allocations: 8 kB / 403.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.1415, allocations: 19.98 kB / 403.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.1415, allocations: 15.97 kB / 403.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.1415, allocations: 8 kB / 403.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.1418, allocations: 267.1 kB / 403.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1418, allocations: 0 / 403.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003317/0.1422, allocations: 63.75 kB / 403.9 MB, free: 9.707 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 (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.0001397/0.1423, allocations: 115.3 kB / 404 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004891/0.1428, allocations: 271.7 kB / 404.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1428, allocations: 0.9375 kB / 404.3 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.143, allocations: 115.9 kB / 404.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1434, allocations: 38.3 kB / 404.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1447, allocations: 0.9296 MB / 405.3 MB, free: 8.207 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.1452, allocations: 0.8309 MB / 406.2 MB, free: 7.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/0.1453, allocations: 31.44 kB / 406.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1453, allocations: 3.938 kB / 406.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Templates: time 0.007173/0.1525, allocations: 4.115 MB / 410.3 MB, free: 3.191 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++ 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.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