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.0009902/0.0009901, allocations: 91.92 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.00177/0.00177, allocations: 183.4 kB / 16.92 MB, free: 6.926 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.971/1.971, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05606/0.05606, allocations: 10.75 MB / 282.1 MB, free: 10.46 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.0006193/0.0006192, allocations: 19.98 kB / 342.9 MB, free: 23.49 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1457, allocations: 50 MB / 392.9 MB, free: 5.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_On): time 0.003489/0.1493, allocations: 1.695 MB / 394.6 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.1517, allocations: 1.143 MB / 395.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.1519, allocations: 3.938 kB / 395.7 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00093/0.1528, allocations: 263.5 kB / 396 MB, free: 2.305 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.1532, allocations: 179.5 kB / 396.2 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008573/0.1541, allocations: 259.6 kB / 396.4 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004991/0.1546, allocations: 339.1 kB / 396.8 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002118/0.1548, allocations: 52.36 kB / 396.8 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.155, allocations: 115.4 kB / 396.9 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001836/0.1552, allocations: 127.4 kB / 397 MB, free: 1.254 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1553, allocations: 12 kB / 397.1 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1555, allocations: 87.94 kB / 397.1 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1556, allocations: 63.69 kB / 397.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.1558, allocations: 133 kB / 397.3 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.1561, allocations: 259.6 kB / 397.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1562, allocations: 0 / 397.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1562, allocations: 0 / 397.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.1562, allocations: 0 / 397.6 MB, free: 0.7031 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.001296/0.1575, allocations: 0.6065 MB / 398.2 MB, free: 40 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1575, allocations: 12.03 kB / 398.2 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.807e-05/0.1576, allocations: 28.56 kB / 398.2 MB, free: 0 / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.1582, allocations: 316.3 kB / 398.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.075e-05/0.1582, allocations: 16.06 kB / 398.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1582, allocations: 12 kB / 398.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.1586, allocations: 144.2 kB / 398.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.1586, allocations: 4 kB / 398.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.1586, allocations: 4 kB / 398.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.1587, allocations: 4 kB / 398.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001891/0.1589, allocations: 71.89 kB / 398.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008217/0.1597, allocations: 484.1 kB / 399.3 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/0.1601, allocations: 138.7 kB / 399.4 MB, free: 14.72 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.1603, allocations: 52.83 kB / 399.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.1603, allocations: 4 kB / 399.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/0.1606, allocations: 131.3 kB / 399.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.1606, allocations: 0 / 399.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006645/0.1613, allocations: 272.1 kB / 399.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.1614, allocations: 106.7 kB / 400 MB, free: 14.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.1619, allocations: 384.5 kB / 400.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.162, allocations: 29.7 kB / 400.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1621, allocations: 160.4 kB / 400.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.1622, allocations: 51.38 kB / 400.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.1623, allocations: 29.7 kB / 400.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002447/0.1625, allocations: 346.7 kB / 400.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1627, allocations: 43.98 kB / 401 MB, free: 13.06 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.1629, allocations: 152.5 kB / 401.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.1633, allocations: 188.4 kB / 401.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.1633, allocations: 0 / 401.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004244/0.1637, allocations: 221.1 kB / 401.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.1638, allocations: 8 kB / 401.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.1638, allocations: 4 kB / 401.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.127e-05/0.1639, allocations: 0 / 401.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.164, allocations: 31.92 kB / 401.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.164, allocations: 8.188 kB / 401.6 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.1642, allocations: 31.83 kB / 401.6 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1642, allocations: 11.98 kB / 401.6 MB, free: 12.34 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,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.run,timer.run,$PRE.timer.tr,timer.tr,$PRE.ResetSignal.combiTimeTable.nextTimeEvent,$whenCondition3,$PRE.SetSignal.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,ResetSignal.combiTimeTable.nextTimeEventScaled,$PRE.ResetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.y,SetSignal.combiTimeTable.nextTimeEventScaled,$PRE.SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEvent,timer.Sd) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.1645, allocations: 172 kB / 401.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.1645, allocations: 31.62 kB / 401.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.1646, allocations: 35.06 kB / 401.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1646, allocations: 4 kB / 401.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1646, allocations: 128 / 401.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1646, allocations: 3.984 kB / 401.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.165, allocations: 305.3 kB / 402.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.165, allocations: 0 / 402.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.355e-05/0.165, allocations: 4 kB / 402.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.165, allocations: 4 kB / 402.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1651, allocations: 4 kB / 402.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1651, allocations: 0 / 402.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.1651, allocations: 4 kB / 402.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.1655, allocations: 248.6 kB / 402.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.1656, allocations: 112.7 kB / 402.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.1657, allocations: 8 kB / 402.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.898e-05/0.1658, allocations: 7.984 kB / 402.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.1659, allocations: 15.98 kB / 402.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.321e-05/0.1659, allocations: 7.984 kB / 402.6 MB, free: 11.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003303/0.1662, allocations: 283 kB / 402.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1662, allocations: 4 kB / 402.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003315/0.1666, allocations: 63.92 kB / 402.9 MB, free: 10.95 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 (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.001188/0.1678, allocations: 446.5 kB / 403.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003758/0.1682, allocations: 148.2 kB / 403.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1682, allocations: 0 / 403.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.1684, allocations: 79.91 kB / 403.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.1688, allocations: 64.98 kB / 403.6 MB, free: 10.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/0.1697, allocations: 0.5481 MB / 404.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.1704, allocations: 0.7716 MB / 404.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.1705, allocations: 27.44 kB / 405 MB, free: 8.918 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1705, allocations: 4 kB / 405 MB, free: 8.914 MB / 302.1 MB Notification: Performance of Templates: time 0.0077/0.1782, allocations: 4.274 MB / 409.3 MB, free: 4.633 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++ -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.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