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.00129/0.001291, allocations: 99.98 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.00227/0.00227, allocations: 180.7 kB / 16.58 MB, free: 6.422 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.884/1.884, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05684/0.05684, allocations: 10.75 MB / 281.8 MB, free: 10.55 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.0005461/0.0005463, allocations: 12 kB / 342.3 MB, free: 23.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 50.01 MB / 392.3 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Logic.Examples.TestRelay): time 0.001895/0.1386, allocations: 1.246 MB / 393.5 MB, free: 4.504 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008781/0.1395, allocations: 0.5156 MB / 394 MB, free: 3.98 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.1396, allocations: 11.88 kB / 394 MB, free: 3.969 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.052e-05/0.1397, allocations: 7.938 kB / 394.1 MB, free: 3.961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.1398, allocations: 11.88 kB / 394.1 MB, free: 3.949 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.14, allocations: 47.92 kB / 394.1 MB, free: 3.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001775/0.1402, allocations: 91.69 kB / 394.2 MB, free: 3.812 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.1403, allocations: 17.05 kB / 394.2 MB, free: 3.797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1405, allocations: 47.8 kB / 394.3 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.818e-05/0.1406, allocations: 35.77 kB / 394.3 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.1406, allocations: 4 kB / 394.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.84e-05/0.1407, allocations: 0 / 394.3 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.1407, allocations: 15.92 kB / 394.3 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.691e-05/0.1407, allocations: 37.7 kB / 394.4 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.959e-05/0.1409, allocations: 56.11 kB / 394.4 MB, free: 3.598 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1409, allocations: 3.938 kB / 394.4 MB, free: 3.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1409, allocations: 0 / 394.4 MB, free: 3.594 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1409, allocations: 0 / 394.4 MB, free: 3.594 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.0007078/0.1416, allocations: 487.4 kB / 394.9 MB, free: 3.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1417, allocations: 8.031 kB / 394.9 MB, free: 3.047 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.1417, allocations: 15.86 kB / 394.9 MB, free: 3.031 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.142, allocations: 219.4 kB / 395.1 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.1421, allocations: 63.41 kB / 395.2 MB, free: 2.703 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1421, allocations: 7.984 kB / 395.2 MB, free: 2.695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.1424, allocations: 77.64 kB / 395.3 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1424, allocations: 3.938 kB / 395.3 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.1424, allocations: 7.984 kB / 395.3 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.1424, allocations: 3.953 kB / 395.3 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1426, allocations: 47.84 kB / 395.3 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005825/0.1432, allocations: 316.7 kB / 395.6 MB, free: 2.191 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1434, allocations: 70.48 kB / 395.7 MB, free: 2.113 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.69e-05/0.1435, allocations: 24.94 kB / 395.7 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.1435, allocations: 7.953 kB / 395.7 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003149/0.1439, allocations: 107.3 kB / 395.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.1439, allocations: 0 / 395.9 MB, free: 1.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004716/0.1444, allocations: 149.4 kB / 396 MB, free: 1.809 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/0.1444, allocations: 59.39 kB / 396.1 MB, free: 1.738 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.1446, allocations: 150.1 kB / 396.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.1446, allocations: 33.69 kB / 396.2 MB, free: 1.543 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.1447, allocations: 100.1 kB / 396.3 MB, free: 1.441 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1448, allocations: 31.58 kB / 396.4 MB, free: 1.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.276e-06/0.1448, allocations: 4 kB / 396.4 MB, free: 1.406 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1449, allocations: 318.8 kB / 396.7 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.145, allocations: 31.98 kB / 396.7 MB, free: 1.055 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.668e-05/0.1451, allocations: 61.14 kB / 396.8 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.592e-05/0.1452, allocations: 31.98 kB / 396.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1452, allocations: 0 / 396.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002308/0.1455, allocations: 137.4 kB / 396.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1455, allocations: 8 kB / 396.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.1455, allocations: 4.156 kB / 396.9 MB, free: 0.793 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1455, allocations: 4 kB / 397 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.1456, allocations: 15.94 kB / 397 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.1456, allocations: 7.984 kB / 397 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.1457, allocations: 4.375 kB / 397 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.1457, allocations: 4 kB / 397 MB, free: 0.7578 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,$PRE.Rhyst_DIGITAL.state,Rhyst_DIGITAL.state,$PRE.Rhyst_DIGITAL.y,Rhyst_DIGITAL.y,$whenCondition2,$whenCondition1,$whenCondition3,$PRE.Rhyst.state,Rhyst.state) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.1459, allocations: 133.7 kB / 397.1 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.1459, allocations: 15.88 kB / 397.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.89e-05/0.146, allocations: 20.64 kB / 397.1 MB, free: 0.582 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.146, allocations: 4 kB / 397.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.146, allocations: 0 / 397.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.146, allocations: 0 / 397.2 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.1462, allocations: 201.8 kB / 397.3 MB, free: 340 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1462, allocations: 3.984 kB / 397.4 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.1463, allocations: 8 kB / 397.4 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1463, allocations: 0 / 397.4 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.1463, allocations: 11.94 kB / 397.4 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1463, allocations: 0 / 397.4 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1463, allocations: 0 / 397.4 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002818/0.1466, allocations: 136.9 kB / 397.5 MB, free: 160 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.1467, allocations: 92.86 kB / 397.6 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.1468, allocations: 11.98 kB / 397.6 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.1468, allocations: 11.95 kB / 397.6 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.111e-05/0.1469, allocations: 15.97 kB / 397.6 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.1469, allocations: 4 kB / 397.6 MB, free: 4 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.147, allocations: 108.1 kB / 397.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.147, allocations: 0 / 397.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002095/0.1473, allocations: 20 kB / 397.8 MB, free: 15.88 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 (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.0001344/0.1474, allocations: 103.3 kB / 397.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.1476, allocations: 83.89 kB / 397.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1477, allocations: 0 / 397.9 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1478, allocations: 39.92 kB / 398 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.148, allocations: 12.33 kB / 398 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.1486, allocations: 283.5 kB / 398.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.1492, allocations: 0.7043 MB / 399 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/0.1492, allocations: 19.44 kB / 399 MB, free: 14.57 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1493, allocations: 0 / 399 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Templates: time 0.003392/0.1526, allocations: 1.378 MB / 400.4 MB, free: 13.2 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++ 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.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