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.0008396/0.0008396, allocations: 98.88 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.001096/0.001096, allocations: 182.9 kB / 16.92 MB, free: 6.895 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.993/1.993, allocations: 205.4 MB / 223.1 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05512/0.05512, allocations: 10.74 MB / 282.1 MB, free: 10.45 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.0005709/0.0005709, allocations: 12 kB / 342.9 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1236, allocations: 50.02 MB / 392.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_tracking): time 0.003065/0.1267, allocations: 2.033 MB / 394.9 MB, free: 3.383 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.1292, allocations: 1.303 MB / 396.2 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001807/0.1294, allocations: 19.81 kB / 396.3 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007194/0.1301, allocations: 187.4 kB / 396.4 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.1305, allocations: 143.5 kB / 396.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.1313, allocations: 307.5 kB / 396.9 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005813/0.1319, allocations: 0.5107 MB / 397.4 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.1321, allocations: 81.02 kB / 397.5 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002412/0.1324, allocations: 179.2 kB / 397.6 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.1326, allocations: 199.1 kB / 397.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.149e-05/0.1327, allocations: 12 kB / 397.8 MB, free: 456 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.1329, allocations: 127.8 kB / 398 MB, free: 328 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1331, allocations: 111.6 kB / 398.1 MB, free: 216 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001988/0.1333, allocations: 200.4 kB / 398.3 MB, free: 8 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004434/0.1337, allocations: 359.5 kB / 398.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1338, allocations: 0 / 398.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1338, allocations: 4 kB / 398.6 MB, free: 15.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1338, allocations: 0 / 398.6 MB, free: 15.65 MB / 302.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.001386/0.1352, allocations: 0.7556 MB / 399.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1352, allocations: 16.03 kB / 399.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1353, allocations: 52.28 kB / 399.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000652/0.136, allocations: 414.4 kB / 399.9 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.82e-05/0.1361, allocations: 24.88 kB / 399.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.211e-05/0.1362, allocations: 32.12 kB / 399.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.137, allocations: 383.6 kB / 400.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.137, allocations: 7.906 kB / 400.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.1371, allocations: 12 kB / 400.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.1371, allocations: 8 kB / 400.3 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005943/0.1377, allocations: 258 kB / 400.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.1401, allocations: 1.395 MB / 402 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000562/0.1407, allocations: 214.4 kB / 402.2 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.141, allocations: 128.8 kB / 402.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.141, allocations: 3.984 kB / 402.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004027/0.1414, allocations: 221.5 kB / 402.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=28): time 1.573e-06/0.1414, allocations: 0 / 402.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.0008903/0.1423, allocations: 485.3 kB / 403 MB, free: 11.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.1424, allocations: 118.8 kB / 403.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005123/0.1429, allocations: 485.8 kB / 403.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.143, allocations: 29.7 kB / 403.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.1432, allocations: 248.1 kB / 403.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/0.1433, allocations: 90.73 kB / 403.9 MB, free: 10.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.1433, allocations: 45.69 kB / 404 MB, free: 10 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1435, allocations: 362.8 kB / 404.3 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.1438, allocations: 112.4 kB / 404.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.1442, allocations: 232.2 kB / 404.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.1459, allocations: 0.7285 MB / 405.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1459, allocations: 0 / 405.4 MB, free: 8.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008603/0.1468, allocations: 0.4942 MB / 405.9 MB, free: 7.949 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.513e-05/0.1468, allocations: 48.59 kB / 405.9 MB, free: 7.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1469, allocations: 4 kB / 406 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.1469, allocations: 4.406 kB / 406 MB, free: 7.891 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.1472, allocations: 83.83 kB / 406 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1472, allocations: 4 kB / 406 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1474, allocations: 47.67 kB / 406.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.1475, allocations: 16 kB / 406.1 MB, free: 7.742 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.0003497/0.1478, allocations: 244.2 kB / 406.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.1479, allocations: 55.36 kB / 406.4 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000826/0.1487, allocations: 436.6 kB / 406.8 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1487, allocations: 4 kB / 406.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.1488, allocations: 0 / 406.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1488, allocations: 4 kB / 406.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.1493, allocations: 417.1 kB / 407.2 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1493, allocations: 0 / 407.2 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.1495, allocations: 55.91 kB / 407.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1496, allocations: 3.938 kB / 407.3 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.1496, allocations: 15.98 kB / 407.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1496, allocations: 0 / 407.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1496, allocations: 0 / 407.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.1506, allocations: 0.5885 MB / 407.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1507, allocations: 132.5 kB / 408 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.1508, allocations: 8 kB / 408 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.151, allocations: 31.91 kB / 408.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.1511, allocations: 23.91 kB / 408.1 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.1511, allocations: 11.98 kB / 408.1 MB, free: 5.621 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004142/0.1515, allocations: 339.1 kB / 408.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1515, allocations: 0 / 408.4 MB, free: 5.293 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.152, allocations: 103.8 kB / 408.5 MB, free: 5.191 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.001162/0.1531, allocations: 451.2 kB / 409 MB, free: 4.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007212/0.1539, allocations: 407 kB / 409.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.1539, allocations: 0 / 409.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.1542, allocations: 236 kB / 409.6 MB, free: 4.191 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1546, allocations: 65.92 kB / 409.7 MB, free: 4.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1561, allocations: 1.026 MB / 410.7 MB, free: 3.062 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.1565, allocations: 0.8461 MB / 411.5 MB, free: 2.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.2e-05/0.1566, allocations: 39.44 kB / 411.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1566, allocations: 0 / 411.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of Templates: time 0.009954/0.1666, allocations: 5.868 MB / 417.4 MB, free: 12.28 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