Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.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_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009885, 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.001065/0.001065, allocations: 194.4 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.706/1.706, allocations: 205.1 MB / 222.6 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05479/0.05479, allocations: 10.76 MB / 280.7 MB, free: 10.97 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.001385, allocations: 60.47 kB / 340.5 MB, free: 23.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1065, allocations: 49.02 MB / 389.5 MB, free: 6.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge): time 0.003976/0.1105, allocations: 2.045 MB / 391.6 MB, free: 4.691 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1128, allocations: 1.174 MB / 392.7 MB, free: 3.508 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.113, allocations: 7.938 kB / 392.8 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008094/0.1139, allocations: 271.4 kB / 393 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005146/0.1144, allocations: 187.5 kB / 393.2 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008091/0.1152, allocations: 259.5 kB / 393.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.1157, allocations: 351.1 kB / 393.8 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.1159, allocations: 48.39 kB / 393.8 MB, free: 2.406 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.1162, allocations: 131.4 kB / 394 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1164, allocations: 139.4 kB / 394.1 MB, free: 2.141 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.1165, allocations: 12 kB / 394.1 MB, free: 2.129 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.1168, allocations: 95.92 kB / 394.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.1169, allocations: 75.69 kB / 394.3 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.1171, allocations: 115.3 kB / 394.4 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.1175, allocations: 275.7 kB / 394.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1175, allocations: 0 / 394.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1175, allocations: 0 / 394.7 MB, free: 1.578 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1175, allocations: 0 / 394.7 MB, free: 1.578 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.00114/0.1186, allocations: 0.6652 MB / 395.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1187, allocations: 12.03 kB / 395.4 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1188, allocations: 32.56 kB / 395.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.1193, allocations: 336.1 kB / 395.7 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.1193, allocations: 12.12 kB / 395.7 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.1193, allocations: 12 kB / 395.7 MB, free: 428 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.1197, allocations: 152.1 kB / 395.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1197, allocations: 0 / 395.9 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.1197, allocations: 7.984 kB / 395.9 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1197, allocations: 0 / 395.9 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.12, allocations: 71.91 kB / 396 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.1207, allocations: 496.2 kB / 396.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004329/0.1212, allocations: 150.6 kB / 396.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.1213, allocations: 56.92 kB / 396.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1214, allocations: 4 kB / 396.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002882/0.1217, allocations: 138 kB / 396.8 MB, free: 15.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.834e-06/0.1217, allocations: 4 kB / 396.8 MB, free: 15.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006767/0.1224, allocations: 285.1 kB / 397.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.1224, allocations: 110.8 kB / 397.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.123, allocations: 412.5 kB / 397.6 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.123, allocations: 33.7 kB / 397.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.1231, allocations: 164.4 kB / 397.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.1232, allocations: 43.45 kB / 397.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.441e-05/0.1233, allocations: 53.7 kB / 397.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1234, allocations: 346.7 kB / 398.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1236, allocations: 48.2 kB / 398.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.1238, allocations: 148.5 kB / 398.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.1242, allocations: 188.4 kB / 398.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.1242, allocations: 0 / 398.6 MB, free: 13.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004638/0.1246, allocations: 237 kB / 398.8 MB, free: 13.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1247, allocations: 4 kB / 398.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1247, allocations: 4 kB / 398.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1247, allocations: 11.92 kB / 398.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1248, allocations: 27.92 kB / 398.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1249, allocations: 4 kB / 398.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.125, allocations: 19.84 kB / 398.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.125, allocations: 12.25 kB / 398.9 MB, free: 13.02 MB / 302.1 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = true ) type: Boolean timer.Q:DISCRETE(flow=false fixed = true ) "status of the timer" 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: 23 ($PRE.timer.Sd,timer.Sd,timer.run,$PRE.timer.run,timer.startTime,$PRE.timer.startTime,$PRE.timer.Q,timer.Q,$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,SetSignal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0002507/0.1253, allocations: 196.2 kB / 399.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.1253, allocations: 27.62 kB / 399.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.071e-05/0.1254, allocations: 31.28 kB / 399.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1254, allocations: 7.984 kB / 399.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1254, allocations: 0 / 399.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1255, allocations: 4 kB / 399.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.1258, allocations: 301.3 kB / 399.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.1258, allocations: 3.984 kB / 399.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.1258, allocations: 12 kB / 399.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1258, allocations: 128 / 399.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1259, allocations: 8 kB / 399.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1259, allocations: 3.938 kB / 399.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1259, allocations: 0 / 399.5 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004636/0.1263, allocations: 267.3 kB / 399.7 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.1264, allocations: 108.8 kB / 399.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.1265, allocations: 8 kB / 399.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.1266, allocations: 7.984 kB / 399.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.285e-05/0.1266, allocations: 19.92 kB / 399.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.1267, allocations: 7.984 kB / 399.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003338/0.127, allocations: 303 kB / 400.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.127, allocations: 0 / 400.2 MB, free: 11.63 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003533/0.1274, allocations: 71.83 kB / 400.3 MB, free: 11.56 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,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 (17): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00102/0.1284, allocations: 456 kB / 400.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003818/0.1288, allocations: 155.8 kB / 400.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.1288, allocations: 0 / 400.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.129, allocations: 76.41 kB / 400.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004539/0.1294, allocations: 77.31 kB / 401 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009157/0.1304, allocations: 0.5818 MB / 401.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.1308, allocations: 0.7755 MB / 402.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.915e-05/0.1309, allocations: 31.38 kB / 402.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1309, allocations: 0 / 402.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of Templates: time 0.00839/0.1393, allocations: 4.505 MB / 406.9 MB, free: 4.965 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge.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_OffDelay_FedgeCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_FedgeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_FedgeCalcHelperMain.o] Error 1