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.001554/0.001553, allocations: 96.14 kB / 15.87 MB, free: 16 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.002008/0.002008, allocations: 195 kB / 16.79 MB, free: 6.812 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.593/1.593, allocations: 205.1 MB / 222.6 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05569/0.05569, allocations: 10.74 MB / 280.7 MB, free: 10.7 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.001385/0.001386, allocations: 67.91 kB / 340.5 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1389, allocations: 49.04 MB / 389.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.003239/0.1421, allocations: 1.607 MB / 391.1 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009441/0.1431, allocations: 0.5425 MB / 391.7 MB, free: 4.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.1432, allocations: 11.94 kB / 391.7 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.1433, allocations: 3.938 kB / 391.7 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.92e-05/0.1434, allocations: 15.86 kB / 391.7 MB, free: 4.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1437, allocations: 55.92 kB / 391.8 MB, free: 4.445 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.1438, allocations: 95.7 kB / 391.9 MB, free: 4.352 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.144, allocations: 13.12 kB / 391.9 MB, free: 4.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.1441, allocations: 59.7 kB / 391.9 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.1442, allocations: 31.78 kB / 392 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.1443, allocations: 4 kB / 392 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.095e-05/0.1443, allocations: 4 kB / 392 MB, free: 4.242 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1443, allocations: 19.91 kB / 392 MB, free: 4.223 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.1444, allocations: 39.73 kB / 392 MB, free: 4.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.1445, allocations: 60.12 kB / 392.1 MB, free: 4.125 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1445, allocations: 4 kB / 392.1 MB, free: 4.121 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1445, allocations: 0 / 392.1 MB, free: 4.121 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1446, allocations: 0 / 392.1 MB, free: 4.121 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.0007654/0.1453, allocations: 499.4 kB / 392.6 MB, free: 3.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1454, allocations: 15.97 kB / 392.6 MB, free: 3.555 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.1455, allocations: 8.844 kB / 392.6 MB, free: 3.547 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.1458, allocations: 232.6 kB / 392.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.188e-05/0.1458, allocations: 59.97 kB / 392.9 MB, free: 3.211 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.1459, allocations: 8.375 kB / 392.9 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.1461, allocations: 89.69 kB / 393 MB, free: 3.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1462, allocations: 4 kB / 393 MB, free: 3.105 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.1462, allocations: 0 / 393 MB, free: 3.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1462, allocations: 0 / 393 MB, free: 3.105 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1464, allocations: 35.97 kB / 393 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.147, allocations: 316.6 kB / 393.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1472, allocations: 70.48 kB / 393.4 MB, free: 2.633 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.1473, allocations: 24.94 kB / 393.4 MB, free: 2.605 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1474, allocations: 4.156 kB / 393.4 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003311/0.1477, allocations: 107.3 kB / 393.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 3.788e-06/0.1477, allocations: 0 / 393.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005435/0.1483, allocations: 137.4 kB / 393.7 MB, free: 2.344 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.205e-05/0.1484, allocations: 63.33 kB / 393.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.1486, allocations: 154.2 kB / 393.9 MB, free: 2.109 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1486, allocations: 37.62 kB / 393.9 MB, free: 2.066 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.1487, allocations: 96.14 kB / 394 MB, free: 1.969 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.353e-05/0.1488, allocations: 31.64 kB / 394 MB, free: 1.938 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.435e-05/0.1488, allocations: 29.7 kB / 394.1 MB, free: 1.902 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002663/0.1491, allocations: 326.8 kB / 394.4 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.1492, allocations: 23.98 kB / 394.4 MB, free: 1.551 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1493, allocations: 61.14 kB / 394.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.1496, allocations: 101 kB / 394.6 MB, free: 1.355 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1496, allocations: 0 / 394.6 MB, free: 1.355 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002743/0.1499, allocations: 133.7 kB / 394.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.1499, allocations: 8 kB / 394.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1499, allocations: 0 / 394.7 MB, free: 1.211 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.15, allocations: 4 kB / 394.7 MB, free: 1.207 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.1501, allocations: 15.92 kB / 394.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.929e-05/0.1501, allocations: 7.984 kB / 394.7 MB, free: 1.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.1502, allocations: 4 kB / 394.7 MB, free: 1.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1502, allocations: 16.09 kB / 394.8 MB, free: 1.164 MB / 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.0002261/0.1505, allocations: 129.8 kB / 394.9 MB, free: 1.027 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.665e-05/0.1505, allocations: 15.81 kB / 394.9 MB, free: 1.012 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.1505, allocations: 16.72 kB / 394.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1506, allocations: 0 / 394.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1506, allocations: 0 / 394.9 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.1506, allocations: 7.984 kB / 394.9 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.1508, allocations: 205.5 kB / 395.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1508, allocations: 0 / 395.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.294e-05/0.1509, allocations: 4 kB / 395.1 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1509, allocations: 3.984 kB / 395.1 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1509, allocations: 4 kB / 395.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1509, allocations: 0 / 395.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1509, allocations: 0 / 395.1 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.1512, allocations: 148.9 kB / 395.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.742e-05/0.1513, allocations: 92.86 kB / 395.4 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1514, allocations: 3.938 kB / 395.4 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.409e-05/0.1514, allocations: 7.984 kB / 395.4 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.1515, allocations: 19.92 kB / 395.4 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1515, allocations: 0 / 395.4 MB, free: 432 kB / 286.1 MB Notification: Performance of sorting global known variables: time 9.632e-05/0.1516, allocations: 116.1 kB / 395.5 MB, free: 316 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1516, allocations: 0 / 395.5 MB, free: 316 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.1518, allocations: 16 kB / 395.5 MB, free: 300 kB / 286.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.0001301/0.152, allocations: 111.2 kB / 395.6 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.1522, allocations: 67.91 kB / 395.7 MB, free: 108 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1523, allocations: 96 / 395.7 MB, free: 108 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1524, allocations: 47.84 kB / 395.8 MB, free: 60 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001725/0.1526, allocations: 8 kB / 395.8 MB, free: 52 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006803/0.1532, allocations: 271.6 kB / 396 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.1536, allocations: 0.7082 MB / 396.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.1537, allocations: 15.44 kB / 396.8 MB, free: 15 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1537, allocations: 0 / 396.8 MB, free: 15 MB / 302.1 MB Notification: Performance of Templates: time 0.003429/0.1571, allocations: 1.387 MB / 398.1 MB, free: 13.61 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