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.000847/0.0008471, allocations: 102.6 kB / 15.71 MB, free: 460 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.00113/0.00113, allocations: 175.6 kB / 16.58 MB, free: 6.402 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.014/2.014, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.75 MB / 281.8 MB, free: 10.54 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.0006573/0.0006573, allocations: 22.94 kB / 342.3 MB, free: 23.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1377/0.1383, allocations: 50 MB / 392.3 MB, free: 5.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_tracking): time 0.003178/0.1416, allocations: 1.968 MB / 394.2 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.1443, allocations: 1.342 MB / 395.6 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.1446, allocations: 15.88 kB / 395.6 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007558/0.1454, allocations: 179.4 kB / 395.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.1457, allocations: 139.5 kB / 395.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009623/0.1467, allocations: 323.5 kB / 396.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006616/0.1474, allocations: 0.5115 MB / 396.7 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.1476, allocations: 69.25 kB / 396.8 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.1479, allocations: 195.2 kB / 397 MB, free: 1.023 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.1482, allocations: 219.1 kB / 397.2 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.1483, allocations: 12 kB / 397.2 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.1486, allocations: 119.8 kB / 397.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.1487, allocations: 123.6 kB / 397.4 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1489, allocations: 105.4 kB / 397.6 MB, free: 460 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000528/0.1494, allocations: 387.4 kB / 397.9 MB, free: 72 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.594e-05/0.1495, allocations: 0 / 397.9 MB, free: 72 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.1495, allocations: 0 / 397.9 MB, free: 72 kB / 286.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.1495, allocations: 0 / 397.9 MB, free: 72 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001448/0.1509, allocations: 0.8061 MB / 398.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.151, allocations: 8.031 kB / 398.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.1511, allocations: 59.25 kB / 398.8 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.1517, allocations: 413.5 kB / 399.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.1518, allocations: 24.66 kB / 399.2 MB, free: 14.67 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.1519, allocations: 39.89 kB / 399.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007371/0.1526, allocations: 440.3 kB / 399.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.1526, allocations: 0 / 399.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.1527, allocations: 19.95 kB / 399.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.1527, allocations: 11.94 kB / 399.7 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005831/0.1533, allocations: 322.3 kB / 400 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002526/0.1558, allocations: 1.552 MB / 401.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004787/0.1563, allocations: 247 kB / 401.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.1566, allocations: 149 kB / 402 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.736e-05/0.1567, allocations: 240 / 402 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.1571, allocations: 251.3 kB / 402.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/0.1571, allocations: 3.938 kB / 402.2 MB, free: 11.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=33): time 0.001025/0.1581, allocations: 0.5443 MB / 402.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.1582, allocations: 106.8 kB / 402.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.1589, allocations: 0.5174 MB / 403.4 MB, free: 10.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.1589, allocations: 33.7 kB / 403.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.1591, allocations: 268 kB / 403.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.1593, allocations: 122.3 kB / 403.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.832e-05/0.1593, allocations: 4 kB / 403.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002259/0.1595, allocations: 370.7 kB / 404.2 MB, free: 9.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.1598, allocations: 140.9 kB / 404.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.1602, allocations: 294.3 kB / 404.6 MB, free: 9.043 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.1606, allocations: 222.9 kB / 404.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1606, allocations: 0 / 404.8 MB, free: 8.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009679/0.1616, allocations: 0.6216 MB / 405.4 MB, free: 8.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.299e-05/0.1616, allocations: 41.69 kB / 405.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1617, allocations: 4 kB / 405.5 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1617, allocations: 4 kB / 405.5 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.1621, allocations: 112.3 kB / 405.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.1621, allocations: 12 kB / 405.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.1624, allocations: 59.47 kB / 405.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.1624, allocations: 24 kB / 405.7 MB, free: 7.922 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.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (59): * Single equations (assignments): 58 * 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.0003795/0.1628, allocations: 269.1 kB / 406 MB, free: 7.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/0.1629, allocations: 47.44 kB / 406 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.1638, allocations: 0.4958 MB / 406.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1638, allocations: 0 / 406.5 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1638, allocations: 4 kB / 406.5 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1638, allocations: 3.953 kB / 406.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.1643, allocations: 449.2 kB / 406.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1643, allocations: 0 / 406.9 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.1647, allocations: 71.95 kB / 407 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1647, allocations: 0 / 407 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.1648, allocations: 23.92 kB / 407 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1648, allocations: 4 kB / 407 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1648, allocations: 0 / 407 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.1659, allocations: 0.6751 MB / 407.7 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.1661, allocations: 124.5 kB / 407.8 MB, free: 5.645 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.473e-05/0.1662, allocations: 19.98 kB / 407.9 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.1664, allocations: 15.98 kB / 407.9 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.1666, allocations: 23.97 kB / 407.9 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.1666, allocations: 12 kB / 407.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004309/0.167, allocations: 362.8 kB / 408.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.167, allocations: 0 / 408.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.1676, allocations: 123.8 kB / 408.4 MB, free: 5.102 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 (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.1687, allocations: 455.4 kB / 408.8 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008497/0.1696, allocations: 495.8 kB / 409.3 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.1696, allocations: 8.188 kB / 409.3 MB, free: 4.25 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.1699, allocations: 255.8 kB / 409.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.1704, allocations: 77.8 kB / 409.6 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1721, allocations: 1.177 MB / 410.8 MB, free: 2.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.1727, allocations: 0.8742 MB / 411.7 MB, free: 1.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001362/0.1728, allocations: 39.44 kB / 411.7 MB, free: 1.766 MB / 302.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1729, allocations: 0 / 411.7 MB, free: 1.766 MB / 302.1 MB Notification: Performance of Templates: time 0.01219/0.185, allocations: 6.495 MB / 418.2 MB, free: 11.26 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++ 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.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