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.0009596/0.0009633, allocations: 100.1 kB / 15.71 MB, free: 452 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.001218/0.001218, allocations: 175.9 kB / 16.58 MB, free: 6.418 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.054/2.054, allocations: 205.4 MB / 222.7 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05297/0.05297, allocations: 10.74 MB / 281.8 MB, free: 10.78 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.0005435/0.0005437, allocations: 19.11 kB / 342.3 MB, free: 23.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1305, allocations: 50.01 MB / 392.3 MB, free: 5.785 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.002291/0.1329, allocations: 1.55 MB / 393.8 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1343, allocations: 0.7455 MB / 394.6 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1344, allocations: 15.88 kB / 394.6 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.1346, allocations: 55.69 kB / 394.6 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.1347, allocations: 39.77 kB / 394.7 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005325/0.1353, allocations: 143.8 kB / 394.8 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.1356, allocations: 235.4 kB / 395.1 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.1358, allocations: 32.73 kB / 395.1 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1359, allocations: 107.5 kB / 395.2 MB, free: 2.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.1362, allocations: 107.5 kB / 395.3 MB, free: 2.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.821e-05/0.1362, allocations: 8 kB / 395.3 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.1364, allocations: 71.94 kB / 395.4 MB, free: 2.672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.71e-05/0.1364, allocations: 39.83 kB / 395.4 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.44e-05/0.1365, allocations: 73.5 kB / 395.5 MB, free: 2.555 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1368, allocations: 187.8 kB / 395.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1368, allocations: 0 / 395.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1368, allocations: 0 / 395.7 MB, free: 2.371 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.1368, allocations: 4 kB / 395.7 MB, free: 2.367 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.0009212/0.1377, allocations: 0.547 MB / 396.2 MB, free: 1.766 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.1378, allocations: 8.031 kB / 396.2 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.353e-05/0.1379, allocations: 43.47 kB / 396.3 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.1383, allocations: 310.2 kB / 396.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.1385, allocations: 152.8 kB / 396.7 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.771e-05/0.1385, allocations: 23.91 kB / 396.7 MB, free: 1.164 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.1389, allocations: 224.5 kB / 397 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.139, allocations: 3.938 kB / 397 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.139, allocations: 8 kB / 397 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.139, allocations: 4 kB / 397 MB, free: 0.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.1392, allocations: 111.7 kB / 397.1 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.1405, allocations: 0.7419 MB / 397.8 MB, free: 12 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.1407, allocations: 106.5 kB / 397.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1408, allocations: 68.83 kB / 398 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.1409, allocations: 4 kB / 398 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.1412, allocations: 137 kB / 398.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.1412, allocations: 4 kB / 398.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004886/0.1417, allocations: 291 kB / 398.4 MB, free: 15.37 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/0.1418, allocations: 85.2 kB / 398.5 MB, free: 15.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.1421, allocations: 283.3 kB / 398.8 MB, free: 14.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1421, allocations: 29.7 kB / 398.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1423, allocations: 184 kB / 399 MB, free: 14.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.1424, allocations: 47.36 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.1424, allocations: 4 kB / 399 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1426, allocations: 350.8 kB / 399.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.1427, allocations: 60.48 kB / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.1428, allocations: 152.1 kB / 399.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.143, allocations: 102.5 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.143, allocations: 0 / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004376/0.1434, allocations: 341.1 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.1435, allocations: 37.7 kB / 400.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1435, allocations: 0 / 400.1 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1435, allocations: 8 kB / 400.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.1438, allocations: 56.28 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.1438, allocations: 4 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1439, allocations: 31.67 kB / 400.2 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.1439, allocations: 12 kB / 400.2 MB, free: 13.51 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 ($whenCondition1,signal.a,signal.b,signal.last,$PRE.signal.nextEvent,signal.nextEvent,signal.nextEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002154/0.1442, allocations: 183.4 kB / 400.4 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.243e-05/0.1442, allocations: 23.72 kB / 400.4 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.1443, allocations: 30.3 kB / 400.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1443, allocations: 0 / 400.4 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1443, allocations: 8 kB / 400.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1443, allocations: 0 / 400.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.145, allocations: 0.6373 MB / 401.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.145, allocations: 0 / 401.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.1453, allocations: 43.91 kB / 401.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1453, allocations: 0 / 401.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.283e-05/0.1453, allocations: 11.92 kB / 401.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1453, allocations: 0 / 401.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.1453, allocations: 4.031 kB / 401.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.1458, allocations: 461.2 kB / 401.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.1459, allocations: 104.7 kB / 401.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.146, allocations: 8.062 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-05/0.1461, allocations: 3.938 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.1461, allocations: 11.98 kB / 401.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.1462, allocations: 12 kB / 401.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.1463, allocations: 186 kB / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 0 / 401.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003452/0.1467, allocations: 63.88 kB / 401.9 MB, free: 11.62 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 (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.0002087/0.1469, allocations: 127.2 kB / 402.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.1473, allocations: 271.8 kB / 402.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1473, allocations: 0 / 402.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1475, allocations: 147.4 kB / 402.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1478, allocations: 24.66 kB / 402.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009057/0.1487, allocations: 0.5978 MB / 403.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1491, allocations: 0.7599 MB / 403.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.1492, allocations: 19.44 kB / 403.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1492, allocations: 0 / 403.9 MB, free: 9.586 MB / 302.1 MB Notification: Performance of Templates: time 0.005478/0.1547, allocations: 2.923 MB / 406.8 MB, free: 6.66 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++ 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.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