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.00138/0.00138, allocations: 96.14 kB / 15.87 MB, free: 12 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.001761/0.001761, allocations: 196.6 kB / 16.79 MB, free: 6.828 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.672/1.672, allocations: 205.1 MB / 222.6 MB, free: 4.82 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05799/0.05799, allocations: 10.74 MB / 280.7 MB, free: 10.76 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.00119/0.00119, allocations: 55.92 kB / 340.5 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.109, allocations: 49.02 MB / 389.5 MB, free: 6.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.003873/0.1129, allocations: 2.399 MB / 391.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.1151, allocations: 1.334 MB / 393.3 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.1153, allocations: 15.88 kB / 393.3 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000664/0.116, allocations: 195.3 kB / 393.5 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.1163, allocations: 139.5 kB / 393.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.1171, allocations: 307.5 kB / 393.9 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000625/0.1177, allocations: 0.5108 MB / 394.4 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1179, allocations: 77.02 kB / 394.5 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002263/0.1181, allocations: 187.1 kB / 394.7 MB, free: 1.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003658/0.1185, allocations: 207.1 kB / 394.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.97e-05/0.1186, allocations: 12 kB / 394.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002603/0.1189, allocations: 131.8 kB / 395 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001712/0.119, allocations: 111.6 kB / 395.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.1193, allocations: 186.7 kB / 395.3 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.1197, allocations: 359.6 kB / 395.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1197, allocations: 4 kB / 395.7 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1197, allocations: 3.938 kB / 395.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.1198, allocations: 0 / 395.7 MB, free: 0.5391 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00158/0.1214, allocations: 0.8411 MB / 396.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.1214, allocations: 8.031 kB / 396.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1215, allocations: 60.28 kB / 396.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.122, allocations: 406.4 kB / 397 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/0.1221, allocations: 20.94 kB / 397 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.026e-05/0.1222, allocations: 40.06 kB / 397 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.1228, allocations: 379.6 kB / 397.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.1228, allocations: 7.906 kB / 397.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.1229, allocations: 12 kB / 397.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.1229, allocations: 11.98 kB / 397.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.1234, allocations: 254 kB / 397.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.1253, allocations: 1.391 MB / 399.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.1259, allocations: 206.5 kB / 399.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.1261, allocations: 124.8 kB / 399.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.1261, allocations: 7.984 kB / 399.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003559/0.1265, allocations: 217.5 kB / 399.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.653e-06/0.1265, allocations: 0 / 399.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008831/0.1274, allocations: 481.3 kB / 400.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.1275, allocations: 110.8 kB / 400.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.128, allocations: 485.8 kB / 400.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.128, allocations: 33.7 kB / 400.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1282, allocations: 252.1 kB / 400.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.407e-05/0.1283, allocations: 86.8 kB / 401 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.1284, allocations: 85.53 kB / 401.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1286, allocations: 362.8 kB / 401.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.1288, allocations: 108.4 kB / 401.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.1291, allocations: 232 kB / 401.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.1305, allocations: 0.7169 MB / 402.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1306, allocations: 0 / 402.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000743/0.1313, allocations: 0.4908 MB / 403 MB, free: 8.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.1314, allocations: 48.44 kB / 403 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1314, allocations: 4 kB / 403 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1314, allocations: 4 kB / 403.1 MB, free: 8.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.1317, allocations: 79.83 kB / 403.1 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1317, allocations: 4.406 kB / 403.1 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.1319, allocations: 51.58 kB / 403.2 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.132, allocations: 16 kB / 403.2 MB, free: 8.555 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] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.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 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002808/0.1322, allocations: 236.3 kB / 403.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.1323, allocations: 51.38 kB / 403.5 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000729/0.1331, allocations: 444.1 kB / 403.9 MB, free: 7.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.1331, allocations: 3.984 kB / 403.9 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1331, allocations: 4 kB / 403.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.1331, allocations: 0 / 403.9 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004063/0.1335, allocations: 413.1 kB / 404.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1335, allocations: 8 kB / 404.3 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.1338, allocations: 51.91 kB / 404.4 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.1338, allocations: 3.938 kB / 404.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.395e-05/0.1338, allocations: 8 kB / 404.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.1338, allocations: 11.98 kB / 404.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1338, allocations: 0 / 404.4 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000948/0.1348, allocations: 0.573 MB / 405 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.1349, allocations: 136.4 kB / 405.1 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/0.135, allocations: 8 kB / 405.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.1351, allocations: 15.98 kB / 405.1 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/0.1352, allocations: 23.91 kB / 405.2 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.1353, allocations: 12 kB / 405.2 MB, free: 6.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003499/0.1356, allocations: 343 kB / 405.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1356, allocations: 0 / 405.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.136, allocations: 103.8 kB / 405.6 MB, free: 6.027 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 (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.0009938/0.137, allocations: 450.8 kB / 406.1 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000633/0.1377, allocations: 407 kB / 406.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1377, allocations: 0.8125 kB / 406.4 MB, free: 5.281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.138, allocations: 223.3 kB / 406.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1385, allocations: 69.94 kB / 406.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1398, allocations: 1.005 MB / 407.7 MB, free: 3.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005126/0.1403, allocations: 0.85 MB / 408.6 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.1404, allocations: 39.42 kB / 408.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1404, allocations: 0 / 408.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of Templates: time 0.009282/0.1497, allocations: 5.918 MB / 414.5 MB, free: 13.1 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++ -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.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