Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006171/0.006171, allocations: 99.86 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 192.1 kB / 16.79 MB, free: 5.809 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.59/1.59, allocations: 205.1 MB / 222.7 MB, free: 4.906 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05528/0.05528, allocations: 10.74 MB / 280.7 MB, free: 10.94 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.001365/0.001365, allocations: 63.91 kB / 340.5 MB, free: 23.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1331, allocations: 49.02 MB / 389.5 MB, free: 6.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.003345/0.1365, allocations: 1.935 MB / 391.5 MB, free: 4.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.1379, allocations: 0.7223 MB / 392.2 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.138, allocations: 11.88 kB / 392.2 MB, free: 4.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1381, allocations: 15.8 kB / 392.2 MB, free: 4.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.1383, allocations: 27.73 kB / 392.2 MB, free: 3.992 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.1387, allocations: 123.9 kB / 392.4 MB, free: 3.871 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003126/0.139, allocations: 267.3 kB / 392.6 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.1392, allocations: 56.95 kB / 392.7 MB, free: 3.559 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.1394, allocations: 115.4 kB / 392.8 MB, free: 3.445 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.1396, allocations: 107.4 kB / 392.9 MB, free: 3.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.1396, allocations: 16 kB / 392.9 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-05/0.1397, allocations: 12 kB / 392.9 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.429e-05/0.1397, allocations: 51.75 kB / 393 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1399, allocations: 107.3 kB / 393.1 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.1401, allocations: 147.9 kB / 393.2 MB, free: 3.012 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1401, allocations: 4 kB / 393.2 MB, free: 3.008 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1401, allocations: 4 kB / 393.2 MB, free: 3.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.1401, allocations: 0 / 393.2 MB, free: 3.004 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001299/0.1414, allocations: 0.605 MB / 393.8 MB, free: 2.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.1415, allocations: 12.03 kB / 393.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.585e-05/0.1416, allocations: 32.56 kB / 393.9 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.142, allocations: 298.5 kB / 394.2 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.1421, allocations: 101.3 kB / 394.3 MB, free: 1.852 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.958e-05/0.1422, allocations: 16 kB / 394.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00052/0.1427, allocations: 211.7 kB / 394.5 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1427, allocations: 4 kB / 394.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.1428, allocations: 7.938 kB / 394.5 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.1428, allocations: 4 kB / 394.5 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000535/0.1433, allocations: 164.4 kB / 394.7 MB, free: 1.449 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1448, allocations: 0.7185 MB / 395.4 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.1453, allocations: 166.5 kB / 395.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002717/0.1456, allocations: 92.8 kB / 395.6 MB, free: 424 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.1456, allocations: 4.234 kB / 395.6 MB, free: 420 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000523/0.1461, allocations: 179 kB / 395.8 MB, free: 228 kB / 286.1 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.1461, allocations: 0 / 395.8 MB, free: 228 kB / 286.1 MB Notification: Performance of matching and sorting (n=16): time 0.00109/0.1472, allocations: 324.9 kB / 396.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.1473, allocations: 55.39 kB / 396.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.1475, allocations: 232.9 kB / 396.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.1476, allocations: 33.7 kB / 396.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1477, allocations: 152.3 kB / 396.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.1478, allocations: 47.3 kB / 396.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.485e-05/0.1479, allocations: 45.69 kB / 396.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.1481, allocations: 338.8 kB / 397 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003109/0.1484, allocations: 95.92 kB / 397.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/0.1488, allocations: 135.1 kB / 397.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.1493, allocations: 230.1 kB / 397.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1493, allocations: 0 / 397.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007406/0.1501, allocations: 314.8 kB / 397.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.1501, allocations: 29.7 kB / 397.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1502, allocations: 4 kB / 397.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.1502, allocations: 0 / 397.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.1516, allocations: 131.9 kB / 397.9 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/0.1541, allocations: 2.681 MB / 400.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1543, allocations: 39.83 kB / 400.7 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.1544, allocations: 12 kB / 400.7 MB, free: 10.99 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,LLtr.ts,$whenCondition1,LL.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001749/0.1545, allocations: 137.9 kB / 400.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.927e-05/0.1546, allocations: 23.66 kB / 400.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007454/0.1553, allocations: 271.7 kB / 401.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1554, allocations: 0 / 401.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.1554, allocations: 4 kB / 401.1 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1554, allocations: 7.922 kB / 401.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1565, allocations: 0.6463 MB / 401.7 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1565, allocations: 4 kB / 401.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.1577, allocations: 103.9 kB / 401.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1577, allocations: 0 / 401.9 MB, free: 9.734 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.1578, allocations: 8 kB / 401.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1578, allocations: 4 kB / 401.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1578, allocations: 3.938 kB / 401.9 MB, free: 9.719 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009673/0.1587, allocations: 470.4 kB / 402.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.1588, allocations: 92.83 kB / 402.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.1589, allocations: 8 kB / 402.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1591, allocations: 19.97 kB / 402.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.1592, allocations: 23.95 kB / 402.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1592, allocations: 8 kB / 402.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.1594, allocations: 164.4 kB / 402.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 402.6 MB, free: 8.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.1597, allocations: 55.84 kB / 402.7 MB, free: 8.867 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (LLaw.uF,LLtr.uF,LL.uF) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,LLtr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001444/0.1598, allocations: 99.19 kB / 402.8 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.1609, allocations: 303.2 kB / 403.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1609, allocations: 0 / 403.1 MB, free: 8.453 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003309/0.1612, allocations: 111.9 kB / 403.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1616, allocations: 28.42 kB / 403.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.1627, allocations: 0.5424 MB / 403.8 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.1631, allocations: 0.7443 MB / 404.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1632, allocations: 23.42 kB / 404.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1632, allocations: 0 / 404.5 MB, free: 6.941 MB / 302.1 MB Notification: Performance of Templates: time 0.006042/0.1693, allocations: 3.792 MB / 408.3 MB, free: 3.148 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL.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.Blocks.Examples.TestTrackingLLCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLLCalcHelperMain.o] Error 1