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.006025/0.006024, allocations: 100.1 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 189.2 kB / 16.79 MB, free: 5.805 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.72/1.72, allocations: 205.1 MB / 222.6 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05748/0.05748, allocations: 10.74 MB / 280.7 MB, free: 10.71 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.001236/0.001236, allocations: 67.83 kB / 340.5 MB, free: 23.77 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.104, allocations: 49.02 MB / 389.5 MB, free: 6.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestAntiWindupBlocks): time 0.003421/0.1075, allocations: 1.942 MB / 391.5 MB, free: 4.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1091, allocations: 0.8152 MB / 392.3 MB, free: 3.898 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1092, allocations: 15.88 kB / 392.3 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1095, allocations: 47.75 kB / 392.4 MB, free: 3.836 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.1096, allocations: 47.75 kB / 392.4 MB, free: 3.789 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.1101, allocations: 159.8 kB / 392.6 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.1104, allocations: 263.2 kB / 392.8 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.1105, allocations: 44.73 kB / 392.9 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1107, allocations: 107.5 kB / 393 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.1109, allocations: 111.5 kB / 393.1 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.1109, allocations: 12 kB / 393.1 MB, free: 3.109 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.1111, allocations: 79.92 kB / 393.2 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.1112, allocations: 47.77 kB / 393.2 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1113, allocations: 111.2 kB / 393.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.1116, allocations: 183.8 kB / 393.5 MB, free: 2.695 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.707e-06/0.1116, allocations: 7.984 kB / 393.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1116, allocations: 0 / 393.5 MB, free: 2.688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1116, allocations: 3.938 kB / 393.5 MB, free: 2.684 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.0009146/0.1125, allocations: 0.5977 MB / 394.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.1126, allocations: 8.031 kB / 394.1 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.1127, allocations: 36.56 kB / 394.2 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.1131, allocations: 323.3 kB / 394.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.1133, allocations: 149.4 kB / 394.6 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.1133, allocations: 28.12 kB / 394.6 MB, free: 1.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.1138, allocations: 212.5 kB / 394.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1138, allocations: 3.984 kB / 394.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.1138, allocations: 12 kB / 394.9 MB, free: 1.195 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1138, allocations: 4 kB / 394.9 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.1141, allocations: 123.7 kB / 395 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.1154, allocations: 0.734 MB / 395.7 MB, free: 288 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1156, allocations: 118.5 kB / 395.8 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.1157, allocations: 64.84 kB / 395.9 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.1158, allocations: 4 kB / 395.9 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.1162, allocations: 137 kB / 396 MB, free: 15.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.1162, allocations: 0 / 396 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005261/0.1167, allocations: 294.8 kB / 396.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.1168, allocations: 89.05 kB / 396.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.1171, allocations: 287.3 kB / 396.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.1171, allocations: 25.7 kB / 396.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.1172, allocations: 184 kB / 396.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/0.1173, allocations: 55.3 kB / 397 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.911e-05/0.1174, allocations: 53.94 kB / 397 MB, free: 14.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1175, allocations: 342.8 kB / 397.3 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1176, allocations: 60.5 kB / 397.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1178, allocations: 152.1 kB / 397.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.1181, allocations: 287.4 kB / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1181, allocations: 0 / 397.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004383/0.1186, allocations: 338.9 kB / 398.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.1186, allocations: 49.69 kB / 398.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1187, allocations: 0 / 398.2 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.1187, allocations: 4 kB / 398.2 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.1189, allocations: 47.92 kB / 398.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1189, allocations: 11.98 kB / 398.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.1191, allocations: 27.72 kB / 398.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.1191, allocations: 12 kB / 398.3 MB, free: 13.48 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.0001917/0.1193, allocations: 187.4 kB / 398.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.182e-05/0.1194, allocations: 31.62 kB / 398.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.1194, allocations: 26.3 kB / 398.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1194, allocations: 0 / 398.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1194, allocations: 4 kB / 398.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1195, allocations: 3.938 kB / 398.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.1202, allocations: 0.6296 MB / 399.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1202, allocations: 4 kB / 399.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.1205, allocations: 39.94 kB / 399.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1205, allocations: 4 kB / 399.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1205, allocations: 11.94 kB / 399.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1205, allocations: 0 / 399.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1205, allocations: 3.938 kB / 399.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.1211, allocations: 453.6 kB / 399.7 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.1211, allocations: 96.83 kB / 399.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.1212, allocations: 7.938 kB / 399.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.1213, allocations: 4.062 kB / 399.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.1213, allocations: 15.91 kB / 399.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.1214, allocations: 8 kB / 399.8 MB, free: 11.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.1215, allocations: 190 kB / 400 MB, free: 11.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1216, allocations: 0 / 400 MB, free: 11.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003387/0.1219, allocations: 67.83 kB / 400.1 MB, free: 11.59 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.0001991/0.1221, allocations: 131.2 kB / 400.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.1225, allocations: 259.1 kB / 400.5 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1225, allocations: 4 kB / 400.5 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1227, allocations: 147.4 kB / 400.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.123, allocations: 33.39 kB / 400.6 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008734/0.1239, allocations: 0.609 MB / 401.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.1242, allocations: 0.7599 MB / 402 MB, free: 9.566 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.1243, allocations: 19.44 kB / 402 MB, free: 9.547 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1243, allocations: 288 / 402 MB, free: 9.547 MB / 302.1 MB Notification: Performance of Templates: time 0.005132/0.1294, allocations: 2.942 MB / 405 MB, free: 6.602 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