Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 91.92 kB / 16.02 MB, free: 80 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.001992/0.001992, allocations: 180.2 kB / 16.92 MB, free: 6.652 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.887/1.887, allocations: 205.4 MB / 223.1 MB, free: 5.465 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0575/0.0575, allocations: 10.75 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.0005658/0.0005662, allocations: 12.22 kB / 342.9 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1523, allocations: 50.01 MB / 392.9 MB, free: 5.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.003809/0.1562, allocations: 2.037 MB / 394.9 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00314/0.1594, allocations: 1.431 MB / 396.4 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.1596, allocations: 11.88 kB / 396.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009885/0.1606, allocations: 195.4 kB / 396.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.161, allocations: 139.5 kB / 396.7 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1621, allocations: 351.4 kB / 397 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007621/0.1629, allocations: 0.5584 MB / 397.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.1631, allocations: 77.06 kB / 397.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003037/0.1634, allocations: 199.1 kB / 397.9 MB, free: 436 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003629/0.1638, allocations: 223 kB / 398.1 MB, free: 212 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.1639, allocations: 16 kB / 398.1 MB, free: 196 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002755/0.1642, allocations: 131.8 kB / 398.2 MB, free: 64 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.1644, allocations: 119.6 kB / 398.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.1646, allocations: 224.2 kB / 398.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004825/0.1651, allocations: 399.4 kB / 399 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.1651, allocations: 0 / 399 MB, free: 15.33 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1651, allocations: 0 / 399 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.1652, allocations: 0 / 399 MB, free: 15.33 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001791/0.167, allocations: 0.7985 MB / 399.8 MB, free: 14.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.167, allocations: 8.031 kB / 399.8 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.1672, allocations: 60.19 kB / 399.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000803/0.168, allocations: 430.5 kB / 400.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.066e-05/0.168, allocations: 29.03 kB / 400.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.321e-05/0.1681, allocations: 40.03 kB / 400.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008374/0.169, allocations: 432.3 kB / 400.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.169, allocations: 0 / 400.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.619e-05/0.1691, allocations: 23.98 kB / 400.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.1691, allocations: 11.98 kB / 400.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005975/0.1697, allocations: 322.3 kB / 401.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.1721, allocations: 1.563 MB / 402.6 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004633/0.1726, allocations: 238.9 kB / 402.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.1729, allocations: 153.3 kB / 403 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.1729, allocations: 4.234 kB / 403 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004684/0.1734, allocations: 247.2 kB / 403.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.833e-06/0.1734, allocations: 0 / 403.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001156/0.1746, allocations: 0.5637 MB / 403.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.1747, allocations: 110.8 kB / 403.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006433/0.1754, allocations: 0.5136 MB / 404.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.1754, allocations: 33.7 kB / 404.5 MB, free: 9.516 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.1756, allocations: 267.9 kB / 404.8 MB, free: 9.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1758, allocations: 114.5 kB / 404.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.739e-05/0.1758, allocations: 53.69 kB / 404.9 MB, free: 9.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.176, allocations: 366.8 kB / 405.3 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.1763, allocations: 148.9 kB / 405.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.1767, allocations: 286.1 kB / 405.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.1787, allocations: 0.9138 MB / 406.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.1787, allocations: 0 / 406.6 MB, free: 7.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009733/0.1797, allocations: 0.6205 MB / 407.2 MB, free: 6.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.927e-05/0.1797, allocations: 37.69 kB / 407.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1797, allocations: 4 kB / 407.3 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.1798, allocations: 15.88 kB / 407.3 MB, free: 6.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.1802, allocations: 112.3 kB / 407.4 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.1802, allocations: 8 kB / 407.4 MB, free: 6.414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.1805, allocations: 63.42 kB / 407.5 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.714e-05/0.1805, allocations: 20 kB / 407.5 MB, free: 6.332 MB / 302.1 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 58 * 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.0003838/0.1809, allocations: 261.2 kB / 407.7 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.181, allocations: 51.34 kB / 407.8 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009969/0.182, allocations: 0.4959 MB / 408.3 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.182, allocations: 4 kB / 408.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.182, allocations: 0 / 408.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.182, allocations: 0 / 408.3 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.1827, allocations: 453 kB / 408.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1827, allocations: 8 kB / 408.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003816/0.1831, allocations: 59.95 kB / 408.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.1831, allocations: 8 kB / 408.8 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.413e-05/0.1832, allocations: 23.92 kB / 408.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1832, allocations: 0 / 408.8 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.1832, allocations: 3.938 kB / 408.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1843, allocations: 0.6634 MB / 409.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.1844, allocations: 136.4 kB / 409.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/0.1845, allocations: 24.03 kB / 409.7 MB, free: 4.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1847, allocations: 19.92 kB / 409.7 MB, free: 4.012 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.1848, allocations: 27.95 kB / 409.7 MB, free: 3.984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.1848, allocations: 8 kB / 409.7 MB, free: 3.977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004069/0.1852, allocations: 366.8 kB / 410.1 MB, free: 3.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1853, allocations: 4 kB / 410.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004449/0.1857, allocations: 115.8 kB / 410.2 MB, free: 3.504 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],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 (30): * Single equations (assignments): 27 * 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.001234/0.1869, allocations: 466.4 kB / 410.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007806/0.1877, allocations: 495.7 kB / 411.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1877, allocations: 0 / 411.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.1881, allocations: 255.8 kB / 411.4 MB, free: 2.387 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.1886, allocations: 73.86 kB / 411.5 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1904, allocations: 1.236 MB / 412.7 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006194/0.191, allocations: 0.8741 MB / 413.6 MB, free: 152 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1911, allocations: 39.42 kB / 413.6 MB, free: 112 kB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1911, allocations: 0 / 413.6 MB, free: 112 kB / 302.1 MB Notification: Performance of Templates: time 0.0116/0.2027, allocations: 6.516 MB / 420.1 MB, free: 9.582 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_tracking.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.TestD_trackingCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_trackingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_trackingCalcHelperMain.o] Error 1