Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009341/0.0009344, allocations: 99.19 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.001158/0.001159, allocations: 182.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.972/1.972, allocations: 205.4 MB / 223.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05645/0.05645, allocations: 10.74 MB / 282.1 MB, free: 10.44 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.0007606/0.0007605, allocations: 16.22 kB / 342.9 MB, free: 23.5 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1206, allocations: 50.01 MB / 392.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.0025/0.1232, allocations: 1.862 MB / 394.8 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1253, allocations: 1.026 MB / 395.8 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.1255, allocations: 11.88 kB / 395.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.1258, allocations: 71.61 kB / 395.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1259, allocations: 55.7 kB / 395.9 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007459/0.1266, allocations: 279.5 kB / 396.2 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007429/0.1274, allocations: 0.5433 MB / 396.7 MB, free: 1.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.1276, allocations: 96.91 kB / 396.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.1279, allocations: 187.2 kB / 397 MB, free: 1.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1282, allocations: 219.1 kB / 397.2 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.1283, allocations: 16 kB / 397.2 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1284, allocations: 87.88 kB / 397.3 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.1286, allocations: 139.5 kB / 397.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.1288, allocations: 224.2 kB / 397.7 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.1293, allocations: 351.5 kB / 398 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1293, allocations: 0 / 398 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1293, allocations: 4 kB / 398 MB, free: 248 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1293, allocations: 0 / 398 MB, free: 248 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001339/0.1306, allocations: 0.7653 MB / 398.8 MB, free: 15.42 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1307, allocations: 8.031 kB / 398.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1308, allocations: 64.19 kB / 398.9 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.1314, allocations: 421.7 kB / 399.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.064e-05/0.1314, allocations: 29.38 kB / 399.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.708e-05/0.1315, allocations: 44.36 kB / 399.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008656/0.1324, allocations: 0.5048 MB / 399.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.1324, allocations: 15.83 kB / 399.9 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.212e-05/0.1325, allocations: 16 kB / 399.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1325, allocations: 12 kB / 399.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.1332, allocations: 395.7 kB / 400.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/0.1361, allocations: 1.814 MB / 402.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005417/0.1366, allocations: 274.4 kB / 402.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.1369, allocations: 180.6 kB / 402.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.589e-05/0.137, allocations: 4 kB / 402.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.1374, allocations: 256.9 kB / 402.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.364e-06/0.1374, allocations: 0 / 402.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.0011/0.1385, allocations: 0.5899 MB / 403.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.1386, allocations: 85.11 kB / 403.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.1392, allocations: 0.49 MB / 404 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.1392, allocations: 29.7 kB / 404 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.1395, allocations: 280 kB / 404.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.1396, allocations: 134.1 kB / 404.4 MB, free: 9.598 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.978e-05/0.1397, allocations: 65.69 kB / 404.5 MB, free: 9.527 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1399, allocations: 370.7 kB / 404.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.1402, allocations: 169.1 kB / 405 MB, free: 8.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003943/0.1406, allocations: 329.8 kB / 405.3 MB, free: 8.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.1428, allocations: 1.086 MB / 406.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1428, allocations: 0 / 406.4 MB, free: 7.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001099/0.1439, allocations: 0.726 MB / 407.1 MB, free: 6.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.381e-05/0.144, allocations: 49.31 kB / 407.2 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.144, allocations: 7.938 kB / 407.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.144, allocations: 12 kB / 407.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.1445, allocations: 131.8 kB / 407.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/0.1446, allocations: 8 kB / 407.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.1448, allocations: 75.25 kB / 407.4 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.871e-05/0.1449, allocations: 24 kB / 407.4 MB, free: 6.375 MB / 302.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 1 * 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.0003552/0.1452, allocations: 274.5 kB / 407.7 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.197e-05/0.1453, allocations: 51.34 kB / 407.7 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/0.1462, allocations: 0.5293 MB / 408.3 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1462, allocations: 4 kB / 408.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1462, allocations: 3.984 kB / 408.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1462, allocations: 4 kB / 408.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.1468, allocations: 480.8 kB / 408.8 MB, free: 4.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1468, allocations: 4 kB / 408.8 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/0.1473, allocations: 83.89 kB / 408.8 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.1473, allocations: 4 kB / 408.8 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.1473, allocations: 15.98 kB / 408.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1473, allocations: 0 / 408.9 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1473, allocations: 4 kB / 408.9 MB, free: 4.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.1484, allocations: 0.7237 MB / 409.6 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/0.1485, allocations: 120.6 kB / 409.7 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.1486, allocations: 23.92 kB / 409.7 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.1488, allocations: 15.98 kB / 409.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.1488, allocations: 19.97 kB / 409.8 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.1489, allocations: 15.98 kB / 409.8 MB, free: 3.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003846/0.1493, allocations: 342.8 kB / 410.1 MB, free: 3.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1493, allocations: 4 kB / 410.1 MB, free: 3.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004203/0.1497, allocations: 115.8 kB / 410.2 MB, free: 3.453 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0002285/0.1499, allocations: 132.1 kB / 410.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008227/0.1508, allocations: 0.5672 MB / 410.9 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1508, allocations: 0 / 410.9 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.1511, allocations: 279.2 kB / 411.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1515, allocations: 42.62 kB / 411.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.1532, allocations: 1.374 MB / 412.6 MB, free: 1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.1537, allocations: 0.882 MB / 413.5 MB, free: 88 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.1538, allocations: 39.44 kB / 413.5 MB, free: 48 kB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1538, allocations: 0 / 413.5 MB, free: 48 kB / 302.1 MB Notification: Performance of Templates: time 0.009398/0.1632, allocations: 5.882 MB / 419.4 MB, free: 10.15 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.TestPD_biasCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_biasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_biasCalcHelperMain.o] Error 1