Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 92.31 kB / 16.02 MB, free: 76 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.001214/0.001214, 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 2.05/2.05, allocations: 205.4 MB / 223.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05508/0.05508, allocations: 10.74 MB / 282.1 MB, free: 10.7 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.0005606/0.0005606, allocations: 12.22 kB / 342.9 MB, free: 23.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1186, allocations: 50.01 MB / 392.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002766/0.1214, allocations: 1.784 MB / 394.7 MB, free: 3.66 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009853/0.1224, allocations: 498.7 kB / 395.2 MB, free: 3.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1226, allocations: 11.88 kB / 395.2 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1228, allocations: 35.66 kB / 395.2 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.366e-05/0.1229, allocations: 27.8 kB / 395.2 MB, free: 3.098 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005949/0.1235, allocations: 207.7 kB / 395.4 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005439/0.1241, allocations: 487.2 kB / 395.9 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.1243, allocations: 72.67 kB / 396 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001749/0.1245, allocations: 147.3 kB / 396.1 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.1247, allocations: 163.2 kB / 396.3 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.1248, allocations: 12 kB / 396.3 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.258e-05/0.1248, allocations: 12 kB / 396.3 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.125, allocations: 107.6 kB / 396.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1251, allocations: 176.6 kB / 396.6 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.1254, allocations: 251.7 kB / 396.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1254, allocations: 0 / 396.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1254, allocations: 0 / 396.8 MB, free: 1.488 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1254, allocations: 0 / 396.8 MB, free: 1.488 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.001098/0.1265, allocations: 0.662 MB / 397.5 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.538e-05/0.1266, allocations: 12.03 kB / 397.5 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.1267, allocations: 48.28 kB / 397.6 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.1272, allocations: 355.8 kB / 397.9 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/0.1273, allocations: 80.62 kB / 398 MB, free: 244 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.1274, allocations: 40.22 kB / 398 MB, free: 204 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006986/0.1281, allocations: 424 kB / 398.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.1281, allocations: 7.938 kB / 398.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.1282, allocations: 16 kB / 398.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.1282, allocations: 8 kB / 398.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005503/0.1287, allocations: 310.3 kB / 398.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.1313, allocations: 1.578 MB / 400.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.1317, allocations: 186.9 kB / 400.5 MB, free: 13.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.132, allocations: 128.7 kB / 400.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.132, allocations: 4 kB / 400.7 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.132, allocations: 34.56 kB / 400.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.132, allocations: 3.938 kB / 400.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007535/0.1328, allocations: 349 kB / 401 MB, free: 13.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1329, allocations: 55.41 kB / 401.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004419/0.1333, allocations: 401.5 kB / 401.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.1333, allocations: 25.7 kB / 401.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.1336, allocations: 235.9 kB / 401.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.751e-05/0.1336, allocations: 90.8 kB / 401.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.1337, allocations: 41.7 kB / 401.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002115/0.1339, allocations: 354.7 kB / 402.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/0.1341, allocations: 108.6 kB / 402.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.1346, allocations: 228.8 kB / 402.5 MB, free: 11.44 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.1361, allocations: 0.6327 MB / 403.2 MB, free: 10.76 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1361, allocations: 4 kB / 403.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007085/0.1368, allocations: 445.9 kB / 403.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1368, allocations: 8 kB / 403.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1368, allocations: 4.469 kB / 403.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1369, allocations: 8 kB / 403.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.1373, allocations: 99.88 kB / 403.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.1373, allocations: 11.94 kB / 403.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.1375, allocations: 55.45 kB / 403.8 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.1375, allocations: 16 kB / 403.8 MB, free: 10.11 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 (48): * Single equations (assignments): 48 * 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.0002621/0.1378, allocations: 195.6 kB / 404 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.1378, allocations: 35.53 kB / 404 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006952/0.1385, allocations: 316.8 kB / 404.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1386, allocations: 4 kB / 404.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1386, allocations: 0 / 404.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.1386, allocations: 3.938 kB / 404.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.139, allocations: 385.3 kB / 404.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1391, allocations: 0 / 404.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.1395, allocations: 75.89 kB / 404.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1395, allocations: 0 / 404.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.525e-05/0.1395, allocations: 8 kB / 404.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.1395, allocations: 3.984 kB / 404.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1395, allocations: 0 / 404.8 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.1403, allocations: 0.5063 MB / 405.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/0.1404, allocations: 116.6 kB / 405.4 MB, free: 8.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.1404, allocations: 11.98 kB / 405.5 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1406, allocations: 11.98 kB / 405.5 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.1406, allocations: 19.92 kB / 405.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1406, allocations: 7.984 kB / 405.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.1409, allocations: 279.1 kB / 405.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1409, allocations: 0 / 405.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003269/0.1413, allocations: 59.84 kB / 405.8 MB, free: 8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.0001233/0.1414, allocations: 112.2 kB / 405.9 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005318/0.1419, allocations: 296.2 kB / 406.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1419, allocations: 0 / 406.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.1422, allocations: 127.7 kB / 406.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.1425, allocations: 45.42 kB / 406.4 MB, free: 7.426 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.1442, allocations: 1.011 MB / 407.4 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/0.1447, allocations: 0.834 MB / 408.2 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.1448, allocations: 27.44 kB / 408.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1448, allocations: 0 / 408.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of Templates: time 0.006555/0.1514, allocations: 4.242 MB / 412.5 MB, free: 1.246 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.TestI_biasCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_biasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_biasCalcHelperMain.o] Error 1