Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.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_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009421/0.000942, allocations: 102.7 kB / 15.71 MB, free: 460 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.001188/0.001188, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.934/1.934, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05673/0.05674, allocations: 10.76 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.0005637/0.0005639, allocations: 19.98 kB / 342.3 MB, free: 23.85 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1226, allocations: 50 MB / 392.3 MB, free: 5.773 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge): time 0.002529/0.1252, allocations: 1.649 MB / 393.9 MB, free: 4.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001834/0.127, allocations: 1.105 MB / 395 MB, free: 3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.1271, allocations: 7.938 kB / 395 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008557/0.128, allocations: 275.4 kB / 395.3 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003945/0.1284, allocations: 175.5 kB / 395.5 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006506/0.1291, allocations: 247.5 kB / 395.7 MB, free: 2.309 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.1295, allocations: 319.1 kB / 396 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.1296, allocations: 44.38 kB / 396.1 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.1298, allocations: 127.4 kB / 396.2 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.13, allocations: 135.5 kB / 396.3 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.1301, allocations: 8 kB / 396.3 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.1303, allocations: 83.88 kB / 396.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1304, allocations: 79.72 kB / 396.5 MB, free: 1.527 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.317e-05/0.1305, allocations: 65.58 kB / 396.6 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003531/0.1308, allocations: 275.7 kB / 396.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.1309, allocations: 4 kB / 396.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.037e-06/0.1309, allocations: 0 / 396.8 MB, free: 1.184 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1309, allocations: 3.938 kB / 396.8 MB, free: 1.18 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.001073/0.132, allocations: 0.6262 MB / 397.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.132, allocations: 8.031 kB / 397.5 MB, free: 496 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.219e-05/0.1321, allocations: 35.53 kB / 397.5 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.1326, allocations: 327.1 kB / 397.8 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.1326, allocations: 8.188 kB / 397.8 MB, free: 88 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1327, allocations: 12 kB / 397.8 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.133, allocations: 149.3 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1331, allocations: 0 / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1331, allocations: 11.94 kB / 398 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1331, allocations: 0 / 398 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.1333, allocations: 68.34 kB / 398.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.1341, allocations: 0.4928 MB / 398.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.1346, allocations: 146.8 kB / 398.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.1347, allocations: 60.83 kB / 398.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.1347, allocations: 4 kB / 398.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003198/0.1351, allocations: 134.3 kB / 398.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.1351, allocations: 4 kB / 398.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.000655/0.1358, allocations: 281.1 kB / 399.2 MB, free: 14.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.915e-05/0.1359, allocations: 110.8 kB / 399.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.1365, allocations: 441.6 kB / 399.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/0.1365, allocations: 33.7 kB / 399.7 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/0.1368, allocations: 172.3 kB / 399.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.1368, allocations: 47.45 kB / 400 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.1369, allocations: 0 / 400 MB, free: 13.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002787/0.1371, allocations: 350.8 kB / 400.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1373, allocations: 48.2 kB / 400.4 MB, free: 13.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1375, allocations: 156.4 kB / 400.5 MB, free: 13.22 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.1376, allocations: 56 kB / 400.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1376, allocations: 0 / 400.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003783/0.138, allocations: 225 kB / 400.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.138, allocations: 8 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1381, allocations: 0 / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.1381, allocations: 4 kB / 400.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1382, allocations: 40.16 kB / 400.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1382, allocations: 8 kB / 400.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.1384, allocations: 27.88 kB / 400.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1384, allocations: 11.94 kB / 400.9 MB, free: 12.84 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,$PRE.timer.run,timer.run,$PRE.timer.startTime,timer.startTime,$PRE.timer.Q,timer.Q,$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,SetSignal.y,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 (27): * Single equations (assignments): 27 * 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.0002408/0.1387, allocations: 188.4 kB / 401.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.1387, allocations: 35.62 kB / 401.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.1388, allocations: 35.27 kB / 401.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.1388, allocations: 0 / 401.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.1388, allocations: 4 kB / 401.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1389, allocations: 0 / 401.1 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.1392, allocations: 305.4 kB / 401.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1392, allocations: 0 / 401.4 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.437e-05/0.1393, allocations: 8 kB / 401.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1393, allocations: 0 / 401.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.1393, allocations: 7.984 kB / 401.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1393, allocations: 3.938 kB / 401.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1393, allocations: 4 kB / 401.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.1398, allocations: 267.2 kB / 401.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.577e-05/0.1399, allocations: 116.6 kB / 401.8 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.1399, allocations: 8 kB / 401.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.984e-05/0.14, allocations: 11.98 kB / 401.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.239e-05/0.1401, allocations: 11.98 kB / 401.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/0.1401, allocations: 12 kB / 401.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003618/0.1405, allocations: 323.1 kB / 402.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1405, allocations: 0 / 402.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003392/0.1408, allocations: 67.94 kB / 402.3 MB, free: 11.36 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 (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.001049/0.1419, allocations: 431.5 kB / 402.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003371/0.1422, allocations: 159.8 kB / 402.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.1423, allocations: 0 / 402.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.1424, allocations: 75.92 kB / 402.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.1429, allocations: 81.44 kB / 403 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009008/0.1438, allocations: 0.5758 MB / 403.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.1442, allocations: 0.7832 MB / 404.3 MB, free: 9.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.1443, allocations: 27.44 kB / 404.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1443, allocations: 0 / 404.4 MB, free: 9.289 MB / 302.1 MB Notification: Performance of Templates: time 0.007918/0.1523, allocations: 4.537 MB / 408.9 MB, free: 4.746 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge.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_OffDelay_RedgeCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_RedgeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_RedgeCalcHelperMain.o] Error 1