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.00118/0.00118, allocations: 102.9 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.001438/0.001438, allocations: 175.7 kB / 16.58 MB, free: 6.863 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.084/2.084, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05706/0.05706, 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.0005104/0.0005104, allocations: 16 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 50.01 MB / 392.3 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002682/0.1245, allocations: 1.719 MB / 394 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.1258, allocations: 494.7 kB / 394.5 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.1259, allocations: 11.88 kB / 394.5 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1262, allocations: 39.66 kB / 394.5 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1263, allocations: 23.78 kB / 394.5 MB, free: 3.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006978/0.127, allocations: 183.7 kB / 394.7 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006759/0.1277, allocations: 435.3 kB / 395.1 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.128, allocations: 68.64 kB / 395.2 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1282, allocations: 147.3 kB / 395.4 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.1285, allocations: 167.2 kB / 395.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.157e-05/0.1286, allocations: 12 kB / 395.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.435e-05/0.1286, allocations: 12 kB / 395.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.1288, allocations: 99.7 kB / 395.6 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.1289, allocations: 85.45 kB / 395.7 MB, free: 2.297 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003301/0.1293, allocations: 247.7 kB / 396 MB, free: 2.055 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.1293, allocations: 4 kB / 396 MB, free: 2.051 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1293, allocations: 0 / 396 MB, free: 2.051 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1293, allocations: 0 / 396 MB, free: 2.051 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.001387/0.1307, allocations: 0.658 MB / 396.6 MB, free: 1.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1308, allocations: 8.031 kB / 396.6 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.1309, allocations: 59.23 kB / 396.7 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.1315, allocations: 338.8 kB / 397 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.1317, allocations: 80.06 kB / 397.1 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.1318, allocations: 47.84 kB / 397.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008802/0.1326, allocations: 411.5 kB / 397.6 MB, free: 360 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.1327, allocations: 7.938 kB / 397.6 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.1327, allocations: 16 kB / 397.6 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1328, allocations: 8 kB / 397.6 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007635/0.1335, allocations: 310.3 kB / 397.9 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.1366, allocations: 1.583 MB / 399.5 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.1372, allocations: 183 kB / 399.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.1375, allocations: 125.2 kB / 399.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.1375, allocations: 8.188 kB / 399.8 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.1376, allocations: 34.75 kB / 399.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.1376, allocations: 0 / 399.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.000943/0.1385, allocations: 351.8 kB / 400.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1386, allocations: 55.41 kB / 400.2 MB, free: 13.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006336/0.1392, allocations: 397.5 kB / 400.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1393, allocations: 29.7 kB / 400.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.1395, allocations: 235.9 kB / 400.9 MB, free: 12.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.1396, allocations: 86.8 kB / 400.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.424e-05/0.1396, allocations: 4 kB / 400.9 MB, free: 12.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1398, allocations: 354.8 kB / 401.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.1401, allocations: 108.7 kB / 401.4 MB, free: 12.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/0.1404, allocations: 216.9 kB / 401.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.1407, allocations: 145.1 kB / 401.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1407, allocations: 0 / 401.8 MB, free: 11.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007398/0.1415, allocations: 455.6 kB / 402.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1415, allocations: 4 kB / 402.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1415, allocations: 4 kB / 402.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.1415, allocations: 8.469 kB / 402.2 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003943/0.1419, allocations: 103.9 kB / 402.3 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.142, allocations: 11.94 kB / 402.3 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.1422, allocations: 43.58 kB / 402.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.1422, allocations: 19.95 kB / 402.4 MB, free: 11.3 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 (48): * Single equations (assignments): 48 * 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.0002935/0.1425, allocations: 199.6 kB / 402.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/0.1426, allocations: 35.53 kB / 402.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005971/0.1432, allocations: 316.8 kB / 402.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.1432, allocations: 0 / 402.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.1432, allocations: 0 / 402.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1432, allocations: 0 / 402.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.1437, allocations: 393.2 kB / 403.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1438, allocations: 0 / 403.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.1441, allocations: 71.89 kB / 403.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.1442, allocations: 8 kB / 403.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.1442, allocations: 11.98 kB / 403.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1442, allocations: 0 / 403.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1442, allocations: 0 / 403.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.145, allocations: 0.4986 MB / 403.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1451, allocations: 116.6 kB / 404 MB, free: 9.566 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.597e-05/0.1451, allocations: 8.109 kB / 404 MB, free: 9.559 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.1453, allocations: 19.92 kB / 404 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.1453, allocations: 15.98 kB / 404.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.1454, allocations: 7.984 kB / 404.1 MB, free: 9.516 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002937/0.1457, allocations: 267.1 kB / 404.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1457, allocations: 4 kB / 404.3 MB, free: 9.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.146, allocations: 67.84 kB / 404.4 MB, free: 9.184 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 (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.0001414/0.1462, allocations: 107.9 kB / 404.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005118/0.1467, allocations: 296.5 kB / 404.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1467, allocations: 0 / 404.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.1469, allocations: 123.8 kB / 404.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.1473, allocations: 50.47 kB / 405 MB, free: 8.613 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1485, allocations: 0.9827 MB / 405.9 MB, free: 7.598 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.149, allocations: 0.8341 MB / 406.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.1491, allocations: 31.44 kB / 406.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1491, allocations: 0 / 406.8 MB, free: 6.703 MB / 302.1 MB Notification: Performance of Templates: time 0.006939/0.156, allocations: 4.229 MB / 411 MB, free: 2.469 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++ 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.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