Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.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.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") translateModel(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009417, allocations: 99.03 kB / 16.02 MB, free: 76 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.001169/0.001169, allocations: 181.6 kB / 16.92 MB, free: 6.891 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.906/1.906, allocations: 205.4 MB / 223.1 MB, free: 5.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0587/0.0587, allocations: 10.75 MB / 282.1 MB, free: 10.68 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.0004999/0.0004999, allocations: 12.22 kB / 342.9 MB, free: 23.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 50.02 MB / 392.9 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.002119/0.129, allocations: 1.272 MB / 394.2 MB, free: 4.164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008225/0.1298, allocations: 0.5388 MB / 394.7 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.1299, allocations: 7.938 kB / 394.7 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.13, allocations: 7.922 kB / 394.7 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.869e-05/0.1301, allocations: 11.88 kB / 394.7 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.1304, allocations: 59.88 kB / 394.8 MB, free: 3.531 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1305, allocations: 91.69 kB / 394.9 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1307, allocations: 21.11 kB / 394.9 MB, free: 3.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1308, allocations: 43.78 kB / 395 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.1309, allocations: 31.78 kB / 395 MB, free: 3.348 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.1309, allocations: 4 kB / 395 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.604e-05/0.131, allocations: 8 kB / 395 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.131, allocations: 11.92 kB / 395 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.193e-05/0.1311, allocations: 61.44 kB / 395.1 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1312, allocations: 64.11 kB / 395.1 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1312, allocations: 4 kB / 395.1 MB, free: 3.191 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1312, allocations: 0 / 395.1 MB, free: 3.191 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1312, allocations: 0 / 395.1 MB, free: 3.191 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007211/0.132, allocations: 483.4 kB / 395.6 MB, free: 2.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.132, allocations: 12.03 kB / 395.6 MB, free: 2.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1321, allocations: 16.78 kB / 395.6 MB, free: 2.629 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.1324, allocations: 228.6 kB / 395.9 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.318e-05/0.1325, allocations: 63.95 kB / 395.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/0.1325, allocations: 4.375 kB / 395.9 MB, free: 2.289 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1327, allocations: 81.77 kB / 396 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.1327, allocations: 0 / 396 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1327, allocations: 0 / 396 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1328, allocations: 4 kB / 396 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.1329, allocations: 43.91 kB / 396 MB, free: 2.156 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005565/0.1335, allocations: 320.6 kB / 396.4 MB, free: 1.793 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1337, allocations: 70.55 kB / 396.4 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1338, allocations: 36.88 kB / 396.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.1338, allocations: 0 / 396.5 MB, free: 1.676 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002971/0.1341, allocations: 107.3 kB / 396.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.1342, allocations: 0 / 396.6 MB, free: 1.559 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004603/0.1346, allocations: 149.4 kB / 396.7 MB, free: 1.406 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.1347, allocations: 51.41 kB / 396.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.1348, allocations: 162.1 kB / 396.9 MB, free: 1.176 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1349, allocations: 29.7 kB / 397 MB, free: 1.141 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.135, allocations: 100.2 kB / 397.1 MB, free: 1.039 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.135, allocations: 27.59 kB / 397.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.135, allocations: 21.7 kB / 397.1 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1352, allocations: 330.8 kB / 397.4 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.135e-05/0.1353, allocations: 27.92 kB / 397.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.1354, allocations: 65.14 kB / 397.5 MB, free: 0.543 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.1356, allocations: 105.1 kB / 397.6 MB, free: 432 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1356, allocations: 384 / 397.6 MB, free: 432 kB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002336/0.1359, allocations: 129.3 kB / 397.7 MB, free: 296 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1359, allocations: 12.16 kB / 397.8 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1359, allocations: 0 / 397.8 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1359, allocations: 7.938 kB / 397.8 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.18e-05/0.136, allocations: 15.92 kB / 397.8 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1361, allocations: 4 kB / 397.8 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.413e-05/0.1361, allocations: 8 kB / 397.8 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1361, allocations: 7.938 kB / 397.8 MB, free: 240 kB / 286.1 MB Warning: Assuming fixed start value for the following 2 variables: R_DIGITAL.y:DISCRETE(flow=false fixed = true ) "output" type: Real Rhyst_DIGITAL.y:DISCRETE(flow=false fixed = true ) "output" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.R_DIGITAL.y,R_DIGITAL.y,Rhyst_DIGITAL.state,$PRE.Rhyst_DIGITAL.state,$PRE.Rhyst_DIGITAL.y,Rhyst_DIGITAL.y,$whenCondition2,$whenCondition1,Rhyst.state,$PRE.Rhyst.state,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001619/0.1363, allocations: 137.8 kB / 397.9 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.1363, allocations: 15.81 kB / 397.9 MB, free: 76 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.1364, allocations: 8.719 kB / 398 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.1364, allocations: 4 kB / 398 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1364, allocations: 0 / 398 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1364, allocations: 3.984 kB / 398 MB, free: 60 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1366, allocations: 201.7 kB / 398.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1366, allocations: 0 / 398.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-05/0.1367, allocations: 11.98 kB / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1367, allocations: 4 kB / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1367, allocations: 0 / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1367, allocations: 0 / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1367, allocations: 64 / 398.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.137, allocations: 156.9 kB / 398.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.1371, allocations: 88.86 kB / 398.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1371, allocations: 8 kB / 398.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.1372, allocations: 11.98 kB / 398.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.1373, allocations: 7.984 kB / 398.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.1373, allocations: 7.938 kB / 398.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.594e-05/0.1374, allocations: 120.1 kB / 398.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1374, allocations: 0 / 398.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002009/0.1376, allocations: 12 kB / 398.6 MB, free: 15.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,Rhyst_DIGITAL.y,Rhyst_DIGITAL.state,R_DIGITAL.y,Rhyst.state) * Number of discrete states: 3 (Rhyst_DIGITAL.state,R_DIGITAL.u,Rhyst.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000122/0.1377, allocations: 111.2 kB / 398.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002322/0.1379, allocations: 80 kB / 398.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.138, allocations: 3.938 kB / 398.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.1381, allocations: 39.91 kB / 398.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.1383, allocations: 12 kB / 398.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.1389, allocations: 279.7 kB / 399.1 MB, free: 14.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.1392, allocations: 0.7043 MB / 399.8 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.1393, allocations: 15.44 kB / 399.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1393, allocations: 0 / 399.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of Templates: time 0.003407/0.1427, allocations: 1.382 MB / 401.2 MB, free: 12.67 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelay.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.Logic.Examples.TestRelayCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelayCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Logic.Examples.TestRelayCalcHelperMain.o] Error 1