Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.000854, allocations: 92.7 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.001061/0.001061, allocations: 179.1 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.926/1.926, allocations: 205.4 MB / 223.1 MB, free: 5.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06028/0.06028, allocations: 10.75 MB / 282.1 MB, free: 10.67 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.0005922/0.0005921, allocations: 12.22 kB / 342.9 MB, free: 23.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1512, allocations: 50 MB / 392.9 MB, free: 5.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002949/0.1543, allocations: 1.518 MB / 394.4 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.1558, allocations: 0.64 MB / 395.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.156, allocations: 7.938 kB / 395.1 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.1562, allocations: 19.8 kB / 395.1 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.151e-05/0.1563, allocations: 19.78 kB / 395.1 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.1567, allocations: 95.84 kB / 395.2 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.157, allocations: 215.4 kB / 395.4 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.1572, allocations: 48.61 kB / 395.5 MB, free: 2.883 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1573, allocations: 79.58 kB / 395.5 MB, free: 2.805 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1575, allocations: 87.53 kB / 395.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.1576, allocations: 4 kB / 395.6 MB, free: 2.715 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.818e-05/0.1576, allocations: 8 kB / 395.6 MB, free: 2.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.1577, allocations: 35.78 kB / 395.7 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1578, allocations: 109.2 kB / 395.8 MB, free: 2.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.158, allocations: 135.9 kB / 395.9 MB, free: 2.426 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1581, allocations: 3.938 kB / 395.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1581, allocations: 0 / 395.9 MB, free: 2.422 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1581, allocations: 0 / 395.9 MB, free: 2.422 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001283/0.1594, allocations: 0.543 MB / 396.4 MB, free: 1.828 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/0.1594, allocations: 8.031 kB / 396.5 MB, free: 1.82 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.316e-05/0.1595, allocations: 28.66 kB / 396.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.16, allocations: 283.4 kB / 396.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.1602, allocations: 93.66 kB / 396.9 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.1602, allocations: 20.38 kB / 396.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.1608, allocations: 201.6 kB / 397.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1608, allocations: 0 / 397.1 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.1609, allocations: 12 kB / 397.1 MB, free: 1.133 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.1609, allocations: 4 kB / 397.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.1615, allocations: 167.8 kB / 397.2 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.1627, allocations: 0.6091 MB / 397.9 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.1633, allocations: 170.4 kB / 398 MB, free: 132 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.1636, allocations: 92.8 kB / 398.1 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.1637, allocations: 0 / 398.1 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005335/0.1642, allocations: 159.3 kB / 398.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.1642, allocations: 0 / 398.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001074/0.1653, allocations: 317.4 kB / 398.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.1654, allocations: 55.39 kB / 398.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.1657, allocations: 207.1 kB / 398.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1657, allocations: 29.7 kB / 398.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.1658, allocations: 144.2 kB / 399 MB, free: 15.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.1659, allocations: 43.53 kB / 399 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.166, allocations: 25.7 kB / 399.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1661, allocations: 330.8 kB / 399.4 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003158/0.1665, allocations: 99.92 kB / 399.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/0.1668, allocations: 119.4 kB / 399.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.1674, allocations: 235.8 kB / 399.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1674, allocations: 0 / 399.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007361/0.1682, allocations: 295 kB / 400.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.1682, allocations: 41.69 kB / 400.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1682, allocations: 0 / 400.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.1683, allocations: 4 kB / 400.2 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007275/0.169, allocations: 79.95 kB / 400.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.169, allocations: 3.984 kB / 400.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.1693, allocations: 39.91 kB / 400.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1693, allocations: 7.938 kB / 400.3 MB, free: 13.73 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 ($whenCondition1,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0001507/0.1695, allocations: 137.7 kB / 400.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.1695, allocations: 23.72 kB / 400.5 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.1696, allocations: 21.39 kB / 400.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1696, allocations: 0 / 400.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1696, allocations: 0 / 400.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.1696, allocations: 4 kB / 400.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.17, allocations: 277.4 kB / 400.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.17, allocations: 0 / 400.8 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007721/0.1708, allocations: 79.94 kB / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1708, allocations: 0 / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1709, allocations: 0 / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1709, allocations: 0 / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1709, allocations: 0 / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.172, allocations: 364.5 kB / 401.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.1721, allocations: 92.86 kB / 401.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.1722, allocations: 12.03 kB / 401.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1724, allocations: 27.97 kB / 401.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1725, allocations: 20.06 kB / 401.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.1726, allocations: 8 kB / 401.3 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001448/0.1727, allocations: 148.6 kB / 401.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1727, allocations: 0 / 401.5 MB, free: 12.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.173, allocations: 43.83 kB / 401.5 MB, free: 12.4 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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.0001936/0.1732, allocations: 103.8 kB / 401.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007581/0.174, allocations: 263.3 kB / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.174, allocations: 4.062 kB / 401.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.1743, allocations: 95.88 kB / 402 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.1746, allocations: 32.59 kB / 402 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1757, allocations: 470.3 kB / 402.5 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.1762, allocations: 0.7361 MB / 403.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.1762, allocations: 19.44 kB / 403.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of SimCode: time 2.204e-06/0.1763, allocations: 0 / 403.2 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Templates: time 0.005548/0.1818, allocations: 2.412 MB / 405.6 MB, free: 8.211 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.TestTrackingFOCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFOCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFOCalcHelperMain.o] Error 1