Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.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.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001091, allocations: 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.002108/0.002108, 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 2.03/2.03, allocations: 205.4 MB / 223.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06598/0.06598, allocations: 10.75 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.0005381/0.000538, allocations: 15.19 kB / 342.9 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1258, allocations: 50.01 MB / 392.9 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002581/0.1284, allocations: 1.592 MB / 394.5 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.1303, allocations: 0.7959 MB / 395.3 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003556/0.1307, allocations: 19.81 kB / 395.3 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.131, allocations: 43.75 kB / 395.4 MB, free: 2.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1312, allocations: 47.77 kB / 395.4 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000802/0.132, allocations: 163.7 kB / 395.6 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004663/0.1325, allocations: 271.3 kB / 395.8 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1327, allocations: 32.75 kB / 395.9 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.1329, allocations: 103.5 kB / 396 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.1332, allocations: 111.4 kB / 396.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.377e-05/0.1332, allocations: 11.98 kB / 396.1 MB, free: 2.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.1334, allocations: 83.92 kB / 396.2 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.1335, allocations: 43.78 kB / 396.2 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.1337, allocations: 121 kB / 396.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.1341, allocations: 187.8 kB / 396.5 MB, free: 1.793 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.1341, allocations: 4 kB / 396.5 MB, free: 1.789 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.617e-06/0.1341, allocations: 3.938 kB / 396.5 MB, free: 1.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1342, allocations: 0 / 396.5 MB, free: 1.785 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001077/0.1352, allocations: 0.5433 MB / 397.1 MB, free: 1.188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.1353, allocations: 12.02 kB / 397.1 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1354, allocations: 40.47 kB / 397.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.136, allocations: 323.3 kB / 397.4 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001663/0.1362, allocations: 157.3 kB / 397.6 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.222e-05/0.1362, allocations: 20.12 kB / 397.6 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.1367, allocations: 220.5 kB / 397.8 MB, free: 356 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1367, allocations: 4 kB / 397.8 MB, free: 352 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/0.1367, allocations: 4 kB / 397.8 MB, free: 348 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1368, allocations: 8 kB / 397.8 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.137, allocations: 119.7 kB / 398 MB, free: 220 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001453/0.1385, allocations: 0.7419 MB / 398.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.1388, allocations: 106.5 kB / 398.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.1389, allocations: 80.88 kB / 398.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.139, allocations: 3.984 kB / 398.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003235/0.1393, allocations: 141 kB / 399 MB, free: 15.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 2.244e-06/0.1393, allocations: 0 / 399 MB, free: 15.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005968/0.1399, allocations: 290.8 kB / 399.3 MB, free: 14.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.14, allocations: 89.05 kB / 399.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003133/0.1403, allocations: 283.3 kB / 399.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1404, allocations: 29.7 kB / 399.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.1406, allocations: 180 kB / 399.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.1407, allocations: 55.25 kB / 399.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.036e-05/0.1408, allocations: 33.7 kB / 400 MB, free: 14.06 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.141, allocations: 338.8 kB / 400.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.1411, allocations: 68.48 kB / 400.4 MB, free: 13.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.1413, allocations: 148.2 kB / 400.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.1416, allocations: 282.4 kB / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1416, allocations: 0 / 400.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000512/0.1421, allocations: 346.8 kB / 401.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.1422, allocations: 37.69 kB / 401.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.1422, allocations: 4 kB / 401.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.1422, allocations: 4 kB / 401.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.1425, allocations: 55.91 kB / 401.2 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.1425, allocations: 4 kB / 401.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1426, allocations: 31.62 kB / 401.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.1427, allocations: 15.98 kB / 401.3 MB, free: 12.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (signal.nextEventScaled,signal.nextEvent,$PRE.signal.nextEvent,signal.last,signal.b,signal.a,$whenCondition1,complexPoles.TS_in,LeadLAG.TS_in,FirstOrder.TS_in,Integrator.TS_in,Gain.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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.0001872/0.1429, allocations: 183.5 kB / 401.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.1429, allocations: 23.72 kB / 401.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.677e-05/0.143, allocations: 30.3 kB / 401.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.143, allocations: 7.938 kB / 401.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/0.143, allocations: 0 / 401.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1431, allocations: 3.938 kB / 401.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007838/0.1438, allocations: 0.6257 MB / 402.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1439, allocations: 4.031 kB / 402.1 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.1441, allocations: 35.92 kB / 402.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1441, allocations: 0 / 402.2 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.689e-05/0.1442, allocations: 11.94 kB / 402.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1442, allocations: 3.984 kB / 402.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1442, allocations: 0 / 402.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.1448, allocations: 453.5 kB / 402.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.1449, allocations: 96.83 kB / 402.7 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.1449, allocations: 12 kB / 402.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.145, allocations: 7.984 kB / 402.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1451, allocations: 8 kB / 402.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.1451, allocations: 12.05 kB / 402.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.1454, allocations: 190 kB / 402.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1454, allocations: 0 / 402.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.1457, allocations: 63.84 kB / 403 MB, free: 10.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (Integrator.y,FirstOrder.Y,LeadLAG.uF,complexPoles.Y,complexPoles.dY) * Number of discrete variables: 6 ($whenCondition1,signal.a,signal.b,signal.last,signal.nextEvent,signal.nextEventScaled) * Number of discrete states: 6 (signal.nextEvent,signal.last,signal.nextEventScaled,signal.b,signal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0002854/0.146, allocations: 135.2 kB / 403.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003972/0.1464, allocations: 259.2 kB / 403.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1465, allocations: 0 / 403.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1466, allocations: 160.1 kB / 403.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.147, allocations: 24.39 kB / 403.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.1481, allocations: 0.6211 MB / 404.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005215/0.1486, allocations: 0.7638 MB / 405 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.1487, allocations: 23.44 kB / 405 MB, free: 8.695 MB / 302.1 MB Notification: Performance of SimCode: time 2.875e-06/0.1487, allocations: 0 / 405 MB, free: 8.695 MB / 302.1 MB Notification: Performance of Templates: time 0.007394/0.1561, allocations: 2.926 MB / 407.9 MB, free: 5.762 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks.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.TestAntiWindupBlocksCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocksCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocksCalcHelperMain.o] Error 1