Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001057, allocations: 99.12 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.001265/0.001265, allocations: 179.9 kB / 16.58 MB, free: 6.879 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.993/1.993, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05666/0.05666, 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.0005424/0.0005424, allocations: 16 kB / 342.3 MB, free: 23.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1208, allocations: 50.01 MB / 392.3 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.002318/0.1232, allocations: 1.649 MB / 393.9 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.125, allocations: 1.097 MB / 395 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.1251, allocations: 4 kB / 395 MB, free: 3.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009782/0.1261, allocations: 251.4 kB / 395.3 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005215/0.1267, allocations: 167.5 kB / 395.4 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009647/0.1277, allocations: 239.5 kB / 395.7 MB, free: 2.359 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005496/0.1282, allocations: 307.1 kB / 396 MB, free: 2.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1284, allocations: 40.39 kB / 396 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1287, allocations: 119.5 kB / 396.1 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1289, allocations: 127.4 kB / 396.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.628e-05/0.1289, allocations: 8 kB / 396.3 MB, free: 1.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.1292, allocations: 79.95 kB / 396.3 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1294, allocations: 63.73 kB / 396.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.229e-05/0.1295, allocations: 65.58 kB / 396.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.1299, allocations: 259.6 kB / 396.7 MB, free: 1.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1299, allocations: 4 kB / 396.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1299, allocations: 0 / 396.7 MB, free: 1.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.13, allocations: 4 kB / 396.7 MB, free: 1.297 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001288/0.1313, allocations: 0.599 MB / 397.3 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.564e-05/0.1313, allocations: 8.031 kB / 397.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.405e-05/0.1314, allocations: 31.62 kB / 397.4 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.132, allocations: 307.2 kB / 397.7 MB, free: 268 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.132, allocations: 4.188 kB / 397.7 MB, free: 264 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.1321, allocations: 15.98 kB / 397.7 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.1326, allocations: 149.3 kB / 397.8 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1326, allocations: 0 / 397.8 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.1326, allocations: 7.938 kB / 397.8 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1326, allocations: 4 kB / 397.8 MB, free: 72 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002519/0.1329, allocations: 68.34 kB / 397.9 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.1339, allocations: 488.7 kB / 398.4 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.1344, allocations: 138.7 kB / 398.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.1346, allocations: 56.83 kB / 398.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.1346, allocations: 7.938 kB / 398.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003612/0.135, allocations: 131.3 kB / 398.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 2.274e-06/0.135, allocations: 0 / 398.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008051/0.1358, allocations: 268 kB / 399 MB, free: 14.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/0.1359, allocations: 114.8 kB / 399.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006286/0.1366, allocations: 372.5 kB / 399.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.341e-05/0.1366, allocations: 37.69 kB / 399.5 MB, free: 14.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1368, allocations: 160.4 kB / 399.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.1369, allocations: 39.45 kB / 399.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.327e-05/0.1369, allocations: 8 kB / 399.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.1371, allocations: 342.8 kB / 400 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1373, allocations: 47.91 kB / 400.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.1376, allocations: 148.5 kB / 400.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.1378, allocations: 63.92 kB / 400.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1378, allocations: 0 / 400.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005691/0.1384, allocations: 225.1 kB / 400.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.1384, allocations: 8 kB / 400.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1384, allocations: 0 / 400.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.1385, allocations: 4 kB / 400.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.1387, allocations: 31.92 kB / 400.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.1387, allocations: 4.125 kB / 400.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.1389, allocations: 31.83 kB / 400.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.1389, allocations: 8.188 kB / 400.6 MB, free: 13.14 MB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Q:DISCRETE(flow=false fixed = true ) "status of the timer" type: Boolean timer.run:DISCRETE(fixed = true ) "Flag: true while the timer is counting" type: Boolean timer.tr:DISCRETE(flow=false fixed = true ) "residual time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.timer.Sd,$PRE.timer.startTime,timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.run,timer.run,$PRE.timer.tr,timer.tr,$whenCondition3,$PRE.ResetSignal.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.SetSignal.combiTimeTable.nextTimeEvent,$whenCondition1,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,$PRE.ResetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled,timer.Sd,SetSignal.combiTimeTable.nextTimeEvent,$PRE.SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002997/0.1392, allocations: 180 kB / 400.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.1393, allocations: 27.62 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.476e-05/0.1394, allocations: 31.08 kB / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1394, allocations: 4 kB / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.1394, allocations: 0 / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1395, allocations: 0 / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.1399, allocations: 301.3 kB / 401.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1399, allocations: 0 / 401.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.14, allocations: 8 kB / 401.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.14, allocations: 0 / 401.1 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.14, allocations: 7.984 kB / 401.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.14, allocations: 0 / 401.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.14, allocations: 0 / 401.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005871/0.1406, allocations: 256.5 kB / 401.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1408, allocations: 112.7 kB / 401.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.1408, allocations: 4 kB / 401.5 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.141, allocations: 11.98 kB / 401.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.141, allocations: 11.98 kB / 401.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.1411, allocations: 8 kB / 401.5 MB, free: 12.1 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004229/0.1415, allocations: 275 kB / 401.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1415, allocations: 4 kB / 401.8 MB, free: 11.83 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005128/0.1421, allocations: 59.94 kB / 401.9 MB, free: 11.77 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.startTime,ResetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001423/0.1435, allocations: 453.5 kB / 402.3 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004868/0.144, allocations: 147.4 kB / 402.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.144, allocations: 0 / 402.4 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1442, allocations: 76.22 kB / 402.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.1448, allocations: 69.16 kB / 402.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1459, allocations: 0.5322 MB / 403.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/0.1464, allocations: 0.7638 MB / 403.9 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.575e-05/0.1465, allocations: 27.42 kB / 403.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1466, allocations: 0 / 403.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of Templates: time 0.01027/0.1568, allocations: 4.275 MB / 408.2 MB, free: 5.473 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On.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.Logical.Timers.Examples.testT_OnCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OnCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OnCalcHelperMain.o] Error 1