Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009601/0.0009597, 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.0009816/0.0009819, allocations: 179.3 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.941/1.941, allocations: 205.4 MB / 223.1 MB, free: 5.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05649/0.05649, allocations: 10.74 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.0007808/0.0007809, allocations: 19.75 kB / 342.9 MB, free: 23.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1438, allocations: 49.99 MB / 392.9 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002659/0.1466, allocations: 1.479 MB / 394.4 MB, free: 3.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1479, allocations: 0.6205 MB / 395 MB, free: 3.305 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.148, allocations: 7.938 kB / 395 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.1481, allocations: 11.86 kB / 395 MB, free: 3.285 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.1483, allocations: 27.73 kB / 395 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1486, allocations: 75.91 kB / 395.1 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.1488, allocations: 187.4 kB / 395.3 MB, free: 3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.149, allocations: 37.89 kB / 395.3 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.1492, allocations: 79.61 kB / 395.4 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1493, allocations: 79.61 kB / 395.5 MB, free: 2.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.1494, allocations: 8 kB / 395.5 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.836e-05/0.1494, allocations: 11.94 kB / 395.5 MB, free: 2.789 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.1495, allocations: 35.83 kB / 395.5 MB, free: 2.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1496, allocations: 101.3 kB / 395.6 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.1498, allocations: 107.7 kB / 395.7 MB, free: 2.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.1498, allocations: 3.938 kB / 395.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1498, allocations: 0 / 395.7 MB, free: 2.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1498, allocations: 0 / 395.7 MB, free: 2.539 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001352/0.1512, allocations: 0.5639 MB / 396.3 MB, free: 1.918 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1512, allocations: 8.031 kB / 396.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.256e-05/0.1513, allocations: 20.75 kB / 396.3 MB, free: 1.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.1517, allocations: 259.6 kB / 396.6 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.263e-05/0.1518, allocations: 63.97 kB / 396.7 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.1518, allocations: 12.36 kB / 396.7 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005778/0.1524, allocations: 220.8 kB / 396.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1524, allocations: 0 / 396.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1525, allocations: 0 / 396.9 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1525, allocations: 4 kB / 396.9 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/0.1532, allocations: 187.8 kB / 397.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.1543, allocations: 0.6567 MB / 397.7 MB, free: 388 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006775/0.155, allocations: 202.4 kB / 397.9 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/0.1553, allocations: 100.8 kB / 398 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1554, allocations: 0 / 398 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.1559, allocations: 183.2 kB / 398.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.156, allocations: 0 / 398.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.00118/0.1571, allocations: 353.4 kB / 398.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.524e-05/0.1572, allocations: 59.39 kB / 398.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.1574, allocations: 203.7 kB / 398.8 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.1575, allocations: 33.7 kB / 398.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1576, allocations: 132.1 kB / 399 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.1576, allocations: 35.55 kB / 399 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.1577, allocations: 25.72 kB / 399 MB, free: 15 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1578, allocations: 338.8 kB / 399.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.1582, allocations: 103.9 kB / 399.5 MB, free: 14.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004395/0.1587, allocations: 165.9 kB / 399.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007013/0.1594, allocations: 309 kB / 399.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1594, allocations: 0 / 399.9 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009198/0.1603, allocations: 376.6 kB / 400.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.1604, allocations: 66.05 kB / 400.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1604, allocations: 3.938 kB / 400.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1604, allocations: 4 kB / 400.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004439/0.1609, allocations: 72.02 kB / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.1609, allocations: 4 kB / 400.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.1612, allocations: 55.8 kB / 400.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.1613, allocations: 12 kB / 400.5 MB, free: 13.43 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.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): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001407/0.1614, allocations: 133.8 kB / 400.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1615, allocations: 23.73 kB / 400.7 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.1615, allocations: 17.53 kB / 400.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1615, allocations: 4 kB / 400.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.1616, allocations: 0 / 400.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1616, allocations: 0 / 400.7 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.1618, allocations: 249.4 kB / 400.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1619, allocations: 4 kB / 400.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004268/0.1623, allocations: 59.83 kB / 401 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1623, allocations: 4 kB / 401 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.1623, allocations: 7.938 kB / 401 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1623, allocations: 0 / 401 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.1624, allocations: 7.984 kB / 401 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.1636, allocations: 396.6 kB / 401.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.469e-05/0.1636, allocations: 92.89 kB / 401.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.1637, allocations: 4 kB / 401.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.1639, allocations: 44.02 kB / 401.5 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.1641, allocations: 27.95 kB / 401.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1641, allocations: 8 kB / 401.6 MB, free: 12.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.1643, allocations: 141.5 kB / 401.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1643, allocations: 3.938 kB / 401.7 MB, free: 12.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1646, allocations: 39.91 kB / 401.7 MB, free: 12.1 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002078/0.1648, allocations: 115.2 kB / 401.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009592/0.1657, allocations: 342.8 kB / 402.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.1658, allocations: 8.125 kB / 402.2 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.1661, allocations: 107.9 kB / 402.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1665, allocations: 39.69 kB / 402.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009395/0.1675, allocations: 404.5 kB / 402.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.1679, allocations: 0.7205 MB / 403.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.168, allocations: 27.36 kB / 403.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of SimCode: time 9.12e-07/0.168, allocations: 0 / 403.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of Templates: time 0.005116/0.1732, allocations: 2.408 MB / 405.9 MB, free: 7.859 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.TestTrackingICalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingICalcHelperMain.o] Error 1