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.001069/0.001069, allocations: 92.62 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.001476/0.001476, allocations: 178.7 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.924/1.924, allocations: 205.4 MB / 223.1 MB, free: 5.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05718/0.05718, allocations: 10.76 MB / 282.1 MB, free: 10.69 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.0006586/0.0006584, allocations: 12.22 kB / 342.9 MB, free: 23.51 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1523, allocations: 50.01 MB / 392.9 MB, free: 5.438 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002747/0.1551, allocations: 1.569 MB / 394.5 MB, free: 3.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.1566, allocations: 0.7145 MB / 395.2 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.1568, allocations: 11.88 kB / 395.2 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.1569, allocations: 19.8 kB / 395.2 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.157, allocations: 27.73 kB / 395.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.1575, allocations: 119.8 kB / 395.4 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.1579, allocations: 275.2 kB / 395.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.1581, allocations: 52.95 kB / 395.7 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001619/0.1583, allocations: 107.4 kB / 395.8 MB, free: 2.535 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.1585, allocations: 107.4 kB / 395.9 MB, free: 2.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.534e-05/0.1586, allocations: 8 kB / 395.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/0.1586, allocations: 12 kB / 395.9 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.1587, allocations: 47.81 kB / 396 MB, free: 2.363 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.1588, allocations: 121 kB / 396.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000176/0.159, allocations: 151.8 kB / 396.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.159, allocations: 0 / 396.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.159, allocations: 0 / 396.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.159, allocations: 0 / 396.2 MB, free: 2.09 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.001245/0.1603, allocations: 0.5779 MB / 396.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1603, allocations: 8.031 kB / 396.8 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.1604, allocations: 32.66 kB / 396.8 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.1608, allocations: 306.4 kB / 397.1 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.161, allocations: 101.3 kB / 397.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.161, allocations: 15.98 kB / 397.3 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.1616, allocations: 227.6 kB / 397.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1616, allocations: 0 / 397.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.1616, allocations: 8 kB / 397.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1617, allocations: 4 kB / 397.5 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000688/0.1624, allocations: 196.4 kB / 397.7 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.1639, allocations: 0.7303 MB / 398.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.1646, allocations: 206.4 kB / 398.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.165, allocations: 108.8 kB / 398.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.165, allocations: 0 / 398.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006286/0.1657, allocations: 179.4 kB / 398.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1657, allocations: 3.938 kB / 398.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001401/0.1671, allocations: 377 kB / 399.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.1672, allocations: 59.41 kB / 399.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/0.1675, allocations: 232.9 kB / 399.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.1676, allocations: 29.7 kB / 399.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.1677, allocations: 152.2 kB / 399.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.543e-05/0.1678, allocations: 55.28 kB / 399.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1679, allocations: 25.72 kB / 399.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.1681, allocations: 342.7 kB / 400.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.1685, allocations: 107.9 kB / 400.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.1689, allocations: 143.3 kB / 400.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.1695, allocations: 261 kB / 400.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1696, allocations: 0 / 400.6 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008505/0.1704, allocations: 342.8 kB / 401 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.1705, allocations: 29.7 kB / 401 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1705, allocations: 4 kB / 401 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1705, allocations: 0 / 401 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.172, allocations: 131.9 kB / 401.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.1751, allocations: 2.689 MB / 403.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1754, allocations: 51.83 kB / 403.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.1754, allocations: 8 kB / 403.9 MB, free: 9.855 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.0001733/0.1756, allocations: 133.9 kB / 404 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.1757, allocations: 23.66 kB / 404 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000809/0.1765, allocations: 306.6 kB / 404.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1765, allocations: 0 / 404.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.1765, allocations: 0 / 404.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.1765, allocations: 0 / 404.3 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.1777, allocations: 0.6931 MB / 405 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1778, allocations: 0 / 405 MB, free: 8.641 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.179, allocations: 119.9 kB / 405.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.179, allocations: 0 / 405.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.391e-05/0.1791, allocations: 8 kB / 405.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1791, allocations: 0 / 405.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1791, allocations: 0 / 405.2 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1802, allocations: 0.4911 MB / 405.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.272e-05/0.1803, allocations: 104.9 kB / 405.8 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.89e-05/0.1804, allocations: 4 kB / 405.8 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.1806, allocations: 31.97 kB / 405.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.793e-05/0.1807, allocations: 23.95 kB / 405.8 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.1808, allocations: 8 kB / 405.8 MB, free: 7.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.1809, allocations: 160.5 kB / 406 MB, free: 7.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1809, allocations: 4 kB / 406 MB, free: 7.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003186/0.1813, allocations: 51.84 kB / 406 MB, free: 7.613 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.0001624/0.1814, allocations: 95.25 kB / 406.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.1826, allocations: 337.8 kB / 406.5 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.1826, allocations: 3.859 kB / 406.5 MB, free: 7.168 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.183, allocations: 119.9 kB / 406.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.1833, allocations: 40.36 kB / 406.6 MB, free: 7.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1845, allocations: 0.5516 MB / 407.2 MB, free: 6.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.1851, allocations: 0.7404 MB / 407.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.1852, allocations: 27.44 kB / 407.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1852, allocations: 0 / 407.9 MB, free: 5.633 MB / 302.1 MB Notification: Performance of Templates: time 0.008047/0.1933, allocations: 3.765 MB / 411.7 MB, free: 1.867 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