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.001062/0.001062, 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.002077/0.002078, allocations: 173.8 kB / 16.58 MB, free: 6.398 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.017/2.017, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05621/0.05622, allocations: 10.74 MB / 281.8 MB, free: 10.79 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.0005341/0.0005341, allocations: 12 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1217, allocations: 50 MB / 392.3 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingLL): time 0.002329/0.1241, allocations: 1.531 MB / 393.8 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1254, allocations: 0.6914 MB / 394.5 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1256, allocations: 7.938 kB / 394.5 MB, free: 3.543 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000121/0.1257, allocations: 19.8 kB / 394.5 MB, free: 3.523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.1258, allocations: 31.73 kB / 394.5 MB, free: 3.492 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.1262, allocations: 107.8 kB / 394.6 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.1265, allocations: 255.3 kB / 394.9 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1267, allocations: 49.12 kB / 394.9 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.1269, allocations: 103.5 kB / 395 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.1271, allocations: 99.52 kB / 395.1 MB, free: 2.895 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.1272, allocations: 8 kB / 395.2 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.393e-05/0.1272, allocations: 12 kB / 395.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.1273, allocations: 47.81 kB / 395.2 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.53e-05/0.1274, allocations: 57.58 kB / 395.3 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1276, allocations: 151.8 kB / 395.4 MB, free: 2.617 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1276, allocations: 3.938 kB / 395.4 MB, free: 2.613 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1276, allocations: 0 / 395.4 MB, free: 2.613 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1276, allocations: 0 / 395.4 MB, free: 2.613 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.001344/0.129, allocations: 0.5816 MB / 396 MB, free: 1.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.513e-05/0.129, allocations: 8.031 kB / 396 MB, free: 1.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.1291, allocations: 31.72 kB / 396 MB, free: 1.941 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.1296, allocations: 297.3 kB / 396.3 MB, free: 1.605 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.1298, allocations: 97.39 kB / 396.4 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.1298, allocations: 20 kB / 396.4 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.1304, allocations: 223.7 kB / 396.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1304, allocations: 0 / 396.7 MB, free: 1.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.1305, allocations: 7.953 kB / 396.7 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1305, allocations: 4 kB / 396.7 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005676/0.131, allocations: 200.3 kB / 396.9 MB, free: 1.043 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001733/0.1328, allocations: 0.7303 MB / 397.6 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.1336, allocations: 202.4 kB / 397.8 MB, free: 56 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.1341, allocations: 112.7 kB / 397.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.1342, allocations: 0 / 397.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007109/0.1349, allocations: 175.3 kB / 398.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 3.036e-06/0.1349, allocations: 0 / 398.1 MB, free: 15.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001599/0.1365, allocations: 373.1 kB / 398.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/0.1366, allocations: 63.39 kB / 398.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/0.137, allocations: 228.9 kB / 398.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.1371, allocations: 29.7 kB / 398.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/0.1373, allocations: 152.3 kB / 398.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/0.1374, allocations: 51.28 kB / 399 MB, free: 14.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.183e-05/0.1374, allocations: 0 / 399 MB, free: 14.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.1377, allocations: 342.8 kB / 399.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.1382, allocations: 107.9 kB / 399.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.1387, allocations: 135.4 kB / 399.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004757/0.1392, allocations: 134.4 kB / 399.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1392, allocations: 0 / 399.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001152/0.1404, allocations: 344.3 kB / 400 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.154e-05/0.1405, allocations: 33.7 kB / 400 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.1405, allocations: 0 / 400 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.1405, allocations: 8.094 kB / 400 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.1425, allocations: 127.8 kB / 400.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003505/0.146, allocations: 2.689 MB / 402.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.1464, allocations: 43.81 kB / 402.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.1465, allocations: 7.984 kB / 402.9 MB, free: 10.57 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,$whenCondition1,LLtr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.1468, allocations: 145.8 kB / 403 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.1468, allocations: 15.81 kB / 403.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/0.1479, allocations: 310.5 kB / 403.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1479, allocations: 0 / 403.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1479, allocations: 8 kB / 403.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1479, allocations: 0 / 403.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.1496, allocations: 0.674 MB / 404 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1496, allocations: 0 / 404 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.1512, allocations: 111.9 kB / 404.2 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.1512, allocations: 3.984 kB / 404.2 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.1512, allocations: 4 kB / 404.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1513, allocations: 4 kB / 404.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1513, allocations: 4 kB / 404.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.1527, allocations: 0.4911 MB / 404.7 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.718e-05/0.1528, allocations: 100.8 kB / 404.8 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.1529, allocations: 8 kB / 404.8 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.1532, allocations: 31.97 kB / 404.8 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.1534, allocations: 27.95 kB / 404.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1534, allocations: 8 kB / 404.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002144/0.1536, allocations: 160.5 kB / 405 MB, free: 8.387 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1536, allocations: 0 / 405 MB, free: 8.387 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005158/0.1542, allocations: 47.84 kB / 405 MB, free: 8.34 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 (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.0001789/0.1543, allocations: 107.2 kB / 405.1 MB, free: 8.227 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001354/0.1557, allocations: 325.9 kB / 405.5 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.1557, allocations: 3.859 kB / 405.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004399/0.1562, allocations: 127.9 kB / 405.6 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.1567, allocations: 32.38 kB / 405.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.1582, allocations: 0.5361 MB / 406.2 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.1586, allocations: 0.7404 MB / 406.9 MB, free: 6.402 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.1587, allocations: 27.42 kB / 406.9 MB, free: 6.375 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.1587, allocations: 3.938 kB / 406.9 MB, free: 6.371 MB / 302.1 MB Notification: Performance of Templates: time 0.008639/0.1674, allocations: 3.769 MB / 410.7 MB, free: 2.605 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++ 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.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