Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.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_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001237, allocations: 99.59 kB / 15.71 MB, free: 452 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.001685/0.001685, allocations: 181.9 kB / 16.58 MB, free: 6.879 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.007/2.007, allocations: 205.4 MB / 222.8 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06966/0.06966, allocations: 10.74 MB / 281.8 MB, free: 10.79 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.0007116/0.0007116, allocations: 12 kB / 342.3 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1216, allocations: 50.01 MB / 392.3 MB, free: 5.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.002641/0.1243, allocations: 1.957 MB / 394.2 MB, free: 3.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1263, allocations: 1.229 MB / 395.5 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001821/0.1265, allocations: 11.88 kB / 395.5 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007538/0.1273, allocations: 191.4 kB / 395.7 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.1276, allocations: 139.4 kB / 395.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.1285, allocations: 291.4 kB / 396.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.129, allocations: 471 kB / 396.5 MB, free: 1.512 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.1292, allocations: 65.25 kB / 396.6 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002351/0.1295, allocations: 183.2 kB / 396.8 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1297, allocations: 191.1 kB / 397 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.052e-05/0.1298, allocations: 12 kB / 397 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.1301, allocations: 127.9 kB / 397.1 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.1302, allocations: 103.6 kB / 397.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.1303, allocations: 89.45 kB / 397.3 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1307, allocations: 363.4 kB / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1307, allocations: 0 / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1307, allocations: 0 / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.1307, allocations: 4 kB / 397.6 MB, free: 392 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001204/0.1319, allocations: 0.7632 MB / 398.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.132, allocations: 8.031 kB / 398.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.049e-05/0.1321, allocations: 55.34 kB / 398.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/0.1326, allocations: 397.4 kB / 398.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.1327, allocations: 20.56 kB / 398.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.1327, allocations: 28 kB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000606/0.1333, allocations: 375.7 kB / 399.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.1334, allocations: 11.84 kB / 399.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.1334, allocations: 11.95 kB / 399.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.1334, allocations: 8 kB / 399.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.1339, allocations: 266 kB / 399.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1359, allocations: 1.387 MB / 400.9 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.1365, allocations: 214.9 kB / 401.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.1367, allocations: 121 kB / 401.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.1367, allocations: 192 / 401.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004103/0.1372, allocations: 229.8 kB / 401.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.1372, allocations: 0 / 401.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.0009053/0.1381, allocations: 481.1 kB / 402 MB, free: 11.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.1382, allocations: 106.8 kB / 402.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/0.1388, allocations: 481.8 kB / 402.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.1388, allocations: 33.7 kB / 402.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.139, allocations: 264 kB / 402.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.572e-05/0.1391, allocations: 86.81 kB / 402.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.1391, allocations: 4 kB / 402.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1393, allocations: 362.8 kB / 403.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.1395, allocations: 108.4 kB / 403.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/0.1398, allocations: 232.2 kB / 403.6 MB, free: 10.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.1401, allocations: 173.4 kB / 403.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1401, allocations: 0 / 403.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007601/0.1408, allocations: 0.4944 MB / 404.3 MB, free: 9.387 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.734e-05/0.1409, allocations: 44.61 kB / 404.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.1409, allocations: 4 kB / 404.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1409, allocations: 4.406 kB / 404.3 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002796/0.1412, allocations: 87.78 kB / 404.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.1412, allocations: 7.984 kB / 404.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.1414, allocations: 47.58 kB / 404.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.1415, allocations: 20 kB / 404.5 MB, free: 9.172 MB / 302.1 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,R.TS_in,R_track.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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0003655/0.1419, allocations: 244.5 kB / 404.7 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.1419, allocations: 47.44 kB / 404.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.1427, allocations: 431.8 kB / 405.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1427, allocations: 4 kB / 405.2 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1427, allocations: 3.984 kB / 405.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.1427, allocations: 3.938 kB / 405.2 MB, free: 8.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.1432, allocations: 417.2 kB / 405.6 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1432, allocations: 4 kB / 405.6 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.1434, allocations: 43.97 kB / 405.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1434, allocations: 4 kB / 405.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.1435, allocations: 8 kB / 405.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1435, allocations: 3.953 kB / 405.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1435, allocations: 8 kB / 405.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009027/0.1444, allocations: 0.5855 MB / 406.3 MB, free: 7.285 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.1445, allocations: 128.5 kB / 406.4 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.1446, allocations: 8 kB / 406.4 MB, free: 7.133 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1447, allocations: 23.98 kB / 406.4 MB, free: 7.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.1448, allocations: 27.86 kB / 406.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.961e-05/0.1449, allocations: 8 kB / 406.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000545/0.1454, allocations: 335.1 kB / 406.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1455, allocations: 4 kB / 406.8 MB, free: 6.746 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004595/0.1459, allocations: 107.7 kB / 406.9 MB, free: 6.641 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001139/0.1471, allocations: 458.6 kB / 407.3 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007146/0.1478, allocations: 407 kB / 407.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1478, allocations: 0 / 407.7 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.1481, allocations: 228.1 kB / 408 MB, free: 5.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1485, allocations: 69.86 kB / 408 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1499, allocations: 0.9713 MB / 409 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000523/0.1505, allocations: 0.8461 MB / 409.9 MB, free: 3.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.1506, allocations: 35.44 kB / 409.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1506, allocations: 0 / 409.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of Templates: time 0.01009/0.1607, allocations: 5.871 MB / 415.8 MB, free: 13.79 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_tracking.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_trackingCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_trackingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_trackingCalcHelperMain.o] Error 1